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 google-appengine@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---