Archived Forum Post

Index of archived forum posts

Question:

100% uploaded but transfer never finishes

Apr 25 '14 at 12:37

What does it mean if a file gest uploaded, progress goes all the way up to 100% and then times out?

it does not happen with all files. Maybe 1 out of 5 on the same server.

Thanks

ChilkatLog:

AsyncPutFile:

DllDate: Apr 19 2014

ChilkatVersion: 9.5.0.33

UnlockPrefix: IGORMAFTP

Username: *******

Architecture: Little Endian; 32-bit

Language: .NET 4.0

VerboseLogging: 0

uploadFromLocalFile:

localFileSize: 4568120

uploadFromDataSource:

initialGreeting: 220 ProFTPD 1.3.4a Server (submit.fotolia.com) [193.164.220.227]

restartNext: 0

modeZ: 0

binaryMode: 1

setupDataConnection:

passive transfer mode

setupPassiveDataSocket:

sendCommand:

sendingCommand: PASV

--sendCommand

readCommandResponse:

WindowsError: An existing connection was forcibly closed by the remote host.

WindowsErrorCode: 0x2746

numBytesRequested: 2048

Failed to receive data on the TCP socket

recvUntilMatch: Socket fatal error.

Failed to read FTP control channel reply.

readFtpReply: Socket fatal error.

--readCommandResponse

--setupPassiveDataSocket

Failed to setup passive data socket for upload

--setupDataConnection

--uploadFromDataSource

--uploadFromLocalFile

--AsyncPutFile

--ChilkatLog


Answer

Test with the very latest version of Chilkat. Post the LastErrorText for the upload w/ the timeout.

In the past, this happens when the upload has finished (on the data connection) and then when reading the control connection for the final reply, it never arrives.