encrypting Unix flatfile

Hi,

I am new to unix. I have a flat file that needs to be pgp encyrpted in ASCII format and ftped in Ascii format to remote location.

Can any one tell me the steps involved in the pgp encryption of the unix file. I will really appreciate if any one can help me with the pgp encryption shell script.

Thanks
Raj

well 1st you have to buy pgp if it is for commercial use. 2nd pgp does not support scripted encryption anymore.

your alternative that is very similure to PGP is GNUPGP. http://www.gnupg.org/

the instructions are very clear on how to install it and how to get it up and running and it also supports use it from scripts.

i have used GNU PGP a couple of times and i even scripted w/ it useing perl.

for documentation on how to use perl w/ gnuPGP you can check out cpan.org