0 votes
by (210 points)
edited

How to filter files using custom criteria? E.g. last modification time?

1 Answer

0 votes
by (58.9k points)
edited
 
Best answer

FileSystemItemCollection (returned by GetList() and GetItems() methods) supports LINQ queries. You can take advantage of this and filter the files based on last modification time as in the SFTP code snippet or FTP/SSL code snippet.

Please let me know if it helped to solve your issue.

by (210 points)
edited

yes, thank you very much

...