GPG4Win Advice
Ian A Morris
Ian.Morris2 at hantsfire.gov.uk
Thu Jun 8 16:39:29 CEST 2017
Hi All,
I have been tasked with setting up a secure file transfer mechanism for our organisation.
We have created the private keys etc. using Kleopatra and are able to encrypt/sign (with asci armor) and decrypt and exchange files with our partners successfully.
I would like to automate the process as follows.
Users place files in a folder based on a Fileserver.
GPG4Win (based on our SFTP Server) is scheduled to check the folder, encrypt any files it finds placing the encrypted file on the SFTP server's Outbound folder and DELETING the original file on the Fileserver.
I am able to automate the encryption but the original file stays in place. When using the GUI there are options for the following, "Remove unencrypted original file when don"
Could you please help. I would like to
[cid:image002.png at 01D2E06C.9548ED40]
I am using the following syntax
Gpg2 -batch -recipient xxxxx -encrypt-files -armor C:\Location\*.txt
Which creates the encrypted the files in the same location and the orginal files still remain.
I have tried a number of different options, none of which worked for me.
If I am able to to encrypt/decrypt and point the files to an alternative location and remove the orginals then I would be extremely grateful for the help.
Kind Regards
Ian A. Morris
IT Infrastructure Analyst
ICT Transformation Project
Int: 7592191
Tel: 02380 626897
Mob: +44 7958 216696
[cid:image001.png at 01D214E5.DE402DE0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20170608/1c7ff143/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4059 bytes
Desc: image001.png
URL: </pipermail/attachments/20170608/1c7ff143/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 25353 bytes
Desc: image002.png
URL: </pipermail/attachments/20170608/1c7ff143/attachment-0003.png>
More information about the Gnupg-users
mailing list