Utilization concept
The use of the Tc3_FTP library differs from the older Tc2_FTP library due to its enhanced functionality. The connection to an FTP/SFTP server is based on so-called connection profiles. A connection profile is created once to define the access data and connection properties to the FTP/SFTP server and to reference it later in the program. In addition, special function blocks make it possible, for example, to query the status and progress of an ongoing file transfer.
The entire functionality of the Tc3_FTP library can be divided into the following areas, each of which is represented by its own function block:
Area | Function block | Description |
---|---|---|
Connection | FB_FtpConnection | Contains all functions for establishing a connection with an FTP/SFTP server, as well as for creating a connection profile. |
Explorer | FB_FtpExplorer | Contains all functions for file and directory operations, for example creating or deleting a directory. |
Transfer | FB_FtpTransfer | Contains all functions for uploading or downloading files. |