Filenames that begin and end with spaces are valid in *nix.
Changing regex to only take a single piece of whitespace after the date.
I have an app that pulls files via jsftp. And users creating files with whitespace regularly causes issues. This resolves it.
@ThatOdieGuy good catch! Just submitted a pull_request for the same thing :/
@sergi Are you still maintaining this project? It's been more than 6 months since this PR was opened :/
@warpdesign - I don't believe jsftp is being maintained. Due to another issue with jsftp where sometimes connections timeout/fail without any events notifying my app, I'm moving on to another ftp client. basic-ftp appears to be in active development and fulfills my ftp needs.
@ThatOdieGuy I also moved to basic-ftp which is maintained actively.