Topic "Winscpnet File resume not working while downloading with FTPS"

Author Message
kamii47
[View user's profile]

Joined: 2015-09-14
Posts: 4
I were using winscpnet for file downloading. now i needed to support file resume funtionality. For that what i have done is
var options = new TransferOptions();
options.ResumeSupport.State = TransferResumeSupportState.On;

And in my code for downloading I have done

TransferOperationResult transferResult = session.GetFiles(
_appSettings["SFTP_IncomingFileFolder"] + file.Folder + @"/" + file.FileName,
_appSettings["Local_IncomingFileFolder"] + file.Folder + @"\" + file.FileName +".filepart", false, options);
transferResult.Check();

Now to check if file resume work I disconnect while downloading. Problem is that every time I now download it starts from zero instead of the place where it left. Like for 100 mb file if local downloaded length is 30 mb. when i try to reconnect it starts from zero length.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Duplicate post on stackoverflow.com:
http://stackoverflow.com/questions/32560472/winscp-net-file-resume-not-working-while-downloading

See also https://winscp.net/tracker/show_bug.cgi?id=1358
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License