Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.8k views
in .NET FTP by (160 points)
Im getting an error only when im trying to get several amount of files... i get this error

IOException "Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host."}

coudl anybody please help me?

regards
Juan


this is the stack
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)\r\n
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)\r\n
at System.IO.StreamWriter.Flush()\r\n
at EnterpriseDT.Net.Ftp.FTPControlSocket.WriteCommand(String command)\r\n at EnterpriseDT.Net.Ftp.FTPControlSocket.SendCommand(String command)\r\n at EnterpriseDT.Net.Ftp.FTPControlSocket.CreateDataSocketPASV()\r\n
at EnterpriseDT.Net.Ftp.FTPControlSocket.CreateDataSocket(FTPConnectMode connectMode)\r\n
at EnterpriseDT.Net.Ftp.FTPClient.Dir(String dirname, Boolean full)\r\n
at EnterpriseDT.Net.Ftp.FTPConnection.GetFiles(String directory, Boolean full)\r\n
at EnterpriseDT.Net.Ftp.FTPConnection.GetFiles(String directory)\r\n
at DocumentProcessBatch.Program.Main(String[] args) in C:\\DEV\\593_2\\DocumentProcess\\DocumentProcessBatch\\DocumentProcessBatch\\Program.cs:line 307"

3 Answers

0 votes
by (162k points)
Please post the relevant section of the log file ... it'll help a lot.
0 votes
by (160 points)
how can i get thsi log file? I cant see any.. sorry
0 votes
by (51.6k points)

Categories

...