FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Friday
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 ?
Friday
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.
Friday
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.