Sysax Product Forums / Sysax FTP Automation / General Discussion / Monitor a folder & encryption
Posted:  18 Nov 2010 11:00
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
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

Copyright © 2021 Codeorigin, LLC - All Rights Reserved.
XML RSS 2.0 XML Atom 1.0