We need a solution for storing salesforce object's data as flat files in a S FTP folder as .csv files. But salesforce is not supporting to send files to S FTP/FTP. So we are trying to build a solution in ANT by querying data from salesforce and making them as CSV and pushing it to S FTP.
But does ant support's PEG(public and private key) encryption for encrypting the files before sending it to S FTP.
Are there any better solution for sending files to SFTP from salesforce over PEG encryption.