FTP Library Package 1.2 for Tcl/Tk Manual Pages

FTP::CD  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.

# change directory
FTP::Cd pub/tcl
FTP::Cd ..


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

© 1999 Steffen Traeger