Working with SFTP directories
Task
Change the working directory on
the SFTP server.
Return to the upper-level
directory.
Display the current working
directory on the SFTP server.
Display files under a directory.
Change the name of a directory
on the SFTP server.
Create a new directory on the
SFTP server.
Delete one or more directories
from the SFTP server.
Working with SFTP files
Task
Change the name of a file on the
SFTP server.
Download a file from the remote
server and save it locally.
Upload a local file to the SFTP
server.
Display the files under a directory.
Delete one or more directories
from the SFTP server.
Displaying help information
Task
Display the help information of
SFTP client commands.
Command
cd [ remote-path ]
cdup
pwd
•
dir [ -a | -l ] [ remote-path ]
•
ls [ -a | -l ] [ remote-path ]
rename oldname newname
mkdir remote-path
rmdir remote-path
Command
rename old-name new-name
get remote-file [ local-file ]
put local-file [ remote-file ]
•
dir [ -a | -l ] [ remote-path ]
•
ls [ -a | -l ] [ remote-path ]
•
delete remote-file
•
remove remote-file
Command
•
help
•
?
341
Remarks
Available in SFTP client view.
Available in SFTP client view.
Available in SFTP client view.
Available in SFTP client view.
The dir command has the same
function as the ls command.
Available in SFTP client view.
Available in SFTP client view.
Available in SFTP client view.
Remarks
Available in SFTP client view.
Available in SFTP client view.
Available in SFTP client view.
Available in SFTP client view.
The dir command has the same
function as the ls command.
Available in SFTP client view.
The delete command has the
same function as the remove
command.
Remarks
Available in SFTP client view.