Matt,
I'm not sure what you have going there. I ran your code and the
first instance errored with this message:
"A CFHttp.Filecontent variable is not created if a file path is
specified." Pretty self explanatory. The file is created so if you do a
cfinclude after the cfhttp, the page is displayed. The second instance
works like a charm.

Greg

-----Original Message-----
From: Matt Robertson [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 22, 2004 2:06 PM
To: CF-Talk
Subject: CFHTTP: died in 6.1?

I've never had a problem with cfhttp, but not so long ago I upgraded
from 4.5.1sp2 to 6.1.  Haven't had occasion to try it out, buit it
appears that cfhttp is dead as a doornail.  You can try this template
from my site at http://mysecretbase.com/test.cfm

As you can see if you run it, both attempts return nothing more than a
connection timeout.   And note the loony connection timeout parameter.
Even though it is set at 200 seconds (out of frustration), it fails in
about 3.  My server logs show *nothing*

What am I doing wrong?  What has changed?  The code for that template is
below.

<cfhttp
url=""> method="GET"
path="z:\my\path\goeshere\"
file="save_on_test.html"
resolveurl="false"
timeout="200"
port="80">
</cfhttp>
<cfoutput>#cfhttp.filecontent#<hr>#cfhttp.errorDetail#</cfoutput>
<ht><hr>
<cfhttp
url=""> method="GET"
timeout="10"
resolveurl="YES">
</cfhttp>
<cfoutput>#cfhttp.filecontent#<hr>#cfhttp.errorDetail#</cfoutput>

--------------------------------------------
Matt Robertson       [EMAIL PROTECTED]
MSB Designs, Inc.  http://mysecretbase.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to