Working with SFTP directories
Task | Command | Remarks |
---|---|---|
Change the working directory on the SFTP server. | cd [ remote-path ] | Available in SFTP client view. |
Return to the upper-level directory. | cdup | Available in SFTP client view. |
Display the current working directory on the SFTP server. | pwd | 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. |
Change the name of a directory on the SFTP server. | rename oldname newname | Available in SFTP client view. |
Create a new directory on the SFTP server. | mkdir remote-path | Available in SFTP client view. |
Delete one or more directories from the SFTP server. | rmdir remote-path | Available in SFTP client view. |