FTP Library Package 1.2 for Tcl/Tk Manual Pages

FTP::RmDir  directory
The FTP::RmDir command removes the specified directory on the ftp server. The remote directory must be empty.

The command returns 1 if the specified directory can be successfully removed or 0 if it fails.

# remove directory
FTP::RmDir /incoming/newdir

# or
FTP::Cd /incoming
FTP::RmDir newdir

[Contents]  [Previous: FTP::MkDir]  [Next: FTP::Quote]

© 1999 Steffen Traeger