How to apply sort by date when using FTP listdirectory .net 2.0

  • Thread starter Thread starter MS
  • Start date Start date
M

MS

Hi,

I am using ftpwebrequest in .net 2.0 to download files form unix ftp
server. I want to download files in the ascending order of date time stamp.
How can I sort the files based on datetime? I need to download oldest file
first. Is there any way I can get files in that order. Any help will be
appreciated

Thanks
 
Hi,

I am using ftpwebrequest in .net 2.0 to  download files form unix ftp
server. I want to download files in the ascending order of date time stamp.
How can I sort the files based on datetime? I need to download oldest file
first. Is there any way I can get files in that order. Any help will be
appreciated

Thanks

Get the list of the files, sort the list and then download the files :)
 
Back
Top