Open sudomf opened 8 years ago
Hi, when I execute this script, the result on server is a file without first character.
client.connect(function () { client.upload(['../dist/win/setup/*.exe'], settings.ftp.dest, { baseDir: '../dist/win/setup/' }, function (result) { console.log(result); }); });
Eg: if my local file have a name like Awesomefile.exe, on the server it will be wesomefile.exe.
Awesomefile.exe
wesomefile.exe.
you can try to change your baseDir from '../dist/win/setup/' to '../dist/win/setup', remove the last slush
Hi, when I execute this script, the result on server is a file without first character.