I have tried... <cfexecute name="c:\path\curl.exe --arguments ......... someurl"/> <cfexecute name="c:\path\curl.exe" arguments="--arguments .........someurl"/>
Both with and without timeout variables. I have even tried... <cfexecute name="c:\windows\system32\cmd.exe" arguments="/c c:\path\curl.exe ..."/> And all produce the same result. -- Jay > -----Original Message----- > From: Craig Dudley [mailto:[EMAIL PROTECTED] > Sent: 20 October 2004 12:01 > To: CF-Talk > Subject: RE: Running tasks in a console window? > > Might be your cfexecute syntax, have you tried passing in any > arguments as an array? > > -----Original Message----- > From: James Smith [mailto:[EMAIL PROTECTED] > Sent: 20 October 2004 11: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. > > It even works fine from schtasks. > > 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? > > -- > James Smith > [EMAIL PROTECTED] > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta http://www.houseoffusion.com/banners/view.cfm?bannerid=40 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:181985 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