Parses one Unix ls -l listing line into an FtpEntry.
Recognizes the conventional 9-field long format: a permission string (whose first character
is d for directories), link count, owner, group, size, three date fields, and the name
(which may itself contain spaces). Parsing is tolerant: a line it cannot read is returned
with its raw text and a best-effort name (the last whitespace-delimited token), no size, and
isDirectory taken from a leading d if present.
Parses one Unix
ls -llisting line into an FtpEntry.Recognizes the conventional 9-field long format: a permission string (whose first character is
dfor directories), link count, owner, group, size, three date fields, and the name (which may itself contain spaces). Parsing is tolerant: a line it cannot read is returned with its raw text and a best-effort name (the last whitespace-delimited token), no size, andisDirectorytaken from a leadingdif present.