Skip to content

FtpResponse

Defined in: src/providers/classic/ftp/FtpResponseParser.ts:22

Complete parsed FTP response.

PropertyTypeDescriptionDefined in
codenumberNumeric three-digit FTP reply code.src/providers/classic/ftp/FtpResponseParser.ts:24
completionbooleanWhether the response is a 2xx completion reply.src/providers/classic/ftp/FtpResponseParser.ts:36
intermediatebooleanWhether the response is a 3xx intermediate reply.src/providers/classic/ftp/FtpResponseParser.ts:38
linesstring[]Individual message lines without the reply-code prefix.src/providers/classic/ftp/FtpResponseParser.ts:28
messagestringResponse message with multi-line content joined by newlines.src/providers/classic/ftp/FtpResponseParser.ts:26
permanentFailurebooleanWhether the response is a 5xx permanent failure reply.src/providers/classic/ftp/FtpResponseParser.ts:42
preliminarybooleanWhether the response is a 1xx preliminary reply.src/providers/classic/ftp/FtpResponseParser.ts:34
rawstringRaw response lines joined by newlines.src/providers/classic/ftp/FtpResponseParser.ts:30
statusFtpResponseStatusClassified response status family.src/providers/classic/ftp/FtpResponseParser.ts:32
transientFailurebooleanWhether the response is a 4xx transient failure reply.src/providers/classic/ftp/FtpResponseParser.ts:40