With SECURTCRT, using the Linux command sz can easily download files on the server to the local, using the RZ command is to upload local files to the server which, for SZ and RZ understanding and memory I used the following method (because many times easy to confuse):
The s in SZ mean Send (send), tell the client, I (server) to send the file send to Cilent, is equivalent to the client in the download.
RZ in R means received (receive), tell the client, I (server) to receive files received by Cilent, is equivalent to the client in the upload.
Note: The SZ and RZ commands require server support, if prompted without a command: can be installed with Yum (CentOS for example): Yum install lrzsz-y
Use the following examples to illustrate the use of SZ and RZ:SZ usage (Run command sz is more convenient than FTP command, and the server does not need to open FTP service): #下载一个文件
SZ filename
#下载多个文件
SZ filename1 filename2
#下载dir目录下的所有文件, does not contain a folder under Dir
SZ dir/* Here I use SECURECRT, specific changes rz upload/sz Download The default path method: Right-click the current session, sessions, Options, Terminal, Xmodem/zmod EM->directories:upload: The path you want to set download: The path you want to set
RZ Usage:After entering RZ enter in the command terminal, the file selection dialog will appear, select the file to be uploaded, specify multiple files at one time, and upload the path to the server as the directory of the currently executing RZ command. Note: Using RZ alone will have two problems: Upload interrupt, upload file changes (MD5 different), the solution is to upload is rz-be, and remove the popup dialog box "Upload files as ASCII" before the check.
-b binary uploads the download in binary mode, does not interpret the character as ASCII
-e forces escape all control characters, such as Ctrl+x,del.
Use securecrt upload, download file command in Linux sz and RZ usage examples