Essential sftp Commands
The following table lists essential sftp commands.
Table 5  Essential sftp Commands
 | 
 | 
 
| 
 sftp
remote-system 
 | 
 | 
 
| 
 sftp
remote-system:file 
 | 
 Copies the named file from
remote-system. 
 | 
 
| 
 bye
 
 | 
 Quits the sftp session. 
 | 
 
| 
 help
 
 | 
 Lists all sftp commands. 
 | 
 
| 
 ls
 
 | 
 Lists the contents of the remote working directory. 
 | 
 
| 
 lls
 
 | 
 Lists the contents of the local working directory. 
 | 
 
| 
 pwd
 
 | 
 Displays the name of the remote working directory. 
 | 
 
| 
 cd 
 | 
 Changes the remote working directory. 
 | 
 
| 
 lcd
 
 | 
 Changes the local working directory. 
 | 
 
| 
 mkdir
 
 | 
 Creates a directory on the remote system. 
 | 
 
| 
 rmdir
 
 | 
 Deletes a directory on the remote system. 
 | 
 
| 
 get
 
 | 
 Copies a file from the remote working directory to the local working directory. 
 | 
 
| 
 put
 
 | 
 Copies a file from the local working directory to the remote working directory. 
 | 
 
| 
 delete
 
 | 
 Deletes a file from the remote working directory. 
 | 
 
  | 
For more information, see the sftp(1) man page.