FTP_DATA - FTP Data Channel¶
pcapkit.protocols.application.ftp_data contains
FTP_DATA only,
which implements an extractor for the data channel of File
Transfer Protocol (FTP) [*], whose octets it keeps undissected.
Added in version 1.5.0: Moved here from pcapkit.protocols.application.ftp, which keeps
FTP alone. The control and data
channels are dispatched separately – FTP at TCP port 21, the data channel
at port 20 – so each is a protocol of its own and gets its own module,
unlike RARP and
DRARP, which one dispatch
entry reaches (#2285).
- class pcapkit.protocols.application.ftp_data.FTP_DATA(file=None, length=None, **kwargs)[source]¶
Bases:
Application,RawThis class implements FTP data channel transmission.
The layer base
Applicationcomes first, forlayer == 'Application', then the parsing baseRaw, which keeps the channel’s octets undissected. See Protocol Layer Placement.Changed in version 1.5.0: Derives from
Applicationas well asRaw, so its layer is'Application', where it wasNone, and its__index__isApplication.__index__, raisingIntErrorwhere it raisedUnsupportedCall(#2285).
Footnotes