Ftp Object : Delete Method |
Visual Basic |
---|
Public Sub Delete( _ ByVal PathName As String _ ) |
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.
This method may generate the following error code (refer to ErrorConstants for a complete list of error codes):