Preconfigurations FTP file transfer (ActiveX)

A panel with methods for FTP file transfer (upload/download)
This preconfiguration can be activated when creating a new object (e.g. by "New object" in the local object menu or by pressing the Insert key after selecting the object) and is included in the group: " / Communications / FTP protocol".

This preconfiguration can be used with the objects: PmFolder or PmRoot.

- Preconfiguration creates an object of type PmPanel containing the FTPdownload and FTPsend methods. These have the sDir, sLocalFile, sRemoteFile parameters. The window contains the PmiWEdit graphic items used for entering the folder address containing the desired files on the FTP server, the address and filename of the file on local disc and the name of the target saved file. Additional items are the PmiButton, that provide the FTPdownload or FTPsend methods in the onButtonUp event with the specified values and then the desired files are uploaded/downloaded from/to the FTP server.
- The usage of the ChilkatFTP ActiveX object is presumed. It can be downloaded from the manufacturer's web pages (free version): The manufacturer also offers usage examples at: And the interface documentation has been published at:
- In a window that appears before the object is created, it is necessary to enter the information needed for FTP connection.
- The preconfiguration is created including the panel (PmPanel object) functionality as a WEB panel. In order to make the preconfiguration functional also for the WEB, it is necessary to enable the PmPanel object for the WEB (on the Web Server page).
The technology used is running in a synchronous mode, therefore it is recommended to call the file transfer methods in a real Promotic application from the PmSequencer object.
These configurators can be set before the preconfiguration is created:
The name of created objectName of the object created in the application object tree. This is a system name and must not contain empty string, diacritics, spaces and the first character must not be a number.

Default: "FtpTransfer"

FTP transfer type
0 = sending/download (default) - allows to download and upload files to/from FTP server
1 = only sending - allows only to upload files to FTP server
2 = only download - allows only to download files from FTP server
FTP server adressURL address, for example
UserID on the FTP serverFTP user name
Password on the FTP serverFTP user password
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice