The FtpDelete method deletes the specified file on the FTP server.
Syntax:
>>--myftpobj~FtpDelete(filename)-----------------------------------------><
Arguments:
The filename and optional path to the file to be deleted. If the path is not given the file will be deleted from the current directory on the ftp server.
Return Values:
A value of 0 indicates successful execution of the method. The value -1 indicates an error. You can get the specific error code by inspection of the method FtpErrno. Possible values:
The internal FTP command or the arguments to the method are in error.