> I believe I have run into another snag.
> When I use <cfhttp 
> url="http://www.mydomain.com/design/slides/0202/10780.jpg"; 
> method="GET" resolveurl="false"></cfhttp> to get the image, 
> it appears that #cfhttp.FileContent# does not contain the 
> binary of the image file.  Instead, it is a text string.  
> In the case with Gif images, it is something like "GIF89a-" 
> instead of the binary of the file.
> 
> I believe that <cfhttp> can not be used to get binary files 
> from another web server? Can someone confirm this for me?

No, you can use CFHTTP to get a binary file. You just can't reference
CFHTTP.FileContent in that case. Instead, use the PATH and FILE attributes
of CFHTTP to write the file to disk.

> I wonder if <cfftp> would work?

Only if the remote server is running an FTP service.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to