James Smith wrote:
> I have a problem.  I am using cURL to upload a file with https (cfhttp
> didn't work before someone suggests that).  When I run cURL from the command
> line, it works perfectly in about 3 seconds.  If I run cURL from a batch
> file it runs fine in about 3 seconds.
> 
> If I use cfexecute to run either cURL or the batch file then the process
> fails, cURL hangs, it all goes wrong.  I can even use cffile to write the
> batch file and it works from a command line but not from cfexecute.

Can you show the code? Have you tried running the batchfile from 
the command line using "runas"?


> Is there any way to cause cfm to open a new cmd window and run the batch
> file in that instead of running it as a background process?

I would not recommend it, but if you allow CF to interact with 
the desktop and use the "runas" command it might be theoretically 
possible.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=37

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:181984
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to