FTP Constant Enumerations¶
This module contains all constant enumerations of
FTP implementations. Available
enumerations include:
FTP Command¶
This module contains the constant enumeration for FTP Command,
which is automatically generated from pcapkit.vendor.ftp.command.Command.
- class pcapkit.const.ftp.command.Command(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
- Bases: - StrEnum- [Command] FTP Command - feat: Optional[FEATCode]¶
- Feature code. Keyword returned in FEAT response line for this command/extension, c.f., RFC 5797#secion-2.2. 
 - desc: Optional[str]¶
- Brief description of command / extension. 
 - type: CommandType¶
- Type of “kind” of command, based on RFC 959#section-4.1. 
 - conf: ConformanceRequirement¶
- Expectation for support in modern FTP implementations. 
 - static _generate_next_value_(name, start, count, last_values)¶
- Return the lower-cased version of the member name. 
 
FTP Server Return Code¶
This module contains the constant enumeration for FTP Server Return Code,
which is automatically generated from pcapkit.vendor.ftp.return_code.ReturnCode.
- class pcapkit.const.ftp.return_code.ReturnCode(value=<no_arg>, names=None, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
- Bases: - IntEnum- [ReturnCode] FTP Server Return Code - description: Optional[str]¶
- Description of the return code. 
 - kind: ResponseKind¶
- Response kind. 
 - group: GroupingInformation¶
- Grouping information. 
 - CODE_110: ReturnCode = 110¶
- Restart marker replay. In this case, the text is exact and not left to the particular implementation; it must read: MARK yyyy = mmmm where yyyy is User-process data stream marker, and mmmm server’s equivalent marker (note the spaces between markers and “=”). 
 - CODE_120: ReturnCode = 120¶
- Service ready in nnn minutes. 
 - CODE_125: ReturnCode = 125¶
- Data connection already open; transfer starting. 
 - CODE_150: ReturnCode = 150¶
- File status okay; about to open data connection. 
 - CODE_202: ReturnCode = 202¶
- Command not implemented, superfluous at this site. 
 - CODE_211: ReturnCode = 211¶
- System status, or system help reply. 
 - CODE_212: ReturnCode = 212¶
- Directory status. 
 - CODE_213: ReturnCode = 213¶
- File status. 
 - CODE_214: ReturnCode = 214¶
- Help message. Explains how to use the server or the meaning of a particular non-standard command. This reply is useful only to the human user. 
 - CODE_215: ReturnCode = 215¶
- NAME system type. Where NAME is an official system name from the registry kept by IANA. 
 - CODE_220: ReturnCode = 220¶
- Service ready for new user. 
 - CODE_221: ReturnCode = 221¶
- Service closing control connection. Logged out if appropriate. 
 - CODE_225: ReturnCode = 225¶
- Data connection open; no transfer in progress. 
 - CODE_226: ReturnCode = 226¶
- Closing data connection. Requested file action successful (for example, file transfer or file abort). 
 - CODE_227: ReturnCode = 227¶
- Entering Passive Mode (h1,h2,h3,h4,p1,p2). 
 - CODE_228: ReturnCode = 228¶
- Entering Long Passive Mode (long address, port). 
 - CODE_229: ReturnCode = 229¶
- Entering Extended Passive Mode (|||port|). 
 - CODE_230: ReturnCode = 230¶
- User logged in, proceed. 
 - CODE_232: ReturnCode = 232¶
- User logged in, authorized by security data exchange. 
 - CODE_234: ReturnCode = 234¶
- Server accepts the security mechanism specified by the client; no security data needs to be exchanged. 
 - CODE_235: ReturnCode = 235¶
- Server accepts the security data given by the client; no further security data needs to be exchanged. 
 - CODE_250: ReturnCode = 250¶
- Requested file action was okay, completed. 
 - CODE_331: ReturnCode = 331¶
- User name okay, password needed. 
 - CODE_332: ReturnCode = 332¶
- No need account for login. 
 - CODE_334: ReturnCode = 334¶
- Server accepts the security mechanism specified by the client; some security data needs to be exchanged. 
 - CODE_336: ReturnCode = 336¶
- Username okay, password okay. Challenge is “… . “. 
 - CODE_421: ReturnCode = 421¶
- Service NOT available, closing control connection. This may be a reply to any command if the service knows it must shut down. 
 - CODE_425: ReturnCode = 425¶
- Can’t open data connection. 
 - CODE_426: ReturnCode = 426¶
- Connection closed; transfer aborted. 
 - CODE_430: ReturnCode = 430¶
- Invalid username or password 
 - CODE_431: ReturnCode = 431¶
- Need some unavailable resource to process security. 
 - CODE_434: ReturnCode = 434¶
- Requested host unavailable. 
 - CODE_450: ReturnCode = 450¶
- Requested file action not taken. 
 - CODE_451: ReturnCode = 451¶
- Requested action aborted. Local error in processing. 
 - CODE_452: ReturnCode = 452¶
- Requested action not taken. Insufficient storage space in system. File unavailable (e.g., file busy). 
 - CODE_501: ReturnCode = 501¶
- Syntax error in parameters or arguments. 
 - CODE_502: ReturnCode = 502¶
- Command not implemented. 
 - CODE_503: ReturnCode = 503¶
- Bad sequence of commands. 
 - CODE_504: ReturnCode = 504¶
- Command not implemented for that parameter. 
 - CODE_530: ReturnCode = 530¶
- Not logged in. 
 - CODE_532: ReturnCode = 532¶
- Need account for storing files. 
 - CODE_533: ReturnCode = 533¶
- Command protection level denied for policy reasons. 
 - CODE_534: ReturnCode = 534¶
- Request denied for policy reasons. 
 - CODE_535: ReturnCode = 535¶
- Failed security check. 
 - CODE_536: ReturnCode = 536¶
- Data protection level not supported by security mechanism. 
 - CODE_537: ReturnCode = 537¶
- Command protection level not supported by security mechanism. 
 - CODE_550: ReturnCode = 550¶
- Requested action not taken. File unavailable (e.g., file not found, no access). 
 - CODE_551: ReturnCode = 551¶
- Requested action aborted. Page type unknown. 
 - CODE_552: ReturnCode = 552¶
- Requested file action aborted. Exceeded storage allocation (for current directory or dataset). 
 - CODE_553: ReturnCode = 553¶
- Requested action not taken. File name not allowed. 
 - CODE_631: ReturnCode = 631¶
- Integrity protected reply. 
 - CODE_632: ReturnCode = 632¶
- Confidentiality and integrity protected reply. 
 - CODE_633: ReturnCode = 633¶
- Confidentiality protected reply. 
 
Footnotes