ftp Library Package 2.1 for Tcl/Tk Manual Pages

COMMAND
ftp::CD  handle directory
 
The ftp::Cd command changes the current working directory on the ftp server to a specified target directory. This target directory can be a subdirectory of the current directory, ".." (for the parent directory) or a fully qualified path to a new working directory.

The command returns 1 if the current working directory can be successfully changed to the specified directory or 0 if it fails.

EXAMPLE
# change directory
ftp::Cd $conn pub/tcl
ftp::Cd $conn ..

	

[Contents]  [Previous: ftp::Close]  [Next: ftp::Pwd]


© 1999 Steffen Traeger