Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2006
    Location
    Connecticut, USA
    Posts
    5
    Plugin Contributions
    0

    Default change the download directory

    1) Is is possible to change the "/download" directory for downloadable products?

    2) If so, is it possible to have it exist on another domain?

    Thanks for any advice,

    -Volkman

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: change the download directory

    1. You're referring to a folder named "download" where the ORIGINAL files are stored for customers to purchase.
    To clarify, this is NOT (necessarily) the folder FROM WHICH the customer actually downloads the files (unless your server is very old and very ill-equipped such that it can't serve files in the more contemporary more secure more efficient default way of redirecting to another folder (usually /pub) for download).

    To answer the technical question: yes, the physical folder can be relocated to another folder on the same server. Again, this normally should have nothing to do whatsoever with where the customer downloads the file FROM, if the server is actually operating in a secure manner.

    2. In ZC v1.5.1 and older there is no built-in facility for storing those files on another server, because it needs physical access to those files to determine size and existence in order to set the proper download headers and also for controlling how many times the customer has downloaded or has access to download, etc. Storing it elsewhere would eliminate all ability to handle security and minimize theft.

    Why are you asking? Is this a bandwidth issue? or is it a disk-space/storage issue? Or is it something else?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Sep 2006
    Location
    Connecticut, USA
    Posts
    5
    Plugin Contributions
    0

    Default Re: change the download directory

    Thanks for the info DrByte.

    We've been selling downloadable files for awhile and were running out of server space on our account and when I requested more space from our ISP they inquired about what we were doing and how much our need for space would be growing. Since we produce music and seldom delete files, we see the need for space only growing.

    Our ISP then inquired about being able to feed from another server. They had a couple solutions, but wanted to explore that possibility first. Looks like we're opting for Plan B. Thanks again!

 

 

Similar Threads

  1. Change the download directory to a different Server
    By p-plater in forum Setting Up Categories, Products, Attributes
    Replies: 11
    Last Post: 7 Jan 2013, 05:25 AM
  2. Moving the download directory
    By SGilligan in forum General Questions
    Replies: 4
    Last Post: 12 Dec 2010, 06:43 PM
  3. creating the download directory
    By deemurphy in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 9 May 2009, 03:23 PM
  4. Changing the download directory
    By tiberall in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Apr 2009, 08:52 PM
  5. How Do You Change Download Directory?
    By nepton in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Sep 2006, 06:58 AM

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