Manage with SSHLinux Serverinteraction between the remote and local files is often required. And the direct use of SECURECRTyour own upload and download function is undoubtedly the most convenient,SecurecRTthe file Transfer Protocol is ASCII, Xmodem, Zmodem.
File Transfer Protocol:
file transfer is the main form of data exchange. In the case of file transfer, in order for the file to be correctly identified and transmitted, we need to establish a unified transport protocol between the two computers. This protocol includes the identification of documents, the starting and ending time of transmission, the judgment and correction of errors, etc. The common transport protocols are as follows:
ASCII: This is the fastest transport protocol, but only text files can be transferred.
Xmodem: This ancient transmission protocol is slow, but due to the use of CRC error detection method, the transmission accuracy rate can be as high as 99.6%.
Ymodem: This is an improved version of Xmodem, using 1024-bit segments to deliver faster than Xmodem
Zmodem:zmodem adopts the stream-flow (streaming) transmission mode, the transmission speed is fast, but also has the function of automatically changing the section size and the breakpoint continuation transmission, the fast error detection and so on. This is currently the most popular file transfer protocol.
In addition to the above several, there are Imodem, Jmodem, Bimodem, Kermit, lynx and other agreements, because there is no majority of manufacturers support, here is omitted to say.
SecureCRT can use the Zmodem protocol under Linux to quickly transfer files, very convenient to use. Specific steps:
A. before uploading a download using SECURECRT, you need to install Lrzsz to the server :
1. Download lrzsz-0.12.20.tar.gz from the address below
Http://down1.chinaunix.net/distfiles/lrzsz-0.12.20.tar.gz
2. Check the install documentation inside for instructions and details on installation parameters.
3. Unzip the file
Tar zxvf lrzsz-0.12.20.tar.gz
4. Enter the catalogue
CD lrzsz-0.12.20
5,./configure--prefix=/usr/local/lrzsz
6. Make
7. Make Install
8. Establish a soft link
#cd/usr/bin
#ln-S/usr/local/lrzsz/bin/lrz RZ
#ln-S/usr/local/lrzsz/bin/lsz sz
9. Testing
Run RZ popup securecrt upload window , use SecureCRT to upload and download files.
two.
Options->session Options->terminal->xmodem/zmodem
Directory settings for uploading and downloading in the right column directory
three. using Zmodem to upload files from a client to a Linux server
1.
 
four. sz FileName
zmodem receive can start on its own. The downloaded file is stored in the default download you set Record
Rz,sz is a command-line tool that Linux/unix Zmodem file transfer with Windows, the Windows side needs to support Zmodem TELNET/SSH client, SECURECRT can log in SecureCRT to unix/ Linux host (telnet or SSH) O Run command RZ, that is, to receive files, SECURECRT will pop up the file selection dialog box, select the file and close the dialog box, the file will be uploaded to the current directory O run the command sz File1 File2 is to send files to Windows (the saved directory can be configured) more convenient than the FTP command, and the server does not have to open the FTP service
One Linux command per day (26): Upload and download files with SECURECRT