[thelist] Cold Fusion: cfhttp

Drew Shiel ashiel at sportsinteraction.com
Fri Apr 30 09:01:31 CDT 2004


At 14:38 30/04/2004, Joshua Olson wrote:

> > But I'm getting only "Connection Failure" in cfhttp.filecontent. The url
> > resolves fine in a browser, and has content.
>
>Drew,
>
>That URL construct is, IIRC, a proprietary extension added by IE.  Behind
>the scenes, IE uses that information to negotiate security with the server.

   Hm. It works in Firefox, although that may well of course be Firefox 
being nice rather than IE not being awkward. I'll look into that, and stick 
with the username and password parameters anyway.

>I always had better luck by using MS's COM objects for connection to
>servers.  Specifically, take a look at XMLHTTP and WinHTTP.  WinHTTP is
>somewhat older and may be difficult to find.
>
>Here's an example showing XMLHTTP in action.  It's vbscript, but the
>concepts are all the same:
>
>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_
>exch2k_copying_items_http.asp

   I'll trot over that way and have a look.

   Cheers!
   Drew.
-------------- next part --------------

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.670 / Virus Database: 432 - Release Date: 27/04/2004


More information about the thelist mailing list