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.2.10rc1.tar.gz
5星 · 超过95%的资源 需积分: 9 43 下载量 126 浏览量
2009-04-06
20:38:54
上传
评论
收藏 1.11MB GZ 举报
温馨提示
共254个文件
c:84个
h:43个
html:42个
proftpd-1.2.10rc1.tar.gz proftpd-1.2.10rc1.tar.gz proftpd-1.2.10rc1.tar.gz
资源推荐
资源详情
资源评论
收起资源包目录
proftpd-1.2.10rc1.tar.gz (254个子文件)
ftpwho.1 2KB
ftptop.1 2KB
ftpcount.1 2KB
xferlog.5 3KB
README.Solaris2.5x 2KB
proftpd.8 3KB
ftpshut.8 3KB
ftpdctl.8 2KB
README.AIX 5KB
mod_core.c 132KB
mod_sql.c 115KB
mod_tls.c 103KB
dirtree.c 89KB
mod_radius.c 82KB
mod_auth.c 79KB
main.c 75KB
fsio.c 69KB
mod_xfer.c 68KB
mod_rewrite.c 61KB
mod_quotatab.c 61KB
mod_ldap.c 60KB
mod_ls.c 55KB
mod_ctrls.c 44KB
mod_sql_mysql.c 42KB
glibc-glob.c 38KB
mod_sql_postgres.c 37KB
inet.c 33KB
mod_auth_file.c 32KB
mod_ctrls_admin.c 31KB
getopt.c 30KB
mod_log.c 29KB
data.c 29KB
mod_wrap.c 28KB
bindings.c 27KB
ctrls.c 26KB
netaddr.c 25KB
pr_fnmatch_loop.c 24KB
netio.c 22KB
mod_ratio.c 22KB
mod_auth_unix.c 22KB
mod_quotatab_sql.c 21KB
support.c 21KB
pool.c 19KB
modules.c 17KB
scoreboard.c 17KB
log.c 16KB
ftptop.c 16KB
mod_ifsession.c 16KB
ftpwho.c 14KB
auth.c 14KB
mod_quotatab_file.c 13KB
mod_site.c 13KB
mod_auth_pam.c 13KB
pr_fnmatch.c 11KB
mod_site_misc.c 11KB
mod_cap.c 11KB
mod_sample.c 11KB
vsnprintf.c 10KB
timers.c 9KB
sets.c 9KB
cap_text.c 8KB
ftpcount.c 8KB
mkhome.c 8KB
response.c 7KB
netacl.c 7KB
pr-syslog.c 6KB
ftpdctl.c 6KB
scoreboard.c 6KB
ident.c 6KB
event.c 5KB
pwgrent.c 5KB
mod_readme.c 5KB
ftpshut.c 5KB
class.c 5KB
mod_quotatab_ldap.c 5KB
getopt1.c 4KB
help.c 4KB
cap_extint.c 4KB
regexp.c 4KB
glibc-gai_strerror.c 4KB
cap_alloc.c 3KB
glibc-mkstemp.c 3KB
glibc-hstrerror.c 3KB
cap_flag.c 3KB
cap_file.c 3KB
cap_proc.c 3KB
xferlog.c 3KB
_makenames.c 2KB
feat.c 2KB
misc.c 2KB
strsep.c 2KB
sstrncpy.c 2KB
cap_sys.c 1KB
README.capabilities 2KB
ChangeLog 326KB
README.classes 1KB
complex-virtual.conf 11KB
mod_sql.conf 8KB
anonymous.conf 3KB
virtual.conf 2KB
共 254 条
- 1
- 2
- 3
资源评论
- qq_256888072015-11-07还行,可以看看……
- linux_guy2012-04-13很强力的ftp server,我早上下载使用了,因为公司有个需求,需要针对用户设置 既能上传下载修改什么的,但是不能删除文件 ; proftp 很轻松就做到这一点了,里面的 标签 配置,类似apache的配置,语法很简单,功能很强大,proftpd在权限控制这一块,做得是独树一帜啊
- ladengnb2015-01-18很好用,顺利搭建,谢谢!
- jdwq332013-04-18我就是用的这个,真的挺好用的。
- a2968862252012-11-16很好用的ftp,安装也比较简单
wangjun_pfc
- 粉丝: 252
- 资源: 124
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功