facing issues to upload large files in S3 bucket using servlet in AEM facing issues any idea? | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

May 30, 2024

@vidu_1 

Can you share the Servlet code you are trying to read the file input stream? and also share the error/exception messages.

Usually, there will be 2 multipart parameters you need to set as part of your Servlet configuration. I guess the default max size is 1MB, the below example is to set 30MB max size. 

multipart.maxFileSize=30Mb
multipart.maxRequestSize=30Mb

If you share the Servlet code you are reading the files and exception details, maybe I can try to provide the full solution.