Hi,
I'm using edtFTP with C# and .NET 3.5. After uploading large files, the connection is lost so that the program will not be terminated:
FTPConnection ftpConnection = new FTPConnection();
...
ftpConnection.Connect();
ftpConnection.UploadFile(System.IO.Path.GetTempPath()+fileName+".zip", fileName+".zip");
ftpConnection.Close();
return;
It seems as if the program hangs in the UploadFile method.
log:
DEBUG [FTPControlSocket] 25 Mrz 2010 10:05:17.111 : ---> STOR 20100325_100440.zip
DEBUG [FTPControlSocket] 25 Mrz 2010 10:05:17.211 : 150 Opening BINARY mode data connection for 20100325_100440.zip
DEBUG [FTPClient] 25 Mrz 2010 10:18:01.752 : Closing source stream
DEBUG [FTPClient] 25 Mrz 2010 10:18:01.850 : Transferred 42034925 bytes to remote host
ERROR [FTPControlSocket] 25 Mrz 2010 10:20:02.388 : Read failed ('' read so far)
Has anybody an idea how to fix this problem?
Best regards,
Lars