Connected: An Internet Encyclopedia
RFC 959

Top: Connected: An Internet Encyclopedia
Up: Requests For Comments
Next: 1. INTRODUCTION

Network Working Group
Request for Comments: 959

Obsoletes RFC: 765 (IEN 149)

J. Postel
J. Reynolds
ISI
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.

### Table of Contents

1. INTRODUCTION
2. OVERVIEW

2.1. HISTORY
2.2. TERMINOLOGY
2.3. THE FTP MODEL

3. DATA TRANSFER FUNCTIONS

3.1. DATA REPRESENTATION AND STORAGE

3.1.1. DATA TYPES

3.1.1.1. ASCII TYPE
3.1.1.2. EBCDIC TYPE
3.1.1.3. IMAGE TYPE
3.1.1.4. LOCAL TYPE
3.1.1.5. FORMAT CONTROL

3.1.2. DATA STRUCTURES

3.2. ESTABLISHING DATA CONNECTIONS
3.3. DATA CONNECTION MANAGEMENT
3.4. TRANSMISSION MODES
3.5. ERROR RECOVERY AND RESTART

4. FILE TRANSFER FUNCTIONS

4.1. FTP COMMANDS

4.1.1. ACCESS CONTROL COMMANDS
4.1.2. TRANSFER PARAMETER COMMANDS
4.1.3. FTP SERVICE COMMANDS

4.2. FTP REPLIES

5. DECLARATIVE SPECIFICATIONS

5.1. MINIMUM IMPLEMENTATION
5.2. CONNECTIONS
5.3. COMMANDS
5.4. SEQUENCING OF COMMANDS AND REPLIES

6. STATE DIAGRAMS
7. TYPICAL FTP SCENARIO
8. CONNECTION ESTABLISHMENT
APPENDIX I - PAGE STRUCTURE
APPENDIX II - DIRECTORY COMMANDS
APPENDIX III - RFCs on FTP
REFERENCES

Original text document

Next: 1. INTRODUCTION

Connected: An Internet Encyclopedia
RFC 959