
130 Appendix C: Using FTP
where |
|
path_name | is a valid directory path |
Example: |
|
ftp> lcd ‘/S00DTEMP’
7Determine the next step.
If the filename | Do |
|
|
has an extension that | step 8 |
CANNOT have the |
|
record length |
|
automatically |
|
detected. Refer to the |
|
section “Automatic |
|
record length |
|
detection is this |
|
appendix”. |
|
|
|
has an extension that | step 10 |
can have the record |
|
length automatically |
|
detected |
|
|
|
8Set the record length of the file by typing ftp> lrecl rec_length
and pressing the Enter key.
where |
|
rec_length | is the record length required for the file |
Example: |
|
ftp> lrecl 256
This example sets the default record length on the
9Get the file from the remote host by typing ftp> get file_name1
and pressing the Enter key.
where |
|
file_name1 | is the name of the file on the remote directory |
Example: |
|
ftp> get ‘file1.bin’
This example gets a file called file1.bin from the remote host and renames it to FILE1 on the
Go to step 11.
10Get the file from the remote host by typing ftp> get file_name1
and pressing the Enter key.