SFTP is a file transfer protocol based on SSH, and it provides more secure and faster file transfer compared with ZMODEM protocol.

To download files with SFTP:
  1. Connect to a host using the sftp command:

    sftp hostname

  2. In the sftp prompt, receive files using the get command:

    sftp:/home.user21> get filename

To upload files with SFTP:
  1. Connect to a host using the sftp command:

    sftp hostname

  2. In the sftp prompt, send files using the put command:

    sftp:/home.user21> put filename