I worked around it by looking for the error message and inserting an image
tag if it exists.  Don't know if this is the only way around, but it works .
.. .

Dave


----- Original Message -----
From: "Dave Hannum" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 2:58 PM
Subject: CFHTTP and images


I'm using CFHTTP on my CF Server to read the contents of a directory full of
images that resides on another box.  What I need to do is allow the visiter
to view the image via the script using CFHTTP (the owners don't want the
directory location to be revealed - this is for cheap security - the CF
Script requires a login to get at).  Anyway, when I click on the image link
in the CFHTTP rendered page, I get the following message instead of the
image:

                The requested file is not ASCII text and can not be
rendered.

Any work around for this?  It seems to be a CFHTTP issue vs. an output
problem with CFHTTP.FileContent.

Thanks,
Dave




===============================
David R Hannum
Ohio University
Web Analyst/Programmer
(740) 597-2524
[EMAIL PROTECTED]



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to