Dart Ftp Control
AbortCommand Method
Description
Gracefully abort the last command sent.
Syntax
Visual Basic
Public Sub AbortCommand() 
Remarks

Sends the ftpAbort command. The server will abort the current command in progress (if any), and will then accept new commands.

This method immediately returns and the Progress event fires with FtpCmd = ftpAbort when the reply is received. If the Blocked property is True (another method is currently executing), then that method will immediately return with a ptBlocked error.

This method always returns immediately.

Error Codes

This method may generate the following error code (refer to ErrorConstants for a complete list of error codes):

See Also

Ftp Object  | Ftp Members


PowerTCP FTP for ActiveX Documentation Version 2.2
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic