Title: Errors using Base &amp; Sub
Last modified: August 21, 2016

---

# Errors using Base & Sub

 *  Resolved [deepee](https://wordpress.org/support/users/deepee/)
 * (@deepee)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/errors-using-base-sub/)
 * I am trying to construct a location for files.
    The basis is having 2 main base
   directories (1 & 2). Each base directory has multiple Sub directories. This is
   the max depth.
 * I have the base directories set and working as base=1 and base=2
 * When I user the following syntax though, I get errors
    [fileaway base=1 sub=my-
   sub-dir]
 * The sub does include hyphens and no spaces.
 * The errors received are
 * Warning: scandir(path here:
    failed to open dir: No such file or directory in/
   home/xxx/public_html/wp-content/plugins/file-away/includes/file-away.php on line
   156
 * [https://wordpress.org/plugins/file-away/](https://wordpress.org/plugins/file-away/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [deepee](https://wordpress.org/support/users/deepee/)
 * (@deepee)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/errors-using-base-sub/#post-5106258)
 * I think I had an issues with paths and file names as it seems to be okay now.

Viewing 1 replies (of 1 total)

The topic ‘Errors using Base & Sub’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/file-away_e3e2e1.svg)
 * [File Away](https://wordpress.org/plugins/file-away/)
 * [Support Threads](https://wordpress.org/support/plugin/file-away/)
 * [Active Topics](https://wordpress.org/support/plugin/file-away/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/file-away/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/file-away/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [deepee](https://wordpress.org/support/users/deepee/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/errors-using-base-sub/#post-5106258)
 * Status: resolved