> -----Original Message-----
> From: Scott Stewart [mailto:[EMAIL PROTECTED]
> Sent: Saturday, February 17, 2007 12:11 PM
> To: CF-Talk
> Subject: Re: Using wget to execute .cfm files
> 
> When we run the template (it's supposed to upload data from an Excel
> spreadsheet to a database) wget returns HTML, like it tried to do a direct
> read of the template instead of executing the contents via the ColdFusion
> server.
> 
> The tempmlate works when it's called from a browser.

Is the URL you're using in the batch file the same as the URL you use in the
browser?

You have to call the template via the web server, not the file system.  If
you do the latter then you'll just get the file - CF will never run.

Jim Davis



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion

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

Reply via email to