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 theusername:password@
thenanonymous
will be used for both username and passwordSFTP server When specifying the URL for connection to a SFTP server use the syntax
sftp:://username:password@hostname.com/path/to/file.txt
(username and password are required).
Last updated