Support

Account

Home Forums General Issues Need to upload a folder of files or a zip (to then be automatically unzipped) Reply To: Need to upload a folder of files or a zip (to then be automatically unzipped)

  • Hi @arkid77

    I’m afraid this needs heavy modification to work well.

    ACF doesn’t have the multi-files upload feature. For something like that, you need to use repeater field instead. But this still means that you need to select the files one by one.

    Also, the uploaded fields via ACF will always be registered on the media page unless you delete it after the files are successfully uploaded.

    Regarding the zipped file, you can use the acf/save_post action to modify the uploaded file after a post is saved. To unzip the file, kindly check this function: https://codex.wordpress.org/Function_Reference/unzip_file.

    I hope this makes sense 🙂