ftp-file

Imports a file from an ftp site

Imports a file as-is from an ftp site.

Arguments

Inputs:

url: The URL of the file to be imported, e.g. [s]ftp://[username:password@]hostname.com/path/to/file.txt

Output:

file: The imported file.

Constructing the URL

This adaptor uses either the SSH File Transfer Protocol to File Transfer Protocol to import a file, determined by the URL syntax.

  • FTP server When specifying the URL for connection to a FTP server use the syntax ftp:://[username:password@]hostname.com/path/to/file.txt (username and password are optional). If you omit the username:password@ then anonymous will be used for both username and password

  • SFTP server When specifying the URL for connection to a SFTP server use the syntaxsftp:://username:password@hostname.com/path/to/file.txt (username and password are required).

Last updated