I'm trying to create a simple application that allows me to list the files on an FTP server but I haven't been able to do it. If anyone has a simple way to do this I would be very grateful.
I'm trying to create a simple application that allows me to list the files on an FTP server but I haven't been able to do it. If anyone has a simple way to do this I would be very grateful.
In the official documentation you can find an example to make a list of files inside an ftp folder, I modified the code a bit since it originally uses ListDirectoryDetails and now with ListDirectory you get a "short" list of the files:
How to: Show directory content with FTP (English)