diff options
author | jkh <jkh@FreeBSD.org> | 1996-08-21 01:12:11 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-08-21 01:12:11 +0000 |
commit | fc1487cdb0526da63e7c8dbf92b1bcf3e66d356c (patch) | |
tree | d73ecb14dd9b2627668e78e4f23d5fb3178ac09d /lib/libftpio/ftp.errors | |
parent | bf3127c24bb5de8cab749074a2c4004f51bdc0c5 (diff) | |
download | FreeBSD-src-fc1487cdb0526da63e7c8dbf92b1bcf3e66d356c.zip FreeBSD-src-fc1487cdb0526da63e7c8dbf92b1bcf3e66d356c.tar.gz |
Add an ftpErrString() function for returning human readable failure
codes.
Submitted-By: Archie Cobbs <archie@whistle.com>
Diffstat (limited to 'lib/libftpio/ftp.errors')
-rw-r--r-- | lib/libftpio/ftp.errors | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/lib/libftpio/ftp.errors b/lib/libftpio/ftp.errors new file mode 100644 index 0000000..26cb4f6 --- /dev/null +++ b/lib/libftpio/ftp.errors @@ -0,0 +1,44 @@ +# $Id$ +# +# This list is taken from RFC 959. +# It probably needs a going over. +# +110 Restart marker reply +120 Service ready in a few minutes +125 Data connection already open; transfer starting +150 File status okay; about to open data connection +200 Command okay +202 Command not implemented, superfluous at this site +211 System status, or system help reply +212 Directory status +213 File status +214 Help message +215 Set system type +220 Service ready for new user +221 Service closing control connection +225 Data connection open; no transfer in progress +226 Requested file action successful +227 Entering Passive Mode +230 User logged in, proceed +250 Requested file action okay, completed +257 File/directory created +331 User name okay, need password +332 Need account for login +350 Requested file action pending further information +421 Service not available, closing control connection +425 Can't open data connection +426 Connection closed; transfer aborted +450 File unavailable (e.g., file busy) +451 Requested action aborted: local error in processing +452 Insufficient storage space in system +500 Syntax error, command unrecognized +501 Syntax error in parameters or arguments +502 Command not implemented +503 Bad sequence of commands +504 Command not implemented for that parameter +530 Not logged in +532 Need account for storing files +550 File unavailable (e.g., file not found, no access) +551 Requested action aborted. Page type unknown +552 Exceeded storage allocation +553 File name not allowed |