login about faq

When trying to resume a download on a complete local file I get false as a return code. It fails because it expects the local file to be 0 in size after download !?!

Last error message from ChilKat:

ChilkatLog: ResumeDownloadFileByName: DllDate: Aug 15 2013 ChilkatVersion: UnlockPrefix: PATRIKSSH Username: SDCB190:sdcurda Architecture: Little Endian; 32-bit Language: .NET 2.0 VerboseLogging: 0 SshVersion: SSH-2.0-mod_sftp/0.9.7 SftpVersion: 3 PreserveDate: 0 fromFilePath: ./utbox/VO23012625_STYRSYSTEM_OK.hpr toFilePath: C:TempVO23012625_STYRSYSTEM_OK.hpr OpenRemoteFile: filename: ./utbox/VO23012625_STYRSYSTEM_OK.hpr access: readOnly createDisposition: openExisting v3Flags: 0x1 Sent FXP_OPEN handle: 325A616A4D61 timeToOpenMs: Elapsed time: 16 millisec --OpenRemoteFile FetchRemoteFileAttributes: filename: ./utbox/VO23012625_STYRSYSTEM_OK.hpr Using FXP_STAT Sent message to fetch attributes. Received SSH_FXP_ATTRS timeToFetchAttrMs: Elapsed time: 0 millisec --FetchRemoteFileAttributes remoteFileSize: 115471 resumeFlag: 1 startingLocalFileSize: 115471 Local file size is already equal or greater than remote file size closeHandle: handle: 325A616A4D61 Sent FXP_CLOSE StatusResponseFromServer: Request: FXP_CLOSE InformationReceivedFromServer: StatusCode: 0 StatusMessage: OK --InformationReceivedFromServer --StatusResponseFromServer --closeHandle Closing local output file... Verifying local output file size... localFileSizeAfterDownload: 115471 expectedFileSizeAfterDownload: 0 Local file size not equal to the expected size! totalTimeMs: Elapsed time: 16 millisec Failed. --ResumeDownloadFileByName --ChilkatLog


The documentation says: "If the localFilePath is already fully downloaded, then no additional data is downloaded and the method will return true."

It works every time if there is no local file.

Is this a bug, or am I doing something wrong?

Regards, Urban Dahlberg

asked Mar 24 '14 at 06:21

UrbanDahlberg's gravatar image


Thanks. This is fixed. Here are the new builds:

32-bit .NET 2.0/3.5 Framework: http://www.chilkatsoft.com/preRelease/ChilkatDotNet2-9.5.0-win32.zip

64-bit .NET 2.0/3.5 Framework: http://www.chilkatsoft.com/preRelease/ChilkatDotNet2-9.5.0-x64.zip


answered Mar 24 '14 at 13:08

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Mar 24 '14 at 06:21

Seen: 1,268 times

Last updated: Mar 24 '14 at 13:08

powered by OSQA