Using FAOPGP

The FAOPGP CLS Command Editor

The command editor lets you quickly create command line parameters.  It is invoked by pressing the button in the Script Editor. The following window will be displayed :




Actions

The actions section (left hand panel) is where you specify the files you want to encrypt/decrypt and who you want to encrypt files for.




Protect



Checking this box encrypts/signs the selected files using the keys selected in the ‘Encrypt For’ and ‘Sign As’ drop-down list boxes.

See Protecting Files.


Unprotect



Checking this box decrypts/verifies the selected files.  It does not matter what keys are displayed in the 'Encrypt For' and 'Sign As' list boxes as they are ignored by this process.  FAOPGP CLS will check if the correct private key is in your keystore and if it is proceed with the decryption process.


Secure Delete



Deletes the selected files/folders so that they are no longer recoverable. See Deleting Files Securely.


Backup Keystore



Backs up the current keystore. See Backing up the Keystore automatically.


FTP Only



Select this option if you want to use the FTP facilities of FAOPGP CLS but do not want to use the encryption facilities. See FTP'ing Files.


Input Files / Directories



This is where you select the files and folders you want to perform an action (protect, unprotect, secure delete) on.

  FTP
Select this option if you want to retrieve files from a web server.  See FTP'ing Files.

Input list contains only files.  This option provides support for non-Unix/Linux/Windows environments such as IBM OS/390.  See FTP'ing Files.
Rename.  This option provides lets you rename files you have downloaded before processing them.  See FTP'ing Files.
Delete files from server after download.  This option deletes the source file from the server after it has been downloaded to your local disk. See FTP'ing Files.

  Local Computer
Select this option to process local files.  Press the  button to search for files and folders. Once you have selected your files/folders they are automatically added to the list.



If you want to specify wildcards you must type these directly into this field - for example, C:\Test2\*.doc - and then press the button.

To remove files/folders from the list, highlight them in the window and press the button.

Select the  checkbox if you want sub-folders to also be actioned on.  
NOTE: Whilst this processes files in sub-folders it does not maintain the folder structure. If you want to maintain the folder structure you must save the files in an archive.


Options

The options section (right hand panel) is a scrollable panel that lets you specify what you want to do with files after you have performed some kind of action on them.




Destination directory



  Same as source
Select this option to store processed files (files that have been actioned on) in the same location as the original (source) files that were selected to be actioned on. This is called the "Source" folder.  For example, if you encrypt a file and the source file is located in c:\mydocuments then the encrypted file will also be stored in c:\mydocuments. The destination folder will change depending on where the original (source) files are located.

  Folder
You can choose a folder via the Browse button where processed files will always be stored. The destination folder will remain the same no matter where the original (source) files are located.


When output file already exists



 Ask before overwrite
If files already exist with the same name in the destination directory you will be prompted as to whether you want to overwrite them or not.
NOTE : Bear in mind that if you select this option processing will come to a halt until you manually enter an answer on the command line. If you want total automation you will need to select either the 'Overwrite' or 'Don't overwrite' option.

 Overwrite
Files that already exist with the same name in the destination directory will automatically be overwritten and no warning will be given.

 Don't Overwrite (skip)
Files that already exist with the same name in the destination folder will not be overwritten.

For example, if you had a file called 'c:\myfiles\address.doc.pgp' and you protect the file 'address.doc' to c:\myfiles\ then FAOPGP will protect this as 'c:\myfiles\address.doc.pgp'.  If you have 'overwrite existing files' checked then your existing 'address.doc.pgp' file will get overwritten by the one you protect.  If youhave 'Ask before overwrite' checked then you will be prompted as to whether you want to overwrite the existing file or not with the new one.


Archive



Select this checkbox to store m
ultiple files and folders in a single archive file. Enter a filename for the archive in the field provided.
The archive is in .zip format and files can be extracted from the archive using WinZip, PKZip or compatible software. Once the files are extracted they can be unprotected using any OpenPGP compatible software. Alternatively recipients can use the FAOPGP free reader to extract and unprotect files in one operation.


Save encrypted/signed files as Text



Checking this box saves files in .asc format (ascii) instead of .pgp format (binary).  You may want to use this option if the recipients firewall or anti-virus checker is preventing .pgp format files from getting through.



Send output files by e-mail



Select this option if you want to send files by email.  See Emailing Files.


Log output



Check this box to save a store a permanent record of the actions you have performed in a log file. All of the the other options shown here are related to the log file.  See Log File Audit.


Upload output files by FTP



Check this box if you want to FTP files to a web server after they have been processed by FAOPGP CLS. See FTP'ing Files.


Auto Login



Check this box if you want to automatically logon to FAOPGP CLS when a script is run.  See Automatic Logon to CLS.


Once you have chosen all your options in the command editor, press the button to return to the script editor window. In the script editor you can add a new line to the script, save it and test it, or schedule it for running at a later date.