We run a system that automatically sends a swift message at the end of a process. But this messages are sent using FTP. We feel the FTP process is too prone to MITMA and wish to change the sending medium to SFTP. How can this be achieved? Remember we want it to be automatic. No interactive session. It would be more like;
if XXXX conditions are met
echo "BBBB"
then
(message sends over to the swift sever, THROUGH SFTP)