When the below line is run from a command prompt, it works flawlessly.

c:\pgpnt\pgp.exe -e -a c:\pgpnt\scratch\myfile.txt [EMAIL PROTECTED] -o
c:\pgpnt\history\myfile.asc 

When I run the following, it does create a text file.

<cfexecute name="c:\pgpnt\pgp.exe"
arguments="-e -a c:\pgpnt\scratch\myfile.txt [EMAIL PROTECTED]"
outputfile="c:\pgpnt\history\myfile.asc" timeout="0" />   

But, when you open the file in a text editor there is no encrypted data and you
see the following error:

Cannot find the public key matching userid '[EMAIL PROTECTED]'

This leads me to believe that ColdFusion is doing something funky with pathing
behind the scenes.  Am I to assume that when CF runs cfexecute that it is not
effectively "the command prompt"?

--Jeff

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to