Good news. I have gotten the file upload to work with a little help
from Adam. Now, how might one go about getting information like the
file name, size, ect. Here's what we did.

On upload:
toBase64(fileReadBinary(arguments.file))

We stored that in a cfc and wrote it to the DB. The problem is that
arguments.file looks like this:

gae:///home/seven/code/gae/blueclient/admin/tmp/Jetty_127_0_0_1_8081_admin____.cdehk/upld56230.tmp

How can I pull more information from this?

On Mar 29, 4:23 pm, "Alan Williamson" <[email protected]> wrote:
> Aah no, that shouldn't actually give you the results you think it should.
>
> I will explain tomorrow, but basically, GAE has no usable file space, we are 
> fudging it by storing to the data store.
>
> Confusing I know, but these are the limitations placed on us with this 
> platform.
>
> You have to treat the gae:// space like a completely remote mount point and 
> do all your FileXXX() using that protocol specification.
>
> --
>  http://alan.blog-city.com/
>
> -----Original Message-----
> From: james <[email protected]>
>
> Sender: [email protected]
> Date: Tue, 29 Mar 2011 14:20:21
> To: Open BlueDragon<[email protected]>
> Reply-To: [email protected]
> Subject: [OpenBD] Re: GAE File Upload Woes
>
> I'm trying this on openBd desktop and no joy. The form now seems to
> submit the file but it won't
> save. If you remove the cfdirectory create the uploaded file seems to
> go nowhere.
>
> Shouldn't something as simple as this work:
>
> <cffile action="write" file="soap.txt" output="All your snakes are
> belong to me" />
> <cfdirectory action="list" directory="." name="allFiles" />
> <cfdump var="#allFiles#">
>
> As Jesse hinted at in his servlet mappings the openBD desktop doesn't
> list gavfs in the web.xml.
> Any attempt to update this file gets over-written when openbd desktop
> restarts.
>
> Thanks all.
>
> --
> official tag/function reference:http://openbd.org/manual/
>  mailing list -http://groups.google.com/group/openbd?hl=en
>
>

-- 
official tag/function reference: http://openbd.org/manual/
 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to