var connection = sftp.createConnection({ username: userName, passwordGuid: passGUID, url: URL, directory: ‘/’, hostKey: hostKey }); //if you have a xml content or json content, create them as a file and upload to FTP //Module: N/file :> file var FileToUpload = file.create({ fileType: file.Type.PLAINTEXT, name: XMLfileName, contents: soData, //here soData refers to a xml body });… Continue reading Uploading a file to an FTP server N/sftp