Results 1 to 6 of 6

Thread: What Is the Path For Folder Outside "Public_HTML"?

  1. #1
    Join Date
    May 2010
    Location
    San Antonio
    Posts
    215

    Default What Is the Path For Folder Outside "Public_HTML"?

    I sorta asked this in another post but this one is more specific. Does anyone know how to reference the location of a folder (say, "downloads") that is located under the root web directory, and NOT under "public_html"?

    A guide I'm reading uses "/home/myaccount/downloads" as an example. But I can't figure out how to tailor that to my own site.

    Cheers!

    Ken

  2. #2

    Default

    This would depend on how your host has the server setup. But on a typical Apache server, the path would look something like this:

    /home/your-username/your-download-location

    So on a real site with a username of testcom, and a directory called downloads, outside of public_html, it might look like this:

    /home/testcom/downloads

    If that doesn't look right on your server, you can use an FTP client, like FireFTP, a Firefox addon, and navigate to the downloads directory. You can then see the path in the FTP window, on the remote side, after the /home/username/.

  3. #3
    Join Date
    May 2010
    Location
    San Antonio
    Posts
    215

    Default

    Thanks Michelle. I used that (confirmed at my c-panel) format and am still having a problem with the system I'm trying to use, $7 Secrets.

    It doesn't help that the 7S site has been hacked (some religious message). Sigh. Did I break the internet....again?

    Ken

  4. #4
    Join Date
    May 2010
    Location
    San Antonio
    Posts
    215

    Default

    I got it! It was just that the script example had a slash in front of the "home," but the way the script was written, it didn't need the slash.

    Thanks!

    Ken

  5. #5

    Default

    Yep, it's the little "/" or ";" that can make the biggest messes in your scripts.

    Glad you got it working!

  6. #6

    Default

    This varies according to server set up. On an Apache server it looks like
    Home/username/download location
    If not, you can use an FTP client and navigate the downloads directory.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •