RFC 913 (rfc913) - Page 2 of 15
Simple File Transfer Protocol
Alternative Format: Original Text Document
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.
The server replies by sending either a positive or negative greeting,
such as:
+MIT-XX SFTP Service
(the first word should be the host name)
-MIT-XX Out to Lunch
Lottor