I want to get the latest file with a specific name from ftp and download. I dont want to loop it multiple times as it is not a better approach. I guess we can do it using Regex or LINQ. I tries can anyone help on this.
Files in FTP:
Expected output: for each file (ABC, PQR etc) i want latest file.