Max file size for CSWeb?

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

Max file size for CSWeb?

Post by hannau »

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: 2401
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: Max file size for CSWeb?

Post by josh »

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.
emmayashri
Posts: 6
Joined: April 9th, 2024, 3:45 am
Location: India

Re: Max file size for CSWeb?

Post by emmayashri »

hannau wrote: 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!
Hey hi, you should reduce image resolution and size by any online application such as Jpeg compressor and always use compressed formats like JPEG for smaller file sizes.
Post Reply