Browse Prior Art Database

Simple File Transfer Protocol (RFC0913)

IP.com Disclosure Number: IPCOM000004324D
Original Publication Date: 1984-Sep-01
Included in the Prior Art Database: 2000-Oct-05
Document File: 11 page(s) / 20K

Publishing Venue

Internet Society Requests For Comment (RFCs)

Related People

M. Lottor: AUTHOR

Abstract

SFTP is a simple file transfer protocol. It fills the need of people wanting a protocol that is more useful than TFTP but easier to implement (and less powerful) than FTP. SFTP supports user access control, file transfers, directory listing, directory changing, file renaming and deleting.

This text was extracted from a ASCII Text document.
This is the abbreviated version, containing approximately 15% of the total text.

Network Working Group Mark K. Lottor

Request for Comments: 913 MIT

September 1984

Simple File Transfer Protocol

STATUS OF THIS MEMO

This RFC suggests a proposed protocol for the ARPA-Internet

community, and requests discussion and suggestions for improvements.

Distribution of this memo is unlimited.

INTRODUCTION

SFTP is a simple file transfer protocol. It fills the need of people

wanting a protocol that is more useful than TFTP but easier to

implement (and less powerful) than FTP. SFTP supports user access

control, file transfers, directory listing, directory changing, file

renaming and deleting.

SFTP can be implemented with any reliable 8-bit byte stream oriented

protocol, this document describes its TCP specification. SFTP uses

only one TCP connection; whereas TFTP implements a connection over

UDP, and FTP uses two TCP connections (one using the TELNET

protocol).

THE PROTOCOL

SFTP is used by opening a TCP connection to the remote hosts' SFTP

port (115 decimal). You then send SFTP commands and wait for

replies. SFTP commands sent to the remote server are always 4 ASCII

letters (of any case) followed by a space, the argument(s), and a

. The argument can sometimes be null in which case the command

is just 4 characters followed by . Replies from the server are

always a response character followed immediately by an ASCII message

string terminated by a . A reply can also be just a response

character and a .

: = [ ]

: = USER ! ACCT ! PASS ! TYPE ! LIST ! CDIR

KILL ! NAME ! DONE ! RETR ! STOR

: = []

: = + | - | | !

can contain

Commands that can be sent to the server are listed below. The server

RFC 913 September 1984

Simple File Transfer Protocol

replies to each command with one of the possible response codes

listed under each message. Along with the response, the server

should optionally return a message explaining the error in more

detail. Example message texts are listed but do not have to be

followed. All characters used in messages are ASCII 7-bit with the

high-order bit zero, in an 8 bit field.

The response codes and their meanings:

+ Success.

- Error.

An error occurred while processing your command.

Number.

The number-sign is followed immediately by ASCII digits

representing a decimal number.

! Logged in.

You have sent enough information to be able to log yourself in.

This is also used to mean you have sent enough information to

connect to a directory.

To use SFTP you first open a connection to the remote SFTP server.

...