I want to get content of all files from ftp with FTPWebRequet in C# Windows Application. But i ma searching for best way to do it.
For example i am looking for a file as
tmpReq = (FtpWebRequest)FtpWebRequest.Create("ftp://" + Settings.Default.IP + "/953077/Inserted/XMLComp" + CryptoHelper.Decrypt(Settings.Default.RegCode) + ".xml");
but how i can do it for multiple files
in loop i can create FtpWebRequest and change the fileName XMLComp95202. But i think it's not the best way to do it with this way