SecureCRT: Use SecureCRT to upload and download data.
Today, I learned that SecureCRT can use the zmodem protocol in linux to quickly transfer files, and it is also very convenient to use. I am also dumb to find other software to sftp, stupid :(
You only need to set the default directory for upload and download.
Options --> session options --> you can set the upload and download directories under file transfer.
For the rest, you only need to log on to the linux terminal using SecureCRT:
Send a file to the client:
Sz filename
Zmodem reception can be started by itself.
Upload files from the client to the linux Server:
As long as the server executes,
Rz
Then select File Sending in SecureCRT, protocol zmodem
It's easy. If you have been using ssh before and haven't opened the ftp service to the outside world, you can directly use this method to transmit your files, which is very convenient :)
How to use commands in SecureCRT shell to upload and download files ()
SecureCRT is easy to set when you remember the password, so this person is used to SecureCRT, but the file upload function has never been figured out. Pshell has been used for a long time, because pshell has a powerful secureftp function. After opening it, You can directly drag the directory or file to this window. SecureCRT is not that convenient.
1. directly use commands in shell
First, it is best to set the directory for transferring files between the local and remote hosts, because the command will not prompt you to select the target directory for downloading files.
Setting method: the local directory is set in the local directory of Option-session option-SFTP label.
After the directory is set, you can use commands to upload and download files.
Upload Command: rz
After rz is entered, SecureCRT opens a file selection dialog box for users to select the file to be uploaded.
Download command: sz
View sz more options with sz-h
The usage is simple, but unfortunately, using these two commands cannot transmit directories, but only files.
2. Use the SFTP function of SecureCRT
Right-click the connected remote host tab and select connect to SFTP to establish a connection to SFTP. This is a connection session using commands that does not provide a graphical interface.
Directory conversion: on the remote host: You can use the directory and file operation commands in all shells: ls, pwd, cd, and so on to change the directory on the remote host, file editing tools such as vi cannot be used
On the local host: to operate the local directory, add "l" before the preceding command, that is
Ls-lls, pwd-lpwd, cd-LCD file transmission Upload file: put file Upload Directory: put-r dir
Download file: get file Download Directory: get-r dir
Note: wildcard characters such as * can be used for file.
If you log on to a remote host through a channel machine, SFTP is not available. For example, if you log on to 60.25.21.148 through 10.10.20.124, the operation is on 60.25.21.148. You cannot directly right-click to establish an SFTP connection. Therefore, you can only use the command above to operate between sz and rz.
How to use commands in SecureCRT shell to upload and download files ()
SecureCRT is easy to set when you remember the password, so this person is used to SecureCRT, but the file upload function has never been figured out. Pshell has been used for a long time, because pshell has a powerful secureftp function. After opening it, You can directly drag the directory or file to this window. SecureCRT is not that convenient. 1. directly use commands in shell. First, it is best to set the directory for transferring files between local and remote hosts, because when downloading files using commands, you will not be prompted to select the target directory for download. Setting method: the local directory is set in the local directory of Option-session option-SFTP label. After the directory is set, you can use the command to upload and download files. Upload Command: After rzrz is entered, SecureCRT will open a file selection dialog box for users to select the file to be uploaded. Download command: sz can use sz-h to view more options of sz. The usage is simple, but unfortunately, using these two commands cannot transmit directories, but only files. 2. Use the SFTP function of SecureCRT to right-click the connected remote host tab and select connect to the SFTP tab to establish a connection to SFTP. This is a connection session using commands that does not provide a graphic interface. Directory conversion: on the remote host: You can use the directory and file operation commands in all shells: ls, pwd, cd, and so on to change the directory on the remote host, you cannot use vi or other file editing tools on the local host: to perform operations on the local directory, add "l" before the preceding command, that is, ls-"lls, pwd-" lpwd, cd-LCD file transmission Upload file: put file Upload Directory: put-r dir download file: get file Download Directory: get-r dir note: here, you can use wildcard characters such as * to log on to a remote host through a channel machine, SFTP is not available. For example, if you log on to 60.25.21.148 through 10.10.20.124, the operation is on 60.25.21.148. You cannot directly right-click to establish an SFTP connection. Therefore, you can only use the command above to operate between sz and rz.