We need to monitor a directory and if any file comes in, we need to encrypt that file using PGP and put it on an FTP server in a specific directory. Can this be acheived via a batch script? If yes, can someone please let me know how. I am new to scripting.
The tool that we were using to acheive all this is suddenly not able to do the PGP via command prompt due to some issues. It used to work from past many years, but suddenly stopped working for executing the PGP command. So we are doing it manually now. We want to automate this process. Any help is greatly appreciated.