|
Hi all,
I'm trying to retrieve a list of images (gifs,
jpegs, pngs) from a webserver and save them to my harddrive. At the
moment the images, when opened on my hard drive, are black and while
fuzz... like a TV station that is not tuned in.
<cfoutput
query="ONLINE_QUESTIONS">
<cfif len(image_link) gt 0> <cfhttp url=""> </cfhttp> <p><strong>Getting:</strong> #application.online_question_image_location##IMAGE_LINK#</p> <cffile action="" output="#cfhttp.fileContent#" file="#MCQ_FOLDER#\images\#IMAGE_LINK#"> </cfif> </cfoutput> An example of the image i'm trying to
download:
Should I add a character set? or is there something
else i should do when using CFFILE to write images?
Thanks
Gav
---You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004 |
