Actually, I tried simple files without spaces also and they failed
too.  When I hit your photo I noticed execellent response time...have
you noticed any particular degradation when displaying lists of
photos, for example?

On Oct 22, 3:58 pm, Diana Cruise <diana.l.cru...@gmail.com> wrote:
> Thanks Baz.
>
> Vince, I hit your demo site and just entered a path like /gaevfs/mypic
> or /gaevfs/images/mypic, then selected a local small photo.  On
> submitting the form, received the 500 error...perhaps the photo had
> spaces in the name?
>
> On Oct 22, 3:10 pm, Vince Bonfanti <vbonfa...@gmail.com> wrote:
>
>
>
> > You were unable to upload a small photo on my demo site, or in your
> > development environment? I just successfully uploaded an image to the
> > demo site, which you can download from here:
>
> >    http://gaevfs.appspot.com/gaevfs/images/
>
> > Yes, the images get stored in "blocks" of 1MB or less. GaeVFS
> > implements a virtual file system, so you refer to the file using URL
> > links, just as you would for a static file. For example, here's an
> > image I just uploaded:
>
> >    http://gaevfs.appspot.com/gaevfs/images/img4.jpg
>
> > The GaeVfsServlet handles both upload and download, and demonstrates
> > how this is done:
>
> >    http://code.google.com/p/gaevfs/source/browse/trunk/src/com/newatlant...
>
> > The GaeVfsServlet also handles setting the content type for the response.
>
> > Vince
>
> > On Thu, Oct 22, 2009 at 3:04 PM, Diana Cruise <diana.l.cru...@gmail.com> 
> > wrote:
>
> > > Vince, I was unable to upload small photos...getting error code 500!
>
> > > What is the basic principle behind this solution?  It appears you are
> > > storing the file in datastore in increments of 1M or less...along the
> > > lines of what Raphael was getting at.  How do you display a list of
> > > images from the datastore on a webpage?
>
> > > On Oct 22, 1:33 pm, Vince Bonfanti <vbonfa...@gmail.com> wrote:
> > >> Hi Diana,
>
> > >> I've created GaeVFS to solve this problem:
>
> > >>    http://code.google.com/p/gaevfs/
>
> > >> You can view a demonstration here:
>
> > >>    http://gaevfs.appspot.com/
>
> > >> Note that the current released version (0.3) will only upload about
> > >> 2.0MB before timing out; the latest code in SVN will support the full
> > >> 10.0MB allowed by Google App Engine.
>
> > >> There's a feature on the roadmap called "Service for storing and
> > >> serving large files," but there's apparently no additional information
> > >> available on this feature:
>
> > >>    http://code.google.com/appengine/docs/roadmap.html
>
> > >> Vince
>
> > >> On Thu, Oct 22, 2009 at 1:55 PM, Diana Cruise <diana.l.cru...@gmail.com> 
> > >> wrote:
>
> > >> > What options do I have in GAE to allow Users to upload, store, and
> > >> > view media (photos, video, audio, etc) from my within my application?
>
> > >> > Is there a special data type in datastore that would be used to store
> > >> > media?  If I store a media item in datastore then how do I display it
> > >> > to the User?  In a regular app server, I would do this as a static
> > >> > file reference where I first transfer the data from the database to a
> > >> > file accessible under webroot (if it is not already present).  But in
> > >> > GAE the application can NOT create files in the static area due to
> > >> > permissions...so is there another technique to accomplish this?
>
> > >> > Would videos best be served indirectly via youtube?  If so, how do I
> > >> > know they will NOT be removed prematurely by youtube?
>
> > >> > Thanks.- Hide quoted text -
>
> > >> - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to