Make sure you are using the entire path to "wget" or "curl".  SQL Server may 
not know where those programs reside on your server.
 
Then, test it in a command window before trying it in a stored proc.
 
M!ke

  _____  

From: Discover Antartica [mailto:[EMAIL PROTECTED]
Sent: Sat 1/26/2008 7:05 AM
To: CF-Talk
Subject: Re: is it possible to open cfml page from sql server stored procedure?



I am using CF8.
Can you send me the syntax for using wget or cURL?

I tried the following and it gave me an error:
EXEC master..xp_cmdshell 'cURL http://www.mywebsite.com' 
<http://www.mywebsite.com'/> 

The error i got was:
'cURL' is not recognized as an internal or external command,
operable program or batch file.

Thanks

----- Original Message ----
From: Terry Schmitt <[EMAIL PROTECTED]>
To: CF-Talk <[email protected]>
Sent: Friday, January 25, 2008 4:08:29 PM
Subject: Re: is it possible to open cfml page from sql server stored procedure?

You didn't specify the CF version, but for CF6+ use wget or cURL.
In the old days with CF5 (and still for me) you can actually execute the CF 
executable with the page as a parameter.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297520
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to