parseMlsdList
function parseMlsdList(input: string, directory?: string): RemoteEntry[];Defined in: src/providers/classic/ftp/FtpListParser.ts:27
Parses an MLSD directory listing into normalized remote entries.
Parameters
Section titled “Parameters”| Parameter | Type | Default value | Description |
|---|---|---|---|
input | string | undefined | Raw MLSD response body. |
directory | string | "." | Parent remote directory used to build entry paths. |
Returns
Section titled “Returns”Remote entries excluding the . and .. pseudo entries.
Throws
Section titled “Throws”ParseError When any listing line is malformed.