node-ftp-client
node-ftp-client copied to clipboard
Normalize path on Windows
When i use this options {baseDir: backupDir}
on upload i receive error on Windows - sometimes path not normalized. So when we try to remove baseDir
from path (https://github.com/noodny/node-ftp-client/blob/master/lib/client.js#L108) on Windows possible to have error. Please use function path.normalize
in your package to prevent errors like this.