- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi, Subhajit,
have you seen this?
Encrypt Data Files and Push to SFTP (How to)
This is exactly how you can use sftp to make it work.
If this is not working, use file export activity to create a file in your server location, encrypt that file using:
function encryptFile(file) {
var systemCommand = "gpg --encrypt --recipient recipientToEncryptTo " + file;
var result = execCommand(systemCommand, true);
}Copy and move that file to your SFTP location using a shell script.
Hope this helps!
Amit