| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: FTP Control Hangups |
| User737 Posts: 1 Member Since: 05/16/01 |
posted May 16, 2001 4:15 PM We are coding an automated method that retrieves a list of FTP sites, Userids/Passwords from a SQL server and loops through these sites to upload/download files based upon User Attributes. This process is very straightforward. The FTP control will randomly refuse to re-connect to a site after a previous site has been processed. We are gracefully ending communications with each FTP site in question by using the FTP.Logout method of your control. We have added wait-states after the logout method is called and we are checking to make sure that the FTP.State is tcpClosed prior to attempting to re-connect to another site. This behavior is random in that in one session the application can connect to 50 sites without problem, and the next session it hangs-up after processing 5 sites. The only way to clear the control is to exit the application and restart it. We have attempted using FTP.Close, FTP.Abort, FTP.Logout, etc... This behavior seems to be isolated to the FTP control itself. There is no method to do a FTP.Reset of the control to reinitialize it to startup settings. We are new customers of Dart and have been impressed with your tools, but this is an issue that MUST be resolved or we will have to switch to another vendors tools as this is a mission critical application. Any suggestions will be welcomed. Mark Davis Project Manager/Analyst Metro Information Services mark.davis@metrois.com |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted May 16, 2001 4:26 PM If you use the trace method to trace all the data that is sent or received over the control connection, you should be able to get a file that we can use to recreate the scenario. Here is an example: Ftp1.Trace "trace.log", TRUE, TRUE, vbcrlf + "---> ", vbcrlf + "<--- " Please try this, and next time you get in a bad state, zip the log up and email it to support@dart.com with a description of the problem. Also, if you find a way to duplicate the problem with our sample, that would really speed things up. Hope this helps! Tony Priest Dart Tech Support |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|