Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
have a look at Lib CAA File. There are many FB's to handel directories/files.
In your case use DirOpen to get the handle to the root of the USB stick and DirList to read the entries.
Good luck.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
Can we detect the name of a file contained in a USB key without knowing it in advance?
I want to be able to plug in a USB stick and know right away the names of the different files that are there.
Is it possible?
Cordially
have a look at Lib CAA File. There are many FB's to handel directories/files.
In your case use DirOpen to get the handle to the root of the USB stick and DirList to read the entries.
Good luck.
I solved my problem ( I used linux commands via the Sys Process library)