Working with SFTP files
Task | Command | Remarks |
---|---|---|
Change the name of a file on the SFTP server. | rename old-name new-name | Available in SFTP client view. |
Download a file from the SFTP server and save it locally. | get remote-file [ local-file ] | Available in SFTP client view. |
Upload a local file to the SFTP server. | put local-file [ remote-file ] | Available in SFTP client view. |
Display files under a directory. |
| Available in SFTP client view. The dir command has the same function as the ls command. |
Delete one or more directories from the SFTP server. |
| Available in SFTP client view. The delete command has the same function as the remove command. |