Expand my Community achievements bar.

facing issues to upload large files in S3 bucket using servlet in AEM facing issues any idea?

Avatar

Level 1

please share how can we do that step by step

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Level 1

@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.