ftp Library Package 2.1 for Tcl/Tk Manual Pages

COMMAND
ftp::RmDir  handle  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.

EXAMPLE
# remove directory
ftp::RmDir $conn /incoming/newdir

# or
ftp::Cd $conn /incoming
ftp::RmDir $conn newdir
	

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


© 1999 Steffen Traeger