I’m creating a program where I need to search an FTP server and download all files which match a given regex. How do I do this? I can connect to the FTP server, but how do I scan all files in the given path for files matching the regex?
I also need to do the same for HTTP servers which I think will be fundamentally more difficult, but I’ll stick to doing the FTP server for now.
Thanks
You can use this to get a list
and then maipulate GetFileList Array using regex as per your need