Last Updated: May 10, 2022
Use this function to download file from FTP server and upload to Jiffy File Server.
Download file from FTP (host, protocol, port, username, password, remote_file_path)
| Input Parameter Name | Description |
|---|---|
| host | FTP server host name |
| protocol | FTP protocol, Supported values are: “FTP” and “SFTP” |
| port | Port number of the FTP server |
| username | Username for the FTP server connection |
| password | Password for the FTP server connection |
| remote_file_path | Target FTP file path |
| Return value | Description |
|---|---|
| FID | FID of the downloaded file |
Download file from FTP (10.151.1.xxx, sftp, 22, user1, xxxx, /jiffyapp-usr/AllFunctions/download/Invoice.pdf)
To view all the general functions, click here.