WordPress.org

Forums

File Away
[resolved] List files in another hard drive or web location (6 posts)

  1. Nomulus
    Member
    Posted 1 year ago #

    Hi,

    I've been using File Away with success, although I was wondering if it were possible to list files in another server or hdd (I'm running a local intranet) or from a web directory not related to the root wordpress folder.

    Whilst I have the PHP skills of a chimp, it seems all directories are locked to the WP root folder via ABSPATH. Is there anyway I can make File Away point to any location either locally or online?

    Great plugin,
    Cheers.

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

  2. thomstark
    Member
    Plugin Author

    Posted 1 year ago #

    To go outside the WordPress installation directory, On the File Away settings page, just enter something like this into one of your Base Directory fields:

    ../outside_directory_name/whatever

    Do this: ../ for every step back you want to take outside of the WordPress installation directory.

  3. soegaard2000
    Member
    Posted 1 year ago #

    Hi,

    I don't quite understand the description above.
    I can't delete the predefined "/public_html/xxxx/" in the Base Directory settings?
    Can you give an example how to do if I would like to read from an external address such as: xxxx.xxxxx.com/docs/doc-folder/

    Thanks :-)

  4. thomstark
    Member
    Plugin Author

    Posted 1 year ago #

    It's a WordPress plugin. Listing files from another server simply will not be part of File Away's bag of tricks. Sorry.

  5. soegaard2000
    Member
    Posted 1 year ago #

    Ok, thanks. I guess I got a little confused about the "../" thing ;-)

    Thanks for quick help.

  6. thomstark
    Member
    Plugin Author

    Posted 1 year ago #

    The ../ thing will allow you to point to files outside your WP install directory. Not to another server.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • File Away
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic