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 is each site files structure (folder tree) on my computer?

  • #6941
    Avatar photo[anonymous]

    Hello,

    Sorry if this question is already mentioned in the forum but I couldn’t find an answer to my question

    I noticed that Publii creates a lot of files and folders (input, output, preview…) on my computer

    When I sync my site on the web server (with Publii), some folders are automatically added/updated

    Some images are stored 3 times in various folders

    How does it works? What is the logic behind it?

    Is this described somewhere?

    Since I want to allow some specific users to download some specific files, I use an ftp client (like Filezilla for example) and I would like to know what files are needed and what files are optional

    Thank you for your help

    #7024
    Avatar photo[anonymous]

    Hi,

    Yes, media files can be duplicated in these 3 folders, but it is necessary to generate final files (output) used for sync, and preview files. Trying to use media files from the input directory can lead to many potential issues with paths etc. Also not all files can be included in the output/preview so it is the only way to store files in our app at this moment.

    input – website source files (it is necessary to regenerate website using Publii)

    preview – current preview of your website (if generated)

    output – final files (they have different paths/domains than preview so must exists as a separate catalog)