FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
09-27-2024 08:56 AM
A customer uses the IL_FTPGetAsync from the CXA_SocketComm library. Works fine.
But he needs now a solution to get before a list of the files on the server.
How to get a list of the files (filenames) of the directory of his ftp server ?
Solved! Go to Solution.
09-27-2024 03:53 PM
I do not know of a great solution within the PLC. One option would be to browse the file structure in another application, like Node-RED, and write the result to a datalayer node which you can reference in the PLC logic.
09-27-2024 04:15 PM
I did a example some years ago, maybe I can find it again, but this needs some time.
The problem for the FTP Listing is, that the listing returns a string.
There are many different string format, which means it is hard to create a general function which works with every existing format. But you can adapt the example to your specific format.
10-02-2024 12:23 PM
10-03-2024 04:24 PM
Thank you @HmiGuide . Customer will check and we will give feedback here.