FtpRmDir

The FtpRmDir method removes a subdirectory on the FTP server.

Syntax:

>>-- myftpobj~FtpRmDir(newdir)-------------------------------------------><

Arguments:

newdir

The name and optional path to the directory to be removed.

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:

FTPCOMMAND

The internal FTP command or the arguments to the method are in error.