cd directoryis used to change directory in the remote machine.
In some older versions of VAX/VMS, a cd as the first command of an ftp session from a UNIX system to the VAX may cause some problems. Issuing the ls command as the first command is the best known workaround other than upgrading VMS to Version 5.0 or higher.