node-ftps
node-ftps copied to clipboard
stdout is also in res.error - data is null
This is my code. If I give a wrong (denied) path, the error is in res.error. However, even if I give the correct path, the result is also in res.error and res.data is null
ftps.cd(defaults.path+ 'dd').addFile('lib/ice_age_box_cover.jpg').exec(function (err, res){
if (res){
logger.debug(res.error)
}
});
I have the same issue with addFile and put, but only on Windows, WSL seems to work correctly (res.error is null and res.data is an empty string)