Why would this not be working: connection.upload({...
# suitescript
g
Why would this not be working: connection.upload({                             directory: 'download',                             filename: '753Request' + Date.now() + '.txt',                             file: fileObj,                             replaceExisting: true                         }) it connects ok. the directory exists, as does the file.... its not uploading... but not giving me an error message
b
usual is to upload a file using your sftp client
assuming that works, use the same path that the client displays
the current working directory used may not be what you expect
and lots of sftp sites have integrations that automatically move files