jsftp
jsftp copied to clipboard
list returns wrong filename if filename starts with a space
If the server contains a filename starting with one or more spaces, they will be trimmed in the Ftp.list listing.
I guess this is due to a bug in the regexp used in the parse-listing repository.
I created a pull_request here: https://github.com/sergi/parse-listing/pull/15