We’ve just added a MAJOR feature to Syncplify.me MFT! (not abailable in the Alpha-1 download yet, it’ll be in Alpha-2): OTFE, which is short for on-the-fly-encryption.
Basically, when OTFE is enabled, Syncplify.me MFT! encrypts files as they are uploaded to a remote file server (SFTP, FTP, S3, whatever, …) and decrypts them as they are downloaded back to the local machine.
This encryption/decryption happens on-the-fly, directly on the uploaded/downloaded data stream, so it doesn’t need to use temporary files on your disk; the entire process is very memory-friendly, because it encrypts/decrypts small buffers as they are transferred.
Here’s an example script that adds OTFE to file transfers:
{
ConsoleFeedback = true;
var scli = NewSftpClient();
scli.Host = 'sftp.server.com:22';
scli.User = 'your_username';
scli.PassFromSecret = 'secret containing the password';
// OTFE options
scli.Options.OTFE = true;
scli.Options.OTFEKeyFromSecret = 'key secret name';
if (scli.Connect()) {
// Files transparently and automatically encrypted during upload
scli.UploadR('./_dload/*.txt', '/testmft');
// Files transparently and automatically decrypted during download
scli.DownloadR('/testmft/*.txt', './_dload/dec');
scli.Close();
}
scli = null
}