Download
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

How to create sub-directory with “File Manager” tool

  • #6441
    Avatar photo[anonymous]

    Hi,

    Currently, we can only “Add new file” or “Upload files” with the “File Manager” but no option to make new directory e.g. media/files/pdfs/, media/files/php/, media/files/downloads/.

    I would like to know if there’s a way to create sub-directory under media/files from “File Manager” tool which I may have missed or we would need to manually create the sub-directory with FTP, cPanel, etc.

    Thanks.

    #6443
    Avatar photo[anonymous]

    Hi,

    At this moment it is not possible, but we have plans for improvements in the file manager for the next year. At this moment we focus on plugins and app localization.

    #6483
    Avatar photo[anonymous]

    Hi.
    You can create the subfolder manually from the file manager. The files you place in the subfolder will be synchronized.
    In the Publii interface you will only see the subfolder and not the contained files, but it works.

    2021-10-22-12_29_50-Publii

    2021-10-22-12_31_23-video

    #6490
    Avatar photo[anonymous]

    Hi @gpsblues,

    Thanks for your reply. Your method works as described.

    Now, I’ll just need to figure out how to code the mail.php to return messages to the AJAX helper that you mentioned in your reply to the post, https://forum.getpublii.com/topic/open-source-form-receiver-and-forwarder/ 🙂

    Cheers!