WP2Static missing ZIP file in uploads after deploy

Hi, we are using WP2Static at devel environment, and deploy goes to Github to production static environment. Everything works ok. Except for one use case.

When I uploaded the ZIP file at devel via standard WP media library (folder /wp-content/uploads/…), the ZIP file is not transferred to the production environment after development via WP2Static. Every other file, like images, PDFs, Docx yes, but ZIP file no.

Do you know where could be a problem, please?

Thank you.

WP2Static excludes certain files by default, including zip files. #833 will add an option to change which files are ignored.

If you need a temporary workaround until #833 is in, you can remove the .zip line in FilesHelper.php.

1 Like