| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: adjusting the timeout before a 10054 error occurs |
| cmcburney cmcburney@sbcglobal.net From: Antioch, CA USA Posts: 5 Member Since: 03/05/04 |
posted March 5, 2004 10:58 AM My application is sending large files via FTP (some in excess of 2 gig). During some of these transmissions disruptions occur in the connection causing 10054 error to occur. In testing I found that if the connection is broken for more than 10 seconds this error is produced. Can the time before the error be adjusted to say 30 seconds or 60 seconds? Second question is when doing a restart I have found if I use the ‘count’ field in the progress method as the ‘Marker’ in the store method the file does not restart correctly (the sent file is larger than the original file). Any suggestions on a restart method that will work better? Craig |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted March 5, 2004 11:22 AM First question: That's not us, it's winsock. If the connection is broken and winsock throws that error, the connection is gone and cannot be saved. Second question: The Listview sample shows how to do restart so that it works. It uses the actual size of the file from the system. If local it gets the size using a File I/O function. If remote, it queries the server. |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|