| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Abort problem |
| potentiostat From: Cark, USA Posts: 2 Member Since: 03/05/04 |
posted March 5, 2004 4:47 AM I have a simple piece of code which connects to an FTP server (FTP->Login), changes the folder by setting Ftp->Directory, gets a file list (Ftp1->List) and disconnects from the server (Ftp->Logout). If during this process I call the Ftp->Abort, it stops the connection or list and disconnects from the server. However, when I run the piece of code a second time it says it connects, but then eventually times out. The only way to connect to the server again is to terminate the application and re-start it. I am using BCB4 and going through a proxy server (proxy+). I have noticed the problem can also occur when aborting Ftp->Retrieve, but not as repeatable. The help says to use the close command rather than abort, but I can’t see a close method for the FTP tool. Any ideas? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted March 5, 2004 9:18 AM Abort is defined under the TCP section so that's what the reference to "Close" is. Close is the graceful way to close a TCP session. The equivalent in FTP would be "Logout". When you get weird issues like this one, the first thing to do is to use the Trace method to create a log file and see what's going on. The sample ListView app uses the Trace method so just look at that for example code. |
| stoogesbol From: Edmonton, AB Canada Posts: 7 Member Since: 10/25/03 |
posted June 11, 2004 11:26 PM Well, during site to site transfer for instance, if you send a ABOR command to the server, it should stop the transfer and return to idle. ABOR is not at all related to Close! |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|