the path module generates normalized paths based on the local system, and I don't see anything to change which separator it uses, so this just changes the finalRemotePath to all forward slash so it will work on a remote linux system from a local windows system. forward slashes would probably still work on a remote windows system anyway
tested this on windows and it uploads to the right place now
addresses #2
the path module generates normalized paths based on the local system, and I don't see anything to change which separator it uses, so this just changes the finalRemotePath to all forward slash so it will work on a remote linux system from a local windows system. forward slashes would probably still work on a remote windows system anyway
tested this on windows and it uploads to the right place now