FTP Library Package 2.1 for Tcl/Tk Manual Pages

COMMAND
ftp::MkDir  handle  directory
 
The ftp::MkDir causes the directory specified in directory to be created as a directory (if the directory is absolute) or as a subdirectory of the current working directory (if directory is relative).

If the directory was successfully created, then the command returns 1, if it fails 0.

EXAMPLE
# create directory
ftp::MkDir $conn /incoming/newdir

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

[Contents]  [Previous: ftp::Newer]  [Next: ftp::RmDir]


© 1999 Steffen Traeger