The following list describes the essential sftp commands.
Establishes an sftp connection to a remote system. For instructions, see How to Open and Close an sftp Connection to a Remote System.
Copies the named file from remote-system.
Quits the sftp session.
Lists all sftp commands.
Lists the contents of the remote working directory.
Lists the contents of the local working directory.
Displays the name of the remote working directory.
Changes the remote working directory.
Changes the local working directory.
Creates a directory on the remote system.
Deletes a directory on the remote system.
Copies a file from the remote working directory to the local working directory.
Copies a file from the local working directory to the remote working directory.
Deletes a file from the remote working directory.
For more information, see the sftp(1) man page.