Gpg Encryption/decryption For Sftp Files (windows Script)

I need a windows script to automate encryption/decryption of files that are uploaded/downloaded to/from SFTP server. So, when I initiate the transfer of a file from my local folder to the remote folder the file needs to show up on the remote folder as an encrypted file. Likewise, when I download a file from the remote folder, it needs to initiate the decryption automatically so the file shows up decrypted on the local folder.

I’m using the WinSCP client (it supports scripting see: http://winscp.net/eng/docs/scripting). I have GPG for windows installed (http://www.gpg4win.org/documentation.html). A similar setup is described here, but I need it localized for the WinSCP client. See: http://www.coreftp.com/docs/web1/OpenPGP.htm

Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *