If I'm not mistaken, GAE filesystem is not writable your only option is
to store the file into the database
On Saturday, November 23, 2013 1:36:43 PM UTC+1, Scott Hunter wrote:
>
> Are there any issues with using the various upload-related Field options
> when runnning under GAE? In particu
Niphlod is correct - no storing on the filesystem. datastore or blobstore
to store your uploaded files on GAE.
On Saturday, November 23, 2013 11:24:31 AM UTC-8, Niphlod wrote:
>
> If I'm not mistaken, GAE filesystem is not writable your only option
> is to store the file into the database
>
OK, but the manual (page 563, 5th ed) says:
On Google App Engine, files are stored by default in the database without
> the need to define an uploadfield, since one is created by default.
Which sounds like my Sqllite-using app which has upload fields can handle
uploading files w/o modification
I am experiencing the same problem right now. I am running an application
with version 2.51 on GAE, where images are uploaded via the standard
Field('file', 'upload'),
and retrieved using the download helper, which continues to work correctly.
Today, I tried to launch an application on ver. 2.
i haven't used the default that writes to bigtable in a while, but i
believe it just works.
i use the image library against images uploaded to blobstore:
https://developers.google.com/appengine/docs/python/images/ it looks
like that has been improved to have more flexibility then when i first
that simply does not work. you'll have to write custom code to store in
blobstore or cloud storage if you don't want to keep uploaded images in
the DB.
note that images that are static that you deploy with the application
can be stored in a static folder and mapped via app.yaml to be handled
Thanks for the hint. I think, at the core it is not the problem to have the
pictures stored in the db, I just try to avoid using the download function
since it consumes a lot of processing load. Maybe, I am on a wrong way
conceptually and should find another way to cache them.
Thanks
- Stephan
7 matches
Mail list logo