Appendix C: Using FTP 129
12You have completed this procedure.
Procedure 6 Copying a binary file from the remote host
Step Action
1Establish an FTP session and determine your location as described in procedure 1 in this appendix.
2Determine the next step
Do
step 3
step 4
3Change 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.
4Set the file type to binary by typing ftp> binary
and pressing the Enter key. Example of a MAP response:
200 Type set to I.
5Determine the next step.
If the file | Do |
|
|
is not stored on the | step 6 |
current local directory |
|
|
|
is stored on the | step 7 |
current local directory |
|
|
|
6Change directory on the local host
and pressing the Enter key.