parseFtpResponseLines
function parseFtpResponseLines(lines: string[]): FtpResponse;Defined in: src/providers/classic/ftp/FtpResponseParser.ts:172
Parses an exact set of response lines into one complete FTP response.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
lines | string[] | Raw response lines without trailing newline delimiters. |
Returns
Section titled “Returns”A single complete parsed FTP response.
Throws
Section titled “Throws”ParseError When the lines do not contain exactly one complete response.