💡 Learn how you can upload files to your board: Uploading Files to Boards, Ways to Add Content. The restriction for image and PDF dimensions is 8192x4096 pixels. The maximum image resolution (from any source) is 32 MP. Please note that the maximum file size uploaded to the board from any source is 30 MB. Files that can be uploaded to the board from your device or the web File typeÄ«mp, gif, svg (as a solid image), jpeg, jpg, png, psd, heic, heif Here's the code: $zip = new ZipArchive() This will eventually be over the web, but I'm checking the actual zip file it makes on the server and that's where I'm getting the error. Here is the filename that does not work:Äoesn't seem like it could be a filename issue. Yes, there are spaces in the filenames.inherited code issue. Here are examples of filenames that are working fine: There are others that work that are as big or bigger, so I guess throw out that thought. I've narrowed it down to one specific file that is causing trouble.
Any thoughts on other things to try, so I can track down this problem? Thanks. But the "large" file is only about half a megabyte, and I can't find any documentation about a file size limit for zipArchive. The only thing I can think of is that the larger files are causing problems. I've checked all the files I'm adding, they are all good. But if I put some files into the archive, then when I try to open it, I get the error "the compressed (zipped) folder is invalid or corrupted". I get no errors from PHP or from checking the zipArchive class's GetStatusString function. I'm creating a zip file in PHP for the user to download.