Video Screencast Help

PGP Command Line Automated FTP Transfer

Created: 14 Mar 2012 • Updated: 13 May 2013 | 2 comments
reenif's picture
This issue has been solved. See solution.

 On the pgp command line product page, one of its key benefits is :

"Automate labor and time intensive encryption activities such as file server encryption and ftp file transfers. "

How does it automate ftp file transfers? I do not see a particular command to achieve this from within the pgp command line itself or have i gotten the concept wrong. Thank you!

Comments 2 CommentsJump to latest comment

Avkash K's picture

Hi rennif,

ftp file transfer will be FROM the FTP server for encryption purpose, and it will not automate the file transfer TO the FTP site post encryption.

As per my understanding, PGP Command Line does not currently provide any file transfer built in.  You could write your own script to take an input file, encrypt it with PGP Command Line, and send it to the recipient.


For FTP automation you can use file transfer software like CuteFTP and write some VBScript.


Avkash K

dfinkelstein's picture

PGP Command Line is designed to be used in a scripted environment.  There are no user prompts, and you can parse the return codes (and printed output strings) to get all the information you need to do automated processes that utilize encryption.

That said, you do need to write your own workflow and file handling, based on the particulars of your environment.  There are companies that have developed workflow solutions around PGP Command Line (see for example the offerings from Cryptosoft,



David Finkelstein

Symantec R&D