
128Appendix C: Using FTP
9Get an ASCII 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.dmo ’
This example gets a file named file1.dmo from the remote host and renames it to FILE1 on the
Example of a MAP response:
226 Transfer complete.
35334bytes transferred in 0 hrs. 0 mins. 12 secs. 42 ms. (3282 Bps)
Go to step 11.
10Get an ASCII 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.txt54 ’
This example gets a file named file1.txt54 from the remote host and renames it to FILE1 on the
Example of a MAP response:
226 Transfer complete.
35334bytes transferred in 0 hrs. 0 mins. 12 secs. 42 ms. (3282 Bps)
11Put an ASCII file on the remote host by typing ftp>put file_name1 file_name2
and pressing the Enter key.
where |
|
file_name1 | is the name of the file on the local host directory |
file_name2 | is the name of the file on the remote host directory |
Example: |
|
ftp> put ‘RECORDFILE’ ‘jan18.log’
This example takes the file RECORDFILE from the
Example of a MAP response:
226 Transfer complete.
12365 bytes transferred in 0 hrs. 0 mins. 4 secs. 110 ms. (3008 Bps)