Go to the previous, next section.


At the beginning of an FTP session, the user is in a "top-level" directory. Most things are in directories below it (e.g. `/pub'). To change the current directory, one uses the cd command. To change to the directory `pub', for example, one would type

ftp> cd pub

which would elicit the response

250 CWD command successful.

Meaning the "Change Working Directory" command (`cd') worked properly. Moving "up" a directory is more system-specific--in Unix use the command `cd ..', and in VMS, `cd [-]'.

Go to the previous, next section.