I have a windows service that connects to a FTP server and lists a directory with details. Based on the creation date of the files I am going to download them(I already have the code for the download). I have the function that returns a string[]
in the following format:
09-30-14 01:52PM 9392 test.xlsx
From what I understood, they could be displayed in a different format like the one posted here: Parsing FtpWebRequest ListDirectoryDetails line which is something like that:
-rw-r--r-- 1 ftp ftp 659450 Jun 15 05:07 TEST.TXT
The first thing is, how do I deal with different formats?
And the second is, how can I select only files created after a specific time (for example after 09-30-14 01:50PM) ?