Max file size for CSWeb?

Discussions about creating CAPI applications to run on Android devices
Post Reply
hannau
Posts: 4
Joined: April 30th, 2020, 4:08 pm

Max file size for CSWeb?

Post by hannau » October 9th, 2020, 7:41 pm

Hello, I tried to upload a .pen file to CSWeb and it kept on giving me an error. I tried a smaller file, and it worked, so I am assuming that it's the file's size. Is there a max size for uploaded files? The .pen file is 4.5mb, and I think it's so large because I have a few value sets with images. thank you!

josh
Posts: 2379
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Max file size for CSWeb?

Post by josh » October 10th, 2020, 8:21 am

CSWeb itself does not set a limit on the size of a file but PHP has some settings that limit the size of uploads such as post_max_size or upload_max_filesize. If you look in the log files on the client and server there should be an error message that indicates which, if any, of the limits you have exceeded and you can then update the PHP configuration appropriately. You also may want to consider reducing the resolution of the images to keep the file size down and use a compressed format like jpeg.

Post Reply