That's the most GAE will let you upload in one request (for now). Again, there's a "Service for storing and serving large files" feature on the roadmap, but the details of this feature have not be revealed.
Vince On Thu, Oct 22, 2009 at 7:40 PM, Diana Cruise <[email protected]> wrote: > > What is the nature of the 10Mb limit again? > > On Oct 22, 6:38 pm, Diana Cruise <[email protected]> wrote: >> Yes, that worked ok from another system so it must be an IE7 >> problem...good catch! >> >> On Oct 22, 5:55 pm, Vince Bonfanti <[email protected]> wrote: >> >> >> >> > Can you try a different browser? From the logs it looks like you're >> > using IE7. I just tried with IE8, Chrome, and Firefox 3 (all on >> > Windows) and they all worked fine. Something about the path being sent >> > by the browser is causing the error--if we can narrow it to IE7 then I >> > can investigate further. >> >> > The only "degradation" I've ever seen is that larger files take longer >> > to download, which you'd expect. However, I've never done any real >> > load or stress testing. >> >> > Vince >> >> > On Thu, Oct 22, 2009 at 6:07 PM, Diana Cruise <[email protected]> >> > wrote: >> >> > > 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 <[email protected]> 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 <[email protected]> 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 >> > >> > <[email protected]> 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 <[email protected]> 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 >> > >> > >> <[email protected]> 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 -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~----------~----~----~----~------~----~------~--~---
