Posted: 18 Nov 2010 11:00 | ||
Registered User Currently Offline |
Posts: 1 Join Date: Nov 2010 |
|
Is it possible to monitor a folder and when a file is placed in the file, encrypt the file with PGP encryption and then upload that file using FTP? |
Posted: 02 Sep 2012 03:47 | ||
Registered User Currently Offline |
Posts: 13 Join Date: Aug 2012 |
|
Yes, it is possible to monitor changes in a folder. You can use the ftpgetlist command to obtain a folder listing. You can save this and create a script to routinely compare newly created listings by using the listcompare command. So basically, the first listing will be replaced everytime changes is detected.
You can trigger a variable when change is detected, thus calls another script for encryption and sending the file. __________________ -------------------------------------------------------
Secure FTP Server and FTP Script Automation Solutions |