Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2007
    Posts
    26
    Plugin Contributions
    0

    Default Changing the downloads folder location

    So I'm running the newest version. I have my downloads (thousands of them) in a different directory than the downloads folder. I need to tell zen cart where to find these files. I've done this before in older versions, however, the new config files look different than the instructions that are given.

    This is what is says to do-

    You’ll need to edit the line that says this:

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    to look something like this:

    define('DIR_FS_DOWNLOAD', '/home/my_user_name/download/');


    However, this is what it looks like in the config files

    define('DIR_FS_DOWNLOAD' ...

    I tried using the above method but it didn't work. Is there another workaround that I just can't figure out? Any help would be appreciated!

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,106
    Plugin Contributions
    11

    Default Re: Changing the downloads folder location

    Have you taken a look at the docs and this article?

    https://docs.zen-cart.com/user/secur...wnload_folder/

  3. #3
    Join Date
    Dec 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: Changing the downloads folder location

    Quote Originally Posted by dbltoe View Post
    Have you taken a look at the docs and this article?

    https://docs.zen-cart.com/user/secur...wnload_folder/
    Yes I have. That is where I got the directions that I copied and pasted in my original thread. The config files no longer look like the instructions given and I can't get it to work with those directions.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: Changing the downloads folder location

    The line that sets DIR_FS_DOWNLOAD is no longer included - you have to ADD it to your configure files.

    I'll get this fixed in the doc soon.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,669
    Plugin Contributions
    11

    Default Re: Changing the downloads folder location

    Quote Originally Posted by KarenLR View Post
    So I'm running the newest version. I have my downloads (thousands of them) in a different directory than the downloads folder. I need to tell zen cart where to find these files. I've done this before in older versions, however, the new config files look different than the instructions that are given.

    This is what is says to do-

    You’ll need to edit the line that says this:

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

    to look something like this:

    define('DIR_FS_DOWNLOAD', '/home/my_user_name/download/');


    However, this is what it looks like in the config files

    define('DIR_FS_DOWNLOAD' ...

    I tried using the above method but it didn't work. Is there another workaround that I just can't figure out? Any help would be appreciated!
    in fact in the config it looks like this:

    PHP Code:
    // define('DIR_FS_DOWNLOAD' ... 
    very different from what you posted.

    it is safe to ignore that line, and you add your line, anywhere in the configure.php file like so:

    PHP Code:
    define('DIR_FS_DOWNLOAD''/home/my_user_name/download/'); 
    and you should be fine.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: Changing the downloads folder location

    She was quoting from the doc which hadn't been updated with the 1.5.5 changes.
    The documentation is now up to date.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    Dec 2007
    Posts
    26
    Plugin Contributions
    0

    Default Re: Changing the downloads folder location

    Thanks everyone! I'll add the line.

 

 

Similar Threads

  1. Setting up downloads Above the Root folder
    By dharrison in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 22 Jul 2011, 02:29 PM
  2. Securing the Downloads Folder
    By ScriptJunkie in forum General Questions
    Replies: 3
    Last Post: 16 Mar 2011, 05:17 PM
  3. Error changing downloads folder location
    By jedpak in forum General Questions
    Replies: 3
    Last Post: 23 Sep 2010, 09:58 PM
  4. Changing download folder location
    By anitalee in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 29 Jul 2006, 04:05 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR