• Resolved Darlinghissima

    (@darlinghissima)


    Hi. I need a plugin which lists the files that I have uploaded in a folder *outside* the wordpress installation, like: public_html/repository/photos and automatically updates the list when I upload a new file.

    Can I use “Simple File List” to achieve this result?

    Thanks! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mitchell Bennis

    (@eemitch)

    If your WordPress home folder is public_html, then it will work. If it’s within a sub-folder of public_html, then it will not. The file list folder must relative to ABSPATH, aka the WordPress home folder.

    A work-around would be to install a second copy of WordPress in repository or above.

    Thread Starter Darlinghissima

    (@darlinghissima)

    Thank you, unfortunately my WordPress home is in public_html/wp and I cannot do the trick you have kindly suggested… ??

    If you like, would you explain why what seems to me a very simple feature, that is display the folder’s list of files uploaded via ftp, is not implemented – for what I know – in any WordPress plugin unless the folder is inside the WP home?

    Thanks again! ??

    Plugin Author Mitchell Bennis

    (@eemitch)

    A fair question. The reason is due to security concerns. WordPress can reside in the top-most public folder. If I allowed users to go above this level and off to who knows where, bad things could happen. So for purely security concerns, I limit the file list folder’s location to levels below the WordPress home folder.

    I would suggest you move your site up to public_html, the top-most public folder for your domain. This is a five minute process. Then you can use the repository directory tree as you wish.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘custom folder outside wordpress’ is closed to new replies.