SFTP Command
Xshell provides commands similar to UNIX/Linux FTP for advanced users who are familiar with terminal environments. Descriptions of each command are as follows. For details, enter 'help' command in the SFTP prompt.
Command |
Description |
---|---|
get file1 [file2] [file3] … |
Download files from the remote host. |
put file1 [file2] [file3] … |
Upload files to the remote host. |
mv path1 path2 |
Move/rename a file or directory on the remote host. |
mkdir directory |
Create a designated directory on the remote host. |
rmdir directory |
Delete a designated directory from the remote host. |
rm file |
Delete a designated file from the remote host. |
pwd |
Display the working directory of the remote host. |
lpwd |
Display the working directory of the local host.. |
cd directory |
Change remote host working directory. |
lcd directory |
Change local host working directory. |
ls [directory] |
Display remote host files list. |
lls [directory] |
Display local host files list. |
explore [directory] |
View the current (or designated) directory via Windows Explorer. |
help [command] |
Show instructions for using SFTP commands list or designated commands. |
bye |
End SFTP connection. |