-- file: STPReplyCode.mesa - Edited by:
-- Karlton,	11-Nov-81 11:15:58
-- Smokey,	Jun 26, 1980 12:09 PM
-- Andrew Birrell, June 1, 1983 3:02 pm
  
STPReplyCode: DEFINITIONS =
  BEGIN

  -- Reply codes returned by FTP servers
  
  ReplyCode: 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)};
  
  END. -- end of STPReplyCode