The CD i5/OS® FTP client subcommand changes the working directory, library, or file group on the remote system.
CD directory
If the remote system is a System i™ product, this subcommand changes the current library or directory. To find out what directories are on the remote system, use the Directory (DIR) subcommand to get a listing.
Use the DIR subcommand with caution.
When using the subcommand CD (or LCD) to change from one i5/OS file system to another, specify the root directory of the file system that contains the new current directory.