Discussions about creating CAPI applications to run on Android devices
2 posts • Page 1 of 1
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!
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.