STPCode.mesa
Copyright © 1985 by Xerox Corporation. All rights reserved.
Karlton, 11-Nov-81 11:15:58
Smokey, Jun 26, 1980 12:09 PM
Birrell, June 1, 1983 3:02 pm
Russ Atkinson (RRA) February 4, 1985 1:32:42 pm PST
Doug Wyatt, February 27, 1985 10:26:14 am PST
Hal Murray, May 12, 1986 6:26:18 pm PDT
Mark bytes exchanged with servers and reply codes returned by FTP servers
STPCode: DEFINITIONS = {
Mark: TYPE = MACHINE DEPENDENT {
null(0B), -- Not sent on the wire
retrieve(1B),
store(2B),
yes(3B),
no(4B),
hereIsFile(5B),
eoc(6B),
comment(7B),
iAmVersion(10B),
newStore(11B),
directory(12B),
hereIsPList(13B),
newDirectory(14B), -- (notice: same as markYouAreUser)
abort(15B),
delete(16B),
rename(17B),
storeMail(20B),
retrieveMail(21B),
flushMailBox(22B),
mailBoxException(23B) };
Reply: TYPE = MACHINE DEPENDENT {
General:
null(0), -- not supplied by server
badCommand(1), -- last command undefined or unimplemented
noUserName(2), -- command requires User-Name
illegalCommand(3B), -- illegal command in this context
property list errors:
badPList(10B), -- malformed propertylist
illegalServerFilename(11B),
illegalDirectory(12B),
illegalNameBody(13B),
illegalVersion(14B),
illegalType(15B),
illegalCharacterSize(16B),
illegalEOLConversion(17B),
illegalUserName(20B),
illegalUserPassword(21B),
illegalUserAccount(22B),
illegalConnectName(23B),
illegalConnectPassword(24B),
illegalCreationDate(25B),
illegalWriteDate(26B),
illegalReadDate(27B),
illegalAuthor(30B),
illegalDevice(31B),
Specific to file-access commands:
fileNotFound(100B),
accessDenied(101B),
inconsistent(102B), -- local/remote parameter mismatch
fileDataError(103B),
tooLong(104B), -- file to long or storage full
dontSend(105B), -- (user to server during retieve)
notCompleted(106B), -- (due to No from user)
transientError(107B), -- server or filesystem failure
permanentError(110B),
fileBusy(111B)
};
}.