| -----Original Message----- | From: James Smith [mailto:[EMAIL PROTECTED] | Sent: Wednesday, October 20, 2004 12:01 | To: CF-Talk | Subject: Running tasks in a console window? | | 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.
Have you set a timeout for cfexecute, could that be the case? You could also try running something else that takes time, to pinpoint if the problem actually is curl (which I don't think... ?). You can also capture any stdout/stderr message, for instance by piping it through tee or just re-directing it to a file (from the batch-file). /H. ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:181974 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