The set of possible subcommands and its syntax depends on the type of client and server and the operating systems of client and server. The subcommands discussed hereafter are available on most systems. The explanation below is for line-mode oriented FTP clients. Windows based FTP clients will normally show icons or menus for the FTP subcommands. This means moving to another directory on the remote system.
Some systems support the command lcd , to change directory on the local system.
Most sites put all their public files in a directory pub , so your first command will frequently be cd pub . It will give you a list of available files in the current remote directory. Some systems have a file ls-lR available in the FTP startup directory. If you do not specify the second file parameter, the same name will be used on the local system. Filethere and filehere follow the naming convention of the remote and local operating systems.