| Dart Home | PowerTCP FTP for .NET | Custom Development | Reply | PowerTCP FTP for .NET Topics | Forums |
| Author | Forum: PowerTCP FTP for .NET Topic: Intermittent Error Uploading Files |
| Paul Francis From: Sydney, Australia Posts: 8 Member Since: 04/27/05 |
posted June 29, 2005 11:15 PM Intermittently while uploading files to an FTP server, the following error is being thrown: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond Here is the trace log: FTPSession.Upload: Uploading File... FTPSession.Trace: PASV FTPSession.Trace: 227 Entering Passive Mode (146,125,199,44,253,130) FTPSession.Trace: REST 0 FTPSession.Trace: 350 Restarting at 0. FTPSession.Trace: STOR consumer.hdm FTPSession.Trace: 150 Opening BINARY mode data connection for consumer.hdm. It fails trying to open the binary connection. The FTP server I'm uploading to is run by Reuters so I'm presuming that it's a pretty stable and solid server. Hence I'm working under the assumption that something is going wrong more from our end. What causes this problem? How can I avoid it? This really needs to be perfectly reliable (or as close as we can get). Part of the reason I upgraded to PowerTCP FTP was to increase reliability, so I'm keen to get this sorted. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted June 29, 2005 11:43 PM It means that the server told the client to establish a data connection to address 146.125.199.44 on port 64898 but the client could not connect. My guess is that either the client or server is behind a firewall that does not allow traffic on that port. What happens if you just try again when the error occurs? Errors like that are perfectly normal in the world of FTP. I would not really call it "unreliable" |
| Paul Francis From: Sydney, Australia Posts: 8 Member Since: 04/27/05 |
posted July 1, 2005 9:29 PM It normally works when it's retried. However, previous transfers on the same connection has worked correctly. Why would a firewall allow several uploads and then block one? Do they use different ports (i.e. not just 64898)? If errors like this are normal, is there anyway I can minimise or avoid them? Thanks for you assistence with this. I appreciate the help. (Sorry about the slight delay, I assumed I would receive an e-mail when a reply was posted. I only thought to check it this morning) |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted July 1, 2005 10:36 PM The same port is not always used. The server cycles through a range of ports. It may be that the server is using a port that is not allowed by the firewall. How often is this happening for you? Regarding the email, make sure that "supportforum@dart.com" is in you list of approved senders. |
| Paul Francis From: Sydney, Australia Posts: 8 Member Since: 04/27/05 |
posted July 3, 2005 10:19 PM Infrequently but not rarely (once every few days), so maybe 1 in 20. Do you have any suggestions about how I should approach this issue? Good point about the e-mail filter. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted July 4, 2005 10:40 AM I'm not sure why you need to "approach" anything. Personally, I would just detect the error and try again. If it's really crucial that you find out what is causing the error you should email support@dart.com to determine what advanced support options are available to you. |
| Paul Francis From: Sydney, Australia Posts: 8 Member Since: 04/27/05 |
posted July 5, 2005 3:25 AM The FTP transfer is initated by an automated process, so it's not monitored by a person. If several retries are likely to correct the problem, I'll update the software to retry a few times in the case of that error. Many thanks, Paul. |
| Reply | PowerTCP FTP for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|