FTP Constant Enumerations¶
FTP Commands *¶
-
class
pcapkit.const.ftp.command.defaultInfo(dict_=None, **kwargs)[source]¶ Bases:
pcapkit.corekit.infoclass.InfoExtended
Infowith default values.
-
pcapkit.const.ftp.command.Command= Info(ABOR=Info(...), ACCT=Info(...), ADAT=Info(...), ALGS=Info(...), ALLO=Info(...), APPE=Info(...), AUTH=Info(...), CCC=Info(...), CDUP=Info(...), CONF=Info(...), CWD=Info(...), DELE=Info(...), ENC=Info(...), EPRT=Info(...), EPSV=Info(...), FEAT=Info(...), HELP=Info(...), HOST=Info(...), LANG=Info(...), LIST=Info(...), LPRT=Info(...), LPSV=Info(...), MDTM=Info(...), MIC=Info(...), MKD=Info(...), MLSD=Info(...), MLST=Info(...), MODE=Info(...), NLST=Info(...), NOOP=Info(...), OPTS=Info(...), PASS=Info(...), PASV=Info(...), PBSZ=Info(...), PORT=Info(...), PROT=Info(...), PWD=Info(...), QUIT=Info(...), REIN=Info(...), REST=Info(...), RETR=Info(...), RMD=Info(...), RNFR=Info(...), RNTO=Info(...), SITE=Info(...), SIZE=Info(...), SMNT=Info(...), STAT=Info(...), STOR=Info(...), STOU=Info(...), STRU=Info(...), SYST=Info(...), TYPE=Info(...), USER=Info(...), XCUP=Info(...), XCWD=Info(...), XMKD=Info(...), XPWD=Info(...), XRMD=Info(...))¶ FTP Command
FTP Return Codes †¶
-
class
pcapkit.const.ftp.return_code.ReturnCode(value=<object object>, names=None, module=None, type=None, start=1)[source]¶ Bases:
aenum.IntEnum[ReturnCode] FTP Server Return Code
-
CODE_110= 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= 120¶ Service ready in nnn minutes.
-
CODE_125= 125¶ Data connection already open; transfer starting.
-
CODE_150= 150¶ File status okay; about to open data connection.
-
CODE_202= 202¶ Command not implemented, superfluous at this site.
-
CODE_211= 211¶ System status, or system help reply.
-
CODE_212= 212¶ Directory status.
-
CODE_213= 213¶ File status.
-
CODE_214= 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= 215¶ NAME system type. Where NAME is an official system name from the registry kept by IANA.
-
CODE_220= 220¶ Service ready for new user.
-
CODE_221= 221¶ Service closing control connection.
-
CODE_225= 225¶ Data connection open; no transfer in progress.
-
CODE_226= 226¶ Closing data connection. Requested file action successful (for example, file transfer or file abort).
-
CODE_227= 227¶ Entering Passive Mode (h1,h2,h3,h4,p1,p2).
-
CODE_228= 228¶ Entering Long Passive Mode (long address, port).
-
CODE_229= 229¶ Entering Extended Passive Mode (|||port|).
-
CODE_230= 230¶ User logged in, proceed. Logged out if appropriate.
-
CODE_231= 231¶ User logged out; service terminated.
-
CODE_232= 232¶ Logout command noted, will complete when transfer done.
-
CODE_234= 234¶ Specifies that the server accepts the authentication mechanism specified by the client, and the exchange of security data is complete. A higher level nonstandard code created by Microsoft.
-
CODE_250= 250¶ Requested file action okay, completed.
-
CODE_257= 257¶ “PATHNAME” created.
-
CODE_331= 331¶ User name okay, need password.
-
CODE_332= 332¶ Need account for login.
-
CODE_350= 350¶ Requested file action pending further information
-
CODE_421= 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= 425¶ Can’t open data connection.
-
CODE_426= 426¶ Connection closed; transfer aborted.
-
CODE_430= 430¶ Invalid username or password
-
CODE_434= 434¶ Requested host unavailable.
-
CODE_450= 450¶ Requested file action not taken.
-
CODE_451= 451¶ Requested action aborted. Local error in processing.
-
CODE_452= 452¶ Requested action not taken. Insufficient storage space in system. File unavailable (e. g. , file busy).
-
CODE_501= 501¶ Syntax error in parameters or arguments.
-
CODE_502= 502¶ Command not implemented.
-
CODE_503= 503¶ Bad sequence of commands.
-
CODE_504= 504¶ Command not implemented for that parameter.
-
CODE_530= 530¶ Not logged in.
-
CODE_532= 532¶ Need account for storing files.
-
CODE_534= 534¶ Could Not Connect to Server - Policy Requires SSL
-
CODE_550= 550¶ Requested action not taken. File unavailable (e. g. , file not found, no access).
-
CODE_551= 551¶ Requested action aborted. Page type unknown.
-
CODE_552= 552¶ Requested file action aborted. Exceeded storage allocation (for current directory or dataset).
-
CODE_553= 553¶ Requested action not taken. File name not allowed.
-
CODE_631= 631¶ Integrity protected reply.
-
CODE_632= 632¶ Confidentiality and integrity protected reply.
-
CODE_633= 633¶ Confidentiality protected reply.
-
-
pcapkit.const.ftp.return_code.INFO= {'0': 'Syntax', '1': 'Information', '2': 'Connections', '3': 'Authentication and accounting', '4': 'Unspecified', '5': 'File system'}¶ Grouping information.
-
pcapkit.const.ftp.return_code.KIND= {'1': 'Positive Preliminary', '2': 'Positive Completion', '3': 'Positive Intermediate', '4': 'Transient Negative Completion', '5': 'Permanent Negative Completion', '6': 'Protected'}¶ Response kind; whether the response is good, bad or incomplete.