c# - Latest file download from FTP -


in ftp location there several files.

like

file0215_27_1.zip

file0315_02_1.zip

file0315_12_1.zip

here wannt file0312_12_1.zip latest one. how latest 1 using ssis? should script task code?

use script task , pick working code starting point. if google "find latest file in directory c#", find several examples, such

https://msdn.microsoft.com/en-us/library/bb546159.aspx.
http://sqlage.blogspot.com/2013/12/ssis-how-to-get-most-recent-file-from.html.

if still need help, please post relevant portion of solution, , or else here you.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -