V. FTP 使用示例会话
下面的场景展示了 FTP 的一些用法. 用户键入的所有内容都带有下划线.
UTAH-TENEX 1.29.03 EXEC 1.38
LOGIN (USER) HICKS (PASSOWRD) (ACCOUNT #) 1200
JOB 24 ON TTY2 11-NOV-72 1:51
TERMINAL (TYPE IS) 4
ftp
FTP User Process 1.10 5-NOV-72. Type Help<cr> for help.
!login (user) network (password) (account) 4 (to host) case-10
CONNECTION IS OPEN TO CASE-10.
< CASE-10 FTP Server 1.14.0 - at SAT 11-NOV-72 2:00-EST
!tenex ? confirm with carriage return
tenex
!copy remote (remote group) ftp.*
Please be patient. Getting remote file-names.
Got them.
!copy (file) <NETWORK>FTP.MAC:32 (no file) ftp.mac [new file]
< IMAGE retreive of <NETWORK>FTP.MAC;32 startet.
< Transfer completed.
!copy (file) <NETWORK>FTP.SAV;5 (fo file) FTP.SAV;5 [new version]
< IMAGE retreive of <NETWORK>FTP.SAV;5 started.
< Transfer completed.
!copy (file) <NETWORK>FTP.REL;1 (to file) xxx
!copy (file) <NETWORK>FTP.HELP;5 (to file) ftp.help [New version]
copy (file) <NETWORK>FTP.HELP;5 (to file) FTP.HELP;1
< IMAGE retreive of <NETWORK>FTP.HELP;5 started.
< Transfer completed.
Done...
!usc-isi
Closing connections to CASE-10.
CONNECTION IS OPEN TO USC-ISI.
< USC-ISI FTP Server 1.14.0 - at SAT 11-NOV-72 2:15-PST
!log
user hicks
(password)
(account) ? account number or string for remote user's name
log
(user) hicks
(password)
(account) |
!send (local file) ftp.sav;5 (to remote file) ftp.sav
< STORE of <HICKS>FTP.SAV;P777752;a|, IMAGE type, started.
< Transfer completed.
!cp r acs.mac (to local file) acs.mac [new file]
< IMAGE Retreive of <HICKS>ACS.MAC;3 started.
< Transfer completed.
!copy 1 ? Local file group, *'s ok - TENEX sites only,
copy 1 ftp.*
[Confirm]
< Store of <HICKS>FTP.MAC;1;P777752;A1, IMAGE type, Started.
< Transfer completed.
< Store of <HICKS>FTP.SAV;2;P777753;A1, IMAGE type, Started.
< Transfer completed.
< copy of <HICKS>FTP.HELP;1;P777752;A1 IMAGE type, Started,
< Transfer completed.
!bye
!< BYE command recieved.
< Therefore connection terminated.
logout
[logout message go here]
[ 本 RFC 由 Gottfried Janik 于 1997 年 6 月转为机器可读形式, 以录入在线 RFC 档案库 ]