SFTP download using C#

  • Thread starter Thread starter Sarathi Kamaraj
  • Start date Start date
S

Sarathi Kamaraj

Guest
Hi Guys,

I have a very weird SFTP Server. This belongs to a client of mine. We are in need of downloading the files from it.

The files they post everyday has the same name. To make it even difficult the time-stamp also doesn't change(given below)




The folder hierarchy is also vast (4 primary folder, each folder has A-K serial ranged folder inside which files will be posted)

They will post the files in these folder the file time stamp will also be the same.

That narrows our option of identifying the new file only based on file size difference.

I have been asked to write a piece of code in C# for this, to recursively check the Folder hierarchy and get the files that are varying size with previous day.

I am new to C#. I saw a code in the forum for C# SFTP

Please assist me in writing a code for my requirement.


Thanks,

Sarathi.

Continue reading...
 
Back
Top