Не удалось загрузить файл из SFTP с помощью Chilkat.Вот частичный журнал, чтобы понять проблему.
ChilkatLog:
DownloadFileByName:
DllDate: Aug 25 2018
ChilkatVersion: 9.5.0.75
UnlockPrefix: ******SSH
Architecture: Little Endian; 64-bit
Language: .NET 4.6 / x64 / VS2015
VerboseLogging: 0
SshVersion: SSH-2.0-WS_FTP-SSH_8.5.0 FIPS
SftpVersion: 3
downloadFileByName:
PreserveDate: 0
fromFilePath: /ready/test.txt
toFilePath: c:\ready\test.txt
OpenRemoteFile:
sftpOpenFile:
remotePath: /ready/test.txt
access: readOnly
createDisposition: openExisting
v3Flags: 0x1
Sent FXP_OPEN
handle: 323130
--sftpOpenFile
--OpenRemoteFile
FetchRemoteFileAttributes:
fetchAttributes:
filename: /ready/test.txt
Using FXP_STAT
Sent message to fetch attributes.
Received SSH_FXP_ATTRS
--fetchAttributes
timeToFetchAttrMs: Elapsed time: 78 millisec
--FetchRemoteFileAttributes
remoteFileSize: 79476391
resumeFlag: 0
numBytesToDownload: 79476391
soRcvBuf: 1048576
soSndBuf: 1048576
cryptAlgorithm: aes
macAlgorithm: SHA-1
compression: no
newDownloadLoop:
Invalid packet length
packetLen: 0xc06c
--newDownloadLoop
Num bytes sent to output was not equal to the expected number.
numBytesExpected: 79476391
numBytesSentToOutput: 2079117
sftpCloseHandle:
handle: 323130
Sent FXP_CLOSE
Invalid packet length
packetLen: 0x30303030
sshReadMessage: Socket fatal error.
Socket connection lost, channel closed.
Failed to read expected SFTP packet.
Failed to receive response to FXP_CLOSE
--sftpCloseHandle
timeToCloseHandleMs: Elapsed time: 32 millisec
Closing local output file...
totalTimeMs: Elapsed time: 2250 millisec
--downloadFileByName
Failed.
--DownloadFileByName
--ChilkatLog
Кто-нибудь уже сталкивался и / или исправил.пожалуйста, помогите мне разобраться.