Network Working Group J. Postel
Request for Comments: 959 J. Reynolds
ISI
Obsoletes RFC: 765 (IEN 149) October 1985
FILE TRANSFER PROTOCOL (FTP)
Status of this Memo
This memo is the official specification of the File Transfer
Protocol (FTP). Distribution of this memo is unlimited.
The following new optional commands are included in this edition of
the specification:
CDUP (Change to Parent Directory), SMNT (Structure Mount), STOU
(Store Unique), RMD (Remove Directory), MKD (Make Directory), PWD
(Print Directory), and SYST (System).
Note that this specification is compatible with the previous edition.
1. INTRODUCTION
The objectives of FTP are 1) to promote sharing of files (computer
programs and/or data), 2) to encourage indirect or implicit (via
programs) use of remote computers, 3) to shield a user from
variations in file storage systems among hosts, and 4) to transfer
data reliably and efficiently. FTP, though usable directly by a user
at a terminal, is designed mainly for use by programs.
The attempt in this specification is to satisfy the diverse needs of
users of maxi-hosts, mini-hosts, personal workstations, and TACs,
with a simple, and easily implemented protocol design.
This paper assumes knowledge of the Transmission Control Protocol
(TCP) [2] and the Telnet Protocol [3]. These documents are contained
in the ARPA-Internet protocol handbook [1].
2. OVERVIEW
In this section, the history, the terminology, and the FTP model are
discussed. The terms defined in this section are only those that
have special significance in FTP. Some of the terminology is very
specific to the FTP model; some readers may wish to turn to the
section on the FTP model while reviewing the terminology.
Postel & Reynolds [Page 1]
RFC 959 October 1985
File Transfer Protocol
2.1. HISTORY
FTP has had a long evolution over the years. Appendix III is a
chronological compilation of Request for Comments documents
relating to FTP. These include the first proposed file transfer
mechanisms in 1971 that were developed for implementation on hosts
at M.I.T. (RFC 114), plus comments and discussion in RFC 141.
RFC 172 provided a user-level oriented protocol for file transfer
between host computers (including terminal IMPs). A revision of
this as RFC 265, restated FTP for additional review, while RFC 281
suggested further changes. The use of a "Set Data Type"
transaction was proposed in RFC 294 in January 1982.
RFC 354 obsoleted RFCs 264 and 265. The File Transfer Protocol
was now defined as a protocol for file transfer between HOSTs on
the ARPANET, with the primary function of FTP defined as
transfering files efficiently and reliably among hosts and
allowing the convenient use of remote file storage capabilities.
RFC 385 further commented on errors, emphasis points, and
additions to the protocol, while RFC 414 provided a status report
on the working server and user FTPs. RFC 430, issued in 1973,
(among other RFCs too numerous to mention) presented further
comments on FTP. Finally, an "official" FTP document was
published as RFC 454.
By July 1973, considerable changes from the last versions of FTP
were made, but the general structure remained the same. RFC 542
was published as a new "official" specification to reflect these
changes. However, many implementations based on the older
specification were not updated.
In 1974, RFCs 607 and 614 continued comments on FTP. RFC 624
proposed further design changes and minor modifications. In 1975,
RFC 686 entitled, "Leaving Well Enough Alone", discussed the
differences between all of the early and later versions of FTP.
RFC 691 presented a minor revision of RFC 686, regarding the
subject of print files.
Motivated by the transition from the NCP to the TCP as the
underlying protocol, a phoenix was born out of all of the above
efforts in RFC 765 as the specification of FTP for use on TCP.
This current edition of the FTP specification is intended to
correct some minor documentation errors, to improve the
explanation of some protocol features, and to add some new
optional commands.
Postel & Reynolds [Page 2]
RFC 959 October 1985
File Transfer Protocol
In particular, the following new optional commands are included in
this edition of the specification:
CDUP - Change to Parent Directory
SMNT - Structure Mount
STOU - Store Unique
RMD - Remove Directory
MKD - Make Directory
PWD - Print Directory
SYST - System
This specification is compatible with the previous edition. A
program implemented in conformance to the previous specification
should automatically be in conformance to this specification.
2.2. TERMINOLOGY
ASCII
The ASCII character set is as defined in the ARPA-Internet
Protocol Handbook. In FTP, ASCII characters are defined to be
the lower half of an eight-bit code set (i.e., the most
significant bit is zero).
access controls
Access controls define users' access privileges to the use of a
system, and to the files in that system. Access controls are
necessary to prevent unauthorized or accidental use of files.
It is the prerogative of a server-FTP process to invoke access
controls.
byte size
There are two byte sizes of interest in FTP: the logical byte
size of the file, and the transfer byte size used for the
transmission of the data. The transfer byte size is always 8
bits. The transfer byte size is not necessarily the byte size
in which data is to be stored in a system, nor the logical byte
size for interpretation of the structure of the data.
Postel & Reynolds [Page 3]
RFC 959 October 1985
File Transfer Protocol
control connection
The communication path between the USER-PI and SERVER-PI for
the exchange of commands and replies. This connection follows
the Telnet Protocol.
data connection
A full duplex connection over which data is transferred, in a
specified mode and type. The data transferred may be a part of
a file, an entire file or a number of files. The path may be
between a server-DTP and a user-DTP, or between two
server-DTPs.
data port
The passive data transfer process "listens" on the data port
for a connection from the active transfer process in order to
open the data connection.
DTP
The data transfer process establishes and manages the data
connection. The DTP can be passive or active.
End-of-Line
The end-of-line sequence defines the separation of printing
lines. The sequence is Carriage Return, followed by Line Feed.
EOF
The end-of-
没有合适的资源?快使用搜索试试~ 我知道了~
proftpd-1.3.0.tar.gz
5星 · 超过95%的资源 需积分: 9 41 下载量 136 浏览量
2009-06-16
08:07:44
上传
评论
收藏 1.78MB GZ 举报
温馨提示
在linux下上传和下载文件必须 安装的话地址如下http://blog.sina.com.cn/s/blog_5e410d4e0100bs00.html~type=v5_one&label=rela_prevarticle
资源推荐
资源详情
资源评论
收起资源包目录
proftpd-1.3.0.tar.gz (310个子文件)
ftpwho.1 2KB
ftptop.1 2KB
ftpcount.1 2KB
xferlog.5 3KB
README.Solaris2.5x 2KB
proftpd.8 4KB
ftpshut.8 3KB
ftpdctl.8 2KB
configure.ac 2KB
README.AIX 5KB
Makefile.am 1KB
mod_core.c 132KB
mod_sql.c 120KB
mod_tls.c 113KB
ltdl.c 95KB
mod_radius.c 83KB
fsio.c 80KB
mod_auth.c 80KB
main.c 78KB
dirtree.c 76KB
mod_xfer.c 72KB
mod_quotatab.c 72KB
mod_rewrite.c 64KB
mod_ldap.c 63KB
mod_ls.c 60KB
mod_sql_mysql.c 45KB
mod_ctrls.c 45KB
mod_sql_postgres.c 39KB
glibc-glob.c 38KB
inet.c 34KB
mod_auth_file.c 32KB
data.c 32KB
mod_ctrls_admin.c 30KB
mod_log.c 30KB
getopt.c 30KB
bindings.c 29KB
ctrls.c 29KB
mod_wrap.c 28KB
netaddr.c 27KB
mod_delay.c 26KB
mod_quotatab_sql.c 24KB
pr_fnmatch_loop.c 24KB
netio.c 24KB
mod_auth_unix.c 22KB
mod_ratio.c 22KB
table.c 22KB
support.c 19KB
mod_facl.c 19KB
auth.c 19KB
pool.c 19KB
mod_dso.c 17KB
modules.c 17KB
log.c 17KB
scoreboard.c 17KB
ftptop.c 17KB
mod_ifsession.c 16KB
ftpwho.c 14KB
parser.c 14KB
mod_quotatab_file.c 14KB
mod_auth_pam.c 13KB
mod_site.c 13KB
pr_fnmatch.c 11KB
mod_cap.c 11KB
mod_site_misc.c 11KB
mod_sample.c 11KB
timers.c 11KB
vsnprintf.c 10KB
sets.c 9KB
display.c 8KB
cap_text.c 8KB
mkhome.c 8KB
ftpcount.c 8KB
pr-syslog.c 8KB
netacl.c 7KB
response.c 7KB
event.c 6KB
ftpdctl.c 6KB
scoreboard.c 6KB
ident.c 6KB
var.c 5KB
mod_quotatab_ldap.c 5KB
pwgrent.c 5KB
mod_readme.c 5KB
class.c 5KB
ftpshut.c 5KB
getopt1.c 4KB
help.c 4KB
regexp.c 4KB
cap_extint.c 4KB
glibc-gai_strerror.c 4KB
child.c 3KB
cap_alloc.c 3KB
glibc-hstrerror.c 3KB
glibc-mkstemp.c 3KB
cap_flag.c 3KB
cap_file.c 3KB
xferlog.c 3KB
cap_proc.c 3KB
_makenames.c 2KB
feat.c 2KB
共 310 条
- 1
- 2
- 3
- 4
资源评论
- zhangxlwo12012-12-06刚下载使用了,可以的。
- xyivan2013-04-18可以使用。经过验证
- wuchentop2014-11-01挺好用,经过验证
- jdwq332013-08-15挺好用,但是有点过时了。
- grthirt2013-08-12好东西啊,安装完了,很好用的
孤独剑客
- 粉丝: 74
- 资源: 37
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功