All, I also wanted to add that when I telnet to port 80 on the system here is what I get back:
Begin ------------------------------------------------- telnet host.ncsu.edu 80 Trying 1.1.1.1... Connected to host.ncsu.edu. Escape character is '^]'. HEAD /design/slides/Search/getImage.cfm/0000/jack.gif HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Tue, 28 May 2002 17:03:11 GMT Content-type: image/gif Page-Completion-Status: Normal Page-Completion-Status: Normal Set-Cookie: CFID=7399; expires=Sun, 27-Sep-2037 00:00:00 GMT; path=/; domain=.1.1.1; Set-Cookie: CFMAGIC=7399%3A62418778; expires=Sun, 27-Sep-2037 00:00:00 GMT; path=/; domain=.1.1.1; Set-Cookie: CFTOKEN=62418778; expires=Sun, 27-Sep-2037 00:00:00 GMT; path=/; domain=.1.1.1; GIF89aConnection closed by foreign host. --------------------------------------------------- End Troy Philip Arnold - ASP wrote: > Not Found > The requested URL /slides/getImage.cfm/jack.gif was not found on this > server. > > Philip Arnold > Technical Director > Certified ColdFusion Developer > ASP Multimedia Limited > Switchboard: +44 (0)20 8680 8099 > Fax: +44 (0)20 8686 7911 > > www.aspmedia.co.uk > www.aspevents.net > > An ISO9001 registered company. > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > ********************************************************************** > > > -----Original Message----- > > From: Troy Simpson [mailto:[EMAIL PROTECTED]] > > Sent: 28 May 2002 17:30 > > To: CF-Talk > > Subject: Download an Image > > > > > > I want to grab an image which is located on a backend server > > and send it > > to the client browser. In this case, I can not simple send an <img > > src="" alt="" border="0"> tag in an html page (for reasons I can't get > > into and you probably do not want to hear about it anyway). > > > > In this case, I'm using <cfhttp> to get the binary file > > (image) from the > > backend server and using <cfcontent> to push the binary file to the > > client browser. Here is the code in my template: > > > > Begin getImage.cfm > > ------------------------------------------------ > > <cfsetting enablecfoutputonly="Yes" showdebugoutput="No" > > catchexceptionsbypattern="No"> > > > > <cfhttp url="http://www.ncsu.edu/design/slides/AccessDenied.gif" > > method="GET" resolveurl="false"></cfhttp> > > <!--- > > <pre> > > <cfoutput>#cfhttp.header#</cfoutput><br> > > <cfoutput>--'#cfhttp.FileContent#'--</cfoutput> > > </pre> > > ---> > > <cfcontent type="image/gif" > > reset="YES"><cfoutput>#cfhttp.FileContent#</cfoutput> > > ---------------------------------------------------- > > End of getImage.cfm > > > > Here is an example of a URL that one would use: > > http://www.ncsu.edu/design/slides/getImage.cfm/jack.gif > > > > All I get is a page with an outlined box in place where the > > image is to > > go. I get no image. I'm able to view the properties when I > > right click > > in the area where the image should be. > > > > Any ideas. > > Thanks. > > > > Sincerely, > > Troy > > > > > > -- > > ------------------------- > > Troy Simpson > > Applications Analyst/Programmer > > Microsoft Certified Systems Engineer > > Oracle Certified Professional DBA > > North Carolina State University Libraries > > Campus Box 7111 | Raleigh | North Carolina > > ph.919.515.3855 | fax.919.513.3330 > > E-mail: [EMAIL PROTECTED] > > > > > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm 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

