SFTP V2

The SSH File Transfer Protocol (SFTP) is a network protocol that is based on the Secure Shell protocol (SSH). SFTP facilitates secure file access, file transfer, and file management over any reliable data stream. The Version 2 client has additional configuration properties, Key Exchange Algorithms, Machine Access Code (MAC) algorithms, and ciphers that are not available in the Version 1 client.

Note: You must create separate accounts for the SFTP connector in workflows and Flow services. Additionally, the names of the SFTP V1 account and SFTP V2 account must be unique.

Workflow Actions

  • Upload File: Uploads a specific file on the SFTP server.

  • Download File: Downloads a specific file from SFTP server.

  • Append File: Appends a specific local file to an existing file on the SFTP server.

  • Remove Directory: Deletes the specified directory from the SFTP server.

  • Create Directory: Creates a new directory at a specified location on the SFTP server.

  • Get List of Files and Folders: Retrieves list of files and folders from a specified directory on SFTP server.

  • Delete File: Deletes a specific file from SFTP server.

  • Create Symbolic Link: Creates a symbolic link of a specific file.

  • Rename File or Folder: Renames a specific file or folder from the FTP server.

  • Change Ownership: Changes ownership of a specific file or folder.

  • Change File or Folder Permission: Changes permission of a specific file or folder.

  • Change Group Ownership: Changes group permissions of a specific file or folder.

Flow service Actions

  • cd: Changes the working directory on the remote SFTP server.

  • chgrp: Changes the group ownership of one or more remote files.

  • chmod: Changes permission of one or more remote files.

  • chown: Changes the owning user of one or more remote files.

  • get: Retrieves a specific file from a remote SFTP server.

  • ls: Retrieves a list of files along with other associated details such as permissions and ownership information from a specified remote directory. If no remote directory is mentioned, the file listing of the current remote directory will be retrieved.

  • mkdir: Creates a new remote directory.

  • put: Transfers a file to a remote SFTP server.

  • pwd: Displays the remote working directory in the SFTP server.

  • rename: Renames a file or directory on a remote SFTP server.

  • rm: Deletes one or more remote files on the SFTP server.

  • rmdir: Deletes one or more remote directories on the SFTP server.

  • symlink: Creates a symbolic link between the old path and new path of a specific file.

Additional Information

SFTP V2 Details
Preferred Key Exchange Algorithms
  • curve25519-sha256
  • curve25519-sha256@libssh.org
  • diffie-hellman-group18-sha512
  • diffie-hellman-group17-sha512
  • diffie-hellman-group16-sha512
  • diffie-hellman-group15-sha512
  • diffie-hellman-group14-sha256
  • diffie-hellman-group-exchange-sha256
  • rsa2048-sha256, ecdh-sha2-nistp521
  • ecdh-sha2-nistp384
  • ecdh-sha2-nistp256
  • rsa1024-sha1
  • diffie-hellman-group14-sha1
  • diffie-hellman-group-exchange-sha1
  • diffie-hellman-group1-sha1
Preferred Ciphers C2S
  • aes256-gcm@openssh.com
  • aes128-gcm@openssh.com
  • chacha20-poly1305@openssh.com
  • aes256-ctr
  • aes192-ctr
  • aes128-ctr
  • arcfour256
  • aes256-cbc
  • 3des-cbc
  • 3des-ctr
  • aes192-cbc
  • aes128-cbc
  • blowfish-cbc
  • arcfour128
  • arcfour
Preferred Message Authentication Code (MAC) Algorithms C2S
  • hmac-sha2-512-etm@openssh.com
  • hmac-sha2-512-96
  • hmac-sha2-512
  • hmac-sha2-256-etm@openssh.com
  • hmac-sha2-256, hmac-sha2-256-96
  • hmac-sha1-etm@openssh.com
  • hmac-sha1, hmac-sha1-96
  • hmac-md5
  • hmac-md5-etm@openssh.com
  • hmac-md5-96
Preferred Message Authentication Code (MAC) Algorithms S2C
  • hmac-sha2-512-etm@openssh.com
  • hmac-sha2-512-96, hmac-sha2-512
  • hmac-sha2-256-etm@openssh.com
  • hmac-sha2-256
  • hmac-sha2-256-96
  • hmac-sha1-etm@openssh.com
  • hmac-sha1
  • hmac-sha1-96
  • hmac-md5
  • hmac-md5-etm@openssh.com
  • hmac-md5-96
SFTP Advanced Settings
  • Min DH key Size
  • Max DH Key Size
host Hostname of the SFTP server that you are using.
Note: Key Exchange Algorithms such as diffie-hellman-group-exchange-sha1 and diffie-hellman-group-exchange-sha256 consider values set for the Min DH Key Size and Max DH Key Size parameters. All other algorithms ignore these values.