login about faq

I'm running into this problem trying to download a file from what appears to be a medical lab's custom SFTP server.

ChilkatLog:
  DownloadFileByName:
    DllDate: Mar 11 2016
    ChilkatVersion: 9.5.0.56
    UnlockPrefix: MICRO4SSH
    Username: <redacted>
    Architecture: Little Endian; 32-bit
    Language: .NET 4.5
    VerboseLogging: 0
    SshVersion: SSH-2.0-AmeritoxSecureSFTP SFTP Solution
    SftpVersion: 3
    downloadFileByName:
      PreserveDate: 0
      fromFilePath: <redacted>
      toFilePath: <redacted>
      OpenRemoteFile:
        sftpOpenFile:
          remotePath: <redacted>
          access: readOnly
          createDisposition: openExisting
          v3Flags: 0x1
          Sent FXP_OPEN
          handle: 31
        --sftpOpenFile
        timeToOpenMs: Elapsed time: 93 millisec
      --OpenRemoteFile
      FetchRemoteFileAttributes:
        fetchAttributes:
          filename: <redacted>
          Using FXP_STAT
          Sent message to fetch attributes.
          Received SSH_FXP_ATTRS
        --fetchAttributes
        timeToFetchAttrMs: Elapsed time: 94 millisec
      --FetchRemoteFileAttributes
      remoteFileSize: 412523
      resumeFlag: 0
      numBytesToDownload: 412523
      newDownloadLoop:
        socketOptions:
          SO_SNDBUF: 262144
          SO_RCVBUF: 4194304
          TCP_NODELAY: 1
          SO_KEEPALIVE: 0
        --socketOptions
        startingOffset: 0
        numBytesToDownload: 412523
        bReadUntilEnd: 0
        timeToDownloadFileDataMs: Elapsed time: 844 millisec
        NumBytesSentToOutput: 358390
      --newDownloadLoop
      Num bytes sent to output was not equal to the expected number.
      numBytesExpected: 412523
      numBytesSentToOutput: 358390
      sftpCloseHandle:
        handle: 31
        Sent FXP_CLOSE
        StatusResponseFromServer:
          Request: FXP_CLOSE
          InformationReceivedFromServer:
            StatusCode: 0
            StatusMessage: Ok
          --InformationReceivedFromServer
        --StatusResponseFromServer
      --sftpCloseHandle
      timeToCloseHandleMs: Elapsed time: 78 millisec
      Closing local output file...
      totalTimeMs: Elapsed time: 1125 millisec
    --downloadFileByName
    Failed.
  --DownloadFileByName
--ChilkatLog

I can give you the server, login and a test file through a PM for debugging.

asked Apr 21 at 08:34

MicroFour's gravatar image

MicroFour
1

edited Apr 21 at 08:35

It's in the details of the log, but I forgot to explicitly mention that after looking at http://www.chilkatforum.com/questions/8062/chilkat-downloadfilebyname-local-file-size-not-equal-to-the-expected-size, I downloaded the latest version 9.5.0.56 and the error still occurs.

(Apr 21 at 08:36) MicroFour
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×200

Asked: Apr 21 at 08:34

Seen: 362 times

Last updated: Apr 21 at 08:36

powered by OSQA