FTP.UPLOAD
Upload a BinaryStream object to a FTP server. (Introduced from Perfion 2023-R1)
Properties
From | Name of the Input Data Source. The input-source can contain either a PBinaryStream object or a .Net Stream object. |
To | Name of the Output Data Source. |
Parameters
@FTP | The FTP connection. The syntax for the FTP connection:
FtpHost is mandatory and to specify FTP protocol use ftp, sftp or ftps as scheme like ftps://test.com. A FtpHost without a scheme is defaulted to ftp:// Lookup from a named Connection defined in Perfion Go to Administration -> Remote Queries and open a query to see available Remote Connection names: |
Example
Below example will upload the specified object “BinaryStream” to the file “/FileName.xls” on the FTP server specified in the Administration → Remote Connections.