Page 1 of 1

Max file size for CSWeb?

Posted: October 9th, 2020, 7:41 pm
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!

Re: Max file size for CSWeb?

Posted: October 10th, 2020, 8:21 am
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.