Support » Plugin: File Away » Directories outside of public_html

  • Resolved wpfella

    (@wpfella)


    I would love to be able to have download links to files in a folder outside of the public web directory. [[[../../filebox/_dev/pdf]]] works beautifully displaying and linking the filenames, but doesn’t link to an actual file. I like the plugin and especially appreciate fact that the developer is actively involved in it’s support in the forums.

    https://wordpress.org/plugins/file-away/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author thomstark

    (@thomstark)

    Do you have Directory tree mode enabled? Using ../ will not work with directory tree mode. This is a built in security feature to prevent users tampering with files outside the targeted directories.

    I’ve tried with directory tree disabled and enabled, with Manager mode on and off. Here’s an example link: http://music.harvestlive.net/filebox/_dev/pdf/a_woman_who_fears_the_lord_lyr.pdf It behaves as if there’s a file to download but returns a “Failed – No file”

    Plugin Author thomstark

    (@thomstark)

    Ok. I’ll look into it for the next update. If I can fix the issue, it will still only be functional with directory tree and manager mode turned off.

    Plugin Author thomstark

    (@thomstark)

    It could be a permissions issue on your server.

    Plugin Author thomstark

    (@thomstark)

    Because that is a direct link you provided, and it doesn’t link to a file. Check your folder and individual file permissions. Someone else had this problem recently with “Failed – No File,” and it was a permissions issue, not a File Away issue.

    Plugin Author thomstark

    (@thomstark)

    Yeah, I just tested a regular table with directories and manager mode disabled, and I used “../../” for my subdirectory, and everything downloaded fine. I’m pretty sure your problem is a permissions issue. I’m resolving the thread for now. Please change the status if I’m wrong.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Directories outside of public_html’ is closed to new replies.