Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
7.6k views
in .NET FTP by
In one scenario, transferring a large number of files results in seemingly random exception being thrown as described above "Unable to read data from the transport connection".

Any idea why, or how to aviod it?

Thanks!

2 Answers

0 votes
by (161k points)
No. Searches on MSDN and googling don't help much. I guess it is possible that too much data is being transferred and the connection is somehow overwhelmed?

You could try hacking the code and changing the size of a read block to be smaller - from 512 to say 128 or 64. We might put an API call in to enable users to do this programmatically.

In one scenario, transferring a large number of files results in seemingly random exception being thrown as described above "Unable to read data from the transport connection".

Any idea why, or how to aviod it?

Thanks!
0 votes
by
I suspect network problems on this particular client's site. I think that the connection is being closed unexpectedly due to corruption on their DSL line or something equally undeterminable.

I've written a routine around the Put to disconnect, reconnect, retry transfer in case this exception is thrown to try to work around it.

Categories

...