Avatar

Community Advisor

Hi @varshtus - you can try using cURL from the command line directly to transfer the file. This might give you more detail in what is failing in the cURL command

Use this in a JS activity

e.g.

 

logInfo(">>"+execCommand("curl -o /path/to/your/localfile.txt -u [username]:[password] sftp://your.sftp.server.host/path/to/yourremotefile.txt",true));

 

[edit - i gave you upload instructions incorrectly]