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 "local directory" of "option-" session option-"SFTP tag.
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
Format: SZ file1 file2 .....
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 all the shell directory and file operation commands: ls, PWD, CD and so on to change the directory on the remote host. You cannot use file editing tools such as VI.
On the local host: to operate the local directory, add "L" before the preceding command, that is
Ls-lls, PWD-lpwd, CD-LCD
File Transfer
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.