I tried the below code with the "resolve" and it still won't work yet if I 
enter in any other url it works for example www.adobe.com.



<cfhttp method="get" 
url="http://expatonline.community.everyone.net/commun_v3/scripts/directory.pl">

<cfoutput>
#CFHTTP.FileContent#
</cfoutput>


It must be the version of CF running on the server at the ISP.

At 03:57 PM 3/30/2001 -0600, Dave Cahall wrote:
>David,
>
>The issue here (from the original post) was trying to determine why the 
>CFHTTP command was not working properly.  Those of us who were attempting 
>to help the original poster, are not getting 404 errors.  Please try to 
>remember that this is a ColdFusion list and people who post here are 
>trying to get answers as to why their ColdFusion code is not working.
>
>There historically have been some problems with CFHTTP.  As an example, if 
>the server you are trying to access has challenge-response turned on, 
>CFHTTP will not work.
>
>What is the version of CF being run?  If it is prior to CF 4.5 SP2, you 
>may indeed be dealing with a problem server.
>
>On Fri, 30 Mar 2001 15:44:10 -0600 "David L. Penton" 
><<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> writes:
>The browser has nothing to do with it.  I took the URL in question and 
>placed it in a script I wrote using the Microsoft.XMLHTTP component and it 
>retrieves the correct data.  There are other components out there that can 
>do this (ASPHTTP for example, and it does not require ASP to be used - 
>only COM compliant clients) but they are not equal.  What happens is 
>certain urls in the Response Text are not resolved properly in the Inet 
>feed from the site
>(in this case, 
><http://expatonline.community.everyone.net/community/scripts/director>http://expatonline.community.everyone.net/community/scripts/director
> 
>) and the resultant text becomes a 404 error or something else just as 
>cryptic.  Perhaps you should look into using anoth method to make your 
>HTTP feeds? (like Microsoft.XMLHTTP or some other Inet server)
>
>hth...
>
>David L. Penton, MCP
>Consultant
>"Mathematics is music for the mind, and Music is Mathematics for the Soul. 
>- J.S. Bach"
><mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf 
>Of Dave Cahall
>
>I tried that and it still did not work for me.
>
>Just out of curiosity, what browser are you using?
>
>On Fri, 30 Mar 2001 15:03:43 -0600 Robert Hinojosa 
><<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> writes:
>
>Take out resolveurl="yes"  it will work then.
>
>Robert Hinojosa
>Senior WebDeveloper
>[EMAIL PROTECTED]
>www.hencie.com
>972-671-0011 ext.284
>         :-----Original Message-----
>         :From: Dave Cahall [<mailto:[EMAIL PROTECTED]>mailto:[EMAIL PROTECTED]]
>         :
>         :Interesting.  I tried your code and get a "connection
>         :failed" message.  I
>         :also tried it in the browser and it worked fine.
>         :On Fri, 30 Mar 2001 12:39:39 -0800 Philip Humeniuk
>         :<[EMAIL PROTECTED]>
>         :writes:
>         :>
>         :>
>         :> I'm stummped.
>         :>
>         :> I have the following tag just in my site just for
>         :testing and it
>         :> works OK.
>         :>
>         :> <cfhttp method="get" 
> url="<http://www.adobe.com>http://www.adobe.com"
>         :resolveurl="yes">
>         :>
>         :> <cfoutput>#CFHTTP.FileContent#</cfoutput>
>         :>
>         :>
>         :> When I insert the URL that I really want it doesn't
>         :work. Yet if I
>         :> cut and
>         :> paste the URL in a any browser it works ok.
>         :> Is there something additional I need to add to the
>         :CFHTTP tag?
>         :>
>         :> <cfhttp method="get"
>         :>
> 
>:url="<http://expatonline.community.everyone.net/communit>http://expatonline.community.everyone.net/communit
> 
>
>         :y/scripts/director
>         :y.pl"
>         :>
>         :> resolveurl="yes">
>         :>
>         :> <cfoutput>#CFHTTP.FileContent#</cfoutput>
>
>


-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to