Archived Forum PostQuestion:
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.