Dart Ftp Control
Delete Method
Specifies the file to delete.
Description
Delete a file on the server.
Syntax
Visual Basic
Public Sub Delete( _
   ByVal PathName As String _
) 
Parameters
PathName
Specifies the file to delete.
Remarks

Sends the ftpDelete command.

If Timeout is greater than 0, Delete blocks until a reply is received from the server or a ptTimeout error occurs. If Timeout is 0, Delete immediately returns and the Progress event fires with FtpCmd = ftpDelete when the reply is received.

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 SSL for ActiveX Documentation Version 2.2.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic