Samples
Sample code and configurations for this product can be obtained from the corresponding repository on GitHub: https://github.com/Beckhoff/TF6300_Samples. There you have the option to clone the repository or download a ZIP file containing the sample.
The following table also provides an overview of the samples currently available in the documentation:
Tc3_FTP:
TF6300_FTP_Samples | ... | POUs | Description |
---|---|
FB_SimpleUpload | This function block is described in Quick start and contains sample logic for the entire process of uploading a file to an SFTP server with monitoring of the transfer progress and simple error handling. |
FB_SimpleDownload | This function block is basically similar to FB_SimpleUpload, with the difference that a file is downloaded. |
FB_ManualOperation | This function block allows you to manually execute individual FtpClient operations. |
Tc2_FTP:
TF6300_FTP_Samples | Description |
---|---|
FileUpload | Uploading a file to an FTP server |
FileDownload | Downloading a file from an FTP server |
GetConnectionInfo | Reading connection information |
FileRemove | Removing a file from an FTP server |
ReadFileList | Reading a file list on an FTP server |