$ftp->cwd([dir])
ftp
dir
Changes the working directory to dir. With no argument, changes the directory to root.