I am creating a Google App Engine web app to "transform" files of 10K~50M
Scenario:
- User opens http://fixdeck.appspot.com in web browser
- User clicks on "Browse", select file, submits
- Servlet loads file as an InputStream
- Servlet transforms file
- Servlet saves file as an OutputStream
- The user's browser receives the transformed file and asks where to save it, directly as a response to the request in step 2
(For now I did not implement step 4, the servlet sends the file back without transforming it.)
Problem: It works for 15MB files but not for a 40MB file, saying: "Error: Request Entity Too Large. Your client issued a request that was too large."
Is there any workaround against this?
Source code: https://github.com/nicolas-raoul/transdeck
Rationale: http://code.google.com/p/ankidroid/issues/detail?id=697
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…