FtpFeatures
Defined in: src/providers/classic/ftp/FtpFeatureParser.ts:14
Normalized server features returned by an FTP FEAT command.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
mlstFacts | string[] | MLST facts advertised by the server, preserving required-fact markers. | src/providers/classic/ftp/FtpFeatureParser.ts:20 |
names | Set<string> | Uppercase feature names for fast lookup. | src/providers/classic/ftp/FtpFeatureParser.ts:18 |
raw | string[] | Raw normalized feature lines. | src/providers/classic/ftp/FtpFeatureParser.ts:16 |
Methods
Section titled “Methods”supports()
Section titled “supports()”supports(featureName: string): boolean;Defined in: src/providers/classic/ftp/FtpFeatureParser.ts:27
Checks whether a named feature is advertised.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
featureName | string | Feature name to search for, case-insensitively. |
Returns
Section titled “Returns”boolean
true when the feature appears in the FEAT response.