| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Abort or AbortCommand |
| User792 Posts: 4 Member Since: 04/09/01 |
posted April 16, 2001 11:52 AM I have a transfer dialog that pops up when documents are being transfered to the server using ftp.store When the user clicks cancel on the transfer dialog I set a boolean value and based on the boolean value inside the progress event I call ftp.Abort, and I also tried ftp.AbortCommand. Both of these Methods are causing errors to occur. ftp.AbortCommand doesn't let my program continue and hangs for about 30 seconds and then prompts a Run-time error '11103' Session aborted. ftp.Abort immediatly prompts a Run-time error '10057' Receive or Send Method failed. The socket is not connected. Do you know a way I can cancel a transfer without getting these errors? Any suggestions would be greatly appreciated. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted April 16, 2001 2:20 PM The sample listview client has an Abort button that seems to work OK for me. Take a look at that. Hope this helps! Tony Priest Dart Tech Support |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|