Hi Marzia, I'm trying out swfupload, which seems to do the trick. But adding the swfupload flash movie makes my upload page a fair bit heavier, and with Flash 10 you actually have to use a real Flash button, etc, so pretty it is not. Shame one can't get the file size in JS.
Still, app specific error pages would be awesome, most of my (potential) customers are not "Connection Interrupted" proof. Thanks, Gijsbert On Nov 17, 5:34 pm, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > Hi Gijsbert, > > Unfortunately, javascript doesn't allow you to have access to the client's > files to check the size, but if you used Flash, Gears, or Silverlight, you > could write a client side check on the file size. > > This is a good feature request, though large file support is currently being > worked on, and is on our roadmap to release in the next few > months:http://code.google.com/appengine/docs/roadmap.html > > -Marzia > > On Fri, Nov 14, 2008 at 9:02 PM, Gijsbert <[EMAIL PROTECTED]>wrote: > > > > > Hi, > > > I have an app that allows uploading images and of course some people > > try to upload larger than 1MB images. I don't mind the limit, but the > > error "Connection Interrupted > > The connection to the server was reset while the page was loading." is > > not very helpful. > > Would it be possible for the server to say that the request is too > > large? > > Or even better if the server would redirect to myapp/ > > requestTooLarger.html so I could return an error page that my users > > would understand. > > I've tried adding javascript to check the file size but that is not > > possible AFAIK due to security restrictions in browsers (so painful: > > ( to figure out). > > Cheers, > > Gijsbert > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en -~----------~----~----~----~------~----~------~--~---
