Sure:

<cfhttp url="http://www.google.com/logos/sesame_street_ensemble-hp.jpg";
getasbinary="yes">

<cfdirectory action="list" name="list" directory="#expandPath('.')#"  />

<cffile action="write" file="g.jpg" output="#cfhttp.filecontent#">

<cffile action="readbinary" file="g.jpg" variable="z">

<cfcontent type="image/jpeg" variable="#z#">



Paul.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
Vince Bonfanti
Sent: Tuesday, November 10, 2009 11:00 AM
To: [email protected]
Subject: [OpenBD] Re: Open BD GAE VFS


The CFDIRECTORY listing appears to be incorrect, so this could be a
bug. Can you show me the code you're running?

Vince

On Mon, Nov 9, 2009 at 8:02 PM, Paul Kukiel <[email protected]> wrote:
> I have OpenBD on GAE.
>
>
>
> I used cfhttp to get a file ( picture.png ) I then used cffile to write
this
> to the VFS.
>
>
>
> cfdirectory lists the file here:
>
>
>
>
/base/data/home/apps/myapp/1.337642045380650872/gae:/base/data/home/apps/web
sheppaul/1.337642045380650872
>
> As z.png
>
>
>
> How can I then reference that file so I can then use z.png as an image ie
> <img src="somePath" />
>
>
>
> Paul.
>
>




--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to