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 acti
没有合适的资源?快使用搜索试试~ 我知道了~
上传文件FTP工具上传文件FTP工具上传文件FTP工具上传文件FTP工具
共1243个文件
html:1055个
cs:72个
gif:56个
需积分: 10 0 下载量 28 浏览量
2010-11-16
08:50:35
上传
评论
收藏 2.54MB ZIP 举报
温馨提示
上传文件FTP工具上传文件FTP工具上传文件FTP工具上传文件FTP工具
资源详情
资源评论
资源推荐
收起资源包目录
上传文件FTP工具上传文件FTP工具上传文件FTP工具上传文件FTP工具 (1243个子文件)
test.config.active 1KB
test.config.vms.active 702B
test.bat 2KB
build.bat 297B
build.bat 281B
build.bat 169B
build.bat 169B
edtFTPnet.chm 462KB
FTPConnection.cs 199KB
FTPClient.cs 141KB
FTPControlSocket.cs 39KB
Logger.cs 31KB
FTPConnTestEvents.cs 18KB
FTPTypes.cs 17KB
AbstractTestCase.cs 16KB
BaseSocket.cs 15KB
FTPFileFactory.cs 14KB
UnixFileParser.cs 14KB
VMSFileParser.cs 12KB
FTPFile.cs 11KB
OS400FileParser.cs 10KB
FTPConnTestTransfer.cs 10KB
TestTransfer.cs 9KB
CustomFileParsers.cs 8KB
MainForm.cs 8KB
TestFileOperations.cs 7KB
FTPConnTestFileOperations.cs 7KB
FTPConnTestResume.cs 7KB
WindowsFileParser.cs 7KB
Level.cs 7KB
TestResume.cs 7KB
IFileTransferClient.cs 7KB
FTPTestCase.cs 7KB
RollingFileAppender.cs 7KB
FTPException.cs 6KB
PathUtil.cs 6KB
ServerStrings.cs 6KB
FTPConnTestCase.cs 6KB
VMSTests.cs 5KB
TandemFileParser.cs 5KB
FTPActiveDataSocket.cs 5KB
MemoryAppender.cs 5KB
FileAppender.cs 4KB
TestListings.cs 4KB
FTPConnTestDirOperations.cs 4KB
TestDirOperations.cs 4KB
Demo.cs 4KB
FTPDataSocket.cs 4KB
FileTransferException.cs 4KB
FTPConnTestListings.cs 4KB
FTPFileParser.cs 4KB
FTPReply.cs 4KB
IFTPComponent.cs 3KB
FTPConnTestExists.cs 3KB
BandwidthThrottler.cs 3KB
TestBigTransfer.cs 3KB
TestExists.cs 3KB
FileNotFoundStrings.cs 3KB
FTPConnTestBigTransfer.cs 3KB
TestPortRange.cs 3KB
TestBulkTransfer.cs 3KB
FTPConnTestPortRange.cs 3KB
FTPConnTestBulkTransfer.cs 3KB
AssemblyInfo.cs 3KB
FTPPassiveDataSocket.cs 3KB
StandardOutputAppender.cs 3KB
DirectoryEmptyStrings.cs 3KB
HostNameResolver.cs 3KB
Appender.cs 2KB
TestReconnect.cs 2KB
TestFeatures.cs 2KB
FTPConnTestReconnect.cs 2KB
AssemblyInfo.cs 2KB
TestLogin.cs 2KB
FTPConnTestFeatures.cs 2KB
FTPSemaphore.cs 2KB
TraceAppender.cs 2KB
FTPConnTestLogin.cs 2KB
StringSplitter.cs 2KB
TransferCompleteStrings.cs 2KB
edtFTPnet.csproj 10KB
FTPConnectionCS.csproj 5KB
FTPClientCS.csproj 4KB
MSDN.css 8KB
tree.css 1KB
edtFTPnet.dll 156KB
edtFTPnet.dll 156KB
edtFTPnet.dll 156KB
nunit.framework.dll 72KB
test-edtFTPnet.dll 60KB
FTPConnectionVB.exe 36KB
FTPConnectionCS.exe 32KB
toolbox3.gif 19KB
toolbox3.gif 19KB
properties1.gif 19KB
toolbox4.gif 15KB
toolbox4.gif 15KB
promo-white-net-free.gif 13KB
promo-blue-net-free.gif 13KB
socks.gif 12KB
共 1243 条
- 1
- 2
- 3
- 4
- 5
- 6
- 13
luoyixiang
- 粉丝: 0
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0