This project is read-only.

how to resume sftp file transfer

Jul 9, 2012 at 12:58 PM
Edited Jul 9, 2012 at 12:58 PM

I am unable to find how to resume file transfor via sftp and SSH.NET library (Renci.SshNet)

Coordinator
Jul 21, 2012 at 1:26 AM

Hi,

 

Do you mean when you downloaded half of the file yesterday and today you want to continue?

 

Well, I didnt build this kind of support into the library but what you can do is to open file using SftpStream and then move stream position to whatever you need and see if it works.

 

I never tried it myself but I tried to build SftpStream class this way so it could support this kind of scenario.

 

Hope it helps and let me know if it works.

 

Thanks,

Oleg