Search code examples
c#ftpfile-attributes

How to get the modified time attribute of a certain file on FTP


I need to monitor a certain file on FTP, once it had been updated, I need to fetch it from FTP. but how to identify whether it's updated or not is a problem.

Does Anybody have any experience on this?


Solution

  • You need to send a LIST command. You'll need to parse the results manually using regex, since there is no standard format for the return result.