SECURECRT is a tool for connecting remote servers via SSH.
The basic operation is needless to say, the main explanation and Linux for file transfer.
SFTP command, help description:
Sftp> Help
Available commands:
The CD path changes the remote directory to the path
LCD path Change local directory to "path"
CHGRP group path to change the file "path" to "groups"
chmod mode path Changes the permissions of the file ' path ' to ' mode '
Chown owner Path Changes the owner of the file "path" to "owner"
Exit Exits SFTP
Help displays this helpful text
Get Remote Path Download file
ln existingpath linkpath Symbolic Link remote file
ls [options] [path] Displays a list of remote directories
LLS [Options] [path] Displays a list of local directories
mkdir path to create a remote directory
Lmkdir Path Create local directory
MV OldPath NewPath Mobile remote Files
Open [user @] host [: Port] Connect to remote host
Put local path Upload file
PWD Display Remote working directory
LPWD Print Local working directory
Quit Exit SFTP
RmDir path to remove remote directory
Lrmdir path to remove local directory
RM Path Delete remote file
LRM Path Deletes local file
Symlink existingpath linkpath Symbolic Link remote file
Version shows Protocol versions
As above, the main command for transferring files (download/upload) is get and put.
Related commands:
CD path change remote directory to path
LCD path change local directory to path
ls [options] [path] show remote directory list
lls [options] [path] show local directory list
Put local path upload file get
remote path download file
pwd display remote working directory
lpwd print local working directory
1. Upload command
Put native files
For example:
Sftp> put D:/spring-boot-view.jar
* Where are the uploaded files? The command PWD displays the remote current directory, which is the directory where you uploaded the files.
2. Download command
Get remote file
For example:
Sftp> Get/tmp/spring-boot.log
* Where are the uploaded files? The command LPWD displays the remote current directory, which is the directory where you uploaded the files.