Extending FileSet - advanced file filtering- last modification time

0 votes
asked Mar 6, 2014 by emmanuelmorenot (210 points)
edited Mar 9, 2014

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

1 Answer

0 votes
answered Mar 7, 2014 by Tomas Knopp (58,580 points)
edited Mar 9, 2014
 
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.

commented Mar 7, 2014 by emmanuelmorenot (210 points)
edited Mar 9, 2014

yes, thank you very much

...