Appendix C: Using FTP 125
List the files names and their attributes in the directory by typing
ftp> dir
and pressing the Enter key. Example of a MAP response:
total 57512 |
|
|
|
|
|
|
2 | paulg snopc 512 Jan 26 | 08:05 | News | |||
2 | paulg snopc 512 Feb | 2 | 07:55 | PERSONAL | ||
1 | paulg gtest 397 | Jan | 4 | 1995 | .Xresources | |
4 | paulg snopc 512 | Nov 30 | 13:22 | Windows | ||
1 | paulg snopc 557879 Feb | 1 09:08 WSFILE | ||||
2 | paulg snopc 512 | Jan 22 | 15:50 | dmsplpermdir | ||
3 | paulg snopc 4608 Feb 1 | 11:08 | dmspltempdir | |||
226 Transfer | complete. |
|
|
|
|
Change to another directory on the remote host by typing
ftp> cd path_name
and pressing the Enter key.
where
path_name is a valid directory path Example:
ftp> cd ‘/team/bin’
Example of a MAP response:
250 CWD command successful.
Change to another directory on the local host by typing
ftp> lcd path_name
and pressing the Enter key.
where
path_name is a valid directory path Example: