Syntax I us
<cfset args = "+batchmode +force #ftpfile#.pgp -o
C:\internet\import\#ftpfilename# -z /putyourkeyhere"/>
<cfexecute name="C:\Program Files\Network
Associates\PGPNT\pgp.exe" arguments="#args#" timeout="20"></cfexecute>
FYI
<cfset ftpfile = feed.ftp_path & feed.ftp_filename />
<cfset ftpfilename = feed.ftp_filename />
so this would be the full path to file and the filename, we store the
filename in the database. Since some files we received have pgp and
some don't the filename is always stored as foo.txt .. if we see it has
PGP we just tack it on like above.
Jake Pilgrim wrote:
> So how does a person go about decrypting PGP via Coldfusion?
>
> Jake
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284509
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4