Skip to content

parseMlstTimestamp

function parseMlstTimestamp(input: string | undefined): Date | undefined;

Defined in: src/providers/classic/ftp/FtpListParser.ts:154

Parses the UTC timestamp format used by MLST/MLSD modify facts.

ParameterTypeDescription
inputstring | undefinedTimestamp text such as 20260427010203.123.

Date | undefined

A UTC Date when the timestamp is valid, otherwise undefined.