Search

Download file from FTP

Articles

Use this function to download file from FTP server and upload to Jiffy File Server.

Syntax

Download file from FTP (host, protocol, port, username, password, remote_file_path)

Parameters

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

Returns

Return value Description
FID FID of the downloaded file

Sample

Download file from FTP (10.151.1.xxx, sftp, 22, user1, xxxx, /jiffyapp-usr/AllFunctions/download/Invoice.pdf)

  • Downloads the file from the FTP server for the specified remote file path and uploads it to Jiffy file server.

To view all the general functions, click here.

Did you find what you were looking for?