Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2007
    Posts
    9
    Plugin Contributions
    0

    Default Download folder on a different server?

    Hello,

    I was wondering if it is possible to locate the download folder on a completely different server. I need to do this because my current web server does not have enough space to store all of my required downloadable files. But I do have space available at another address.

    I did read the FAQ about moving the download folder outside of the web root folder, but nothing was mentioned about moving it to a completely different server.

    Thanks,
    Chris

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

    Default Re: Download folder on a different server?

    Zen Cart does not currently support serving downloads from an external location, as there is no built-in way to ensure that download counts and security are managed externally at the present time.
    .

    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
    Nov 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Download folder on a different server?

    Oh, that's a bummer. Is there any plan to add that type of functionality? I'm surprised that more people haven't ever requested that feature. Same story with OSCommerce.

    Thanks,
    Chris

    Quote Originally Posted by DrByte View Post
    Zen Cart does not currently support serving downloads from an external location, as there is no built-in way to ensure that download counts and security are managed externally at the present time.

  4. #4
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Download folder on a different server?

    WHY would this be a feature,
    you have to maintain 2 seperate hosting accounts,
    you have no way of knowing the number of downloads,
    you have NO control over security, ( you would actually have to download right from the downloads folder rather than the symlink

    wouldnt it be easier to just get a larger plan,
    Zen cart PCI compliant Hosting

  5. #5
    Join Date
    Nov 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Download folder on a different server?

    No, you wouldn't need 2 hosting accounts; just one hosting account and one file sharing account.

    You would know the number of downloads the same way you know them now, the cart keeps track of how many times the customer has accessed the link.

    As long as the actual url of the download folder is never disclosed to the customer why would this be a security problem? Why can't the symlink point to an external url instead of an internal directory?

    As for a larger plan, no, its more cost effective to have a small hosting account and a cheap file sharing plan.

    Quote Originally Posted by Merlinpa1969 View Post
    WHY would this be a feature,
    you have to maintain 2 seperate hosting accounts,
    you have no way of knowing the number of downloads,
    you have NO control over security, ( you would actually have to download right from the downloads folder rather than the symlink

    wouldnt it be easier to just get a larger plan,

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Download folder on a different server?

    well you have heard from 2 people that said this wouldnt work 1 was a developer,
    but hey what do we know
    Zen cart PCI compliant Hosting

  7. #7
    Join Date
    Nov 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Download folder on a different server?

    Yes, the developer said that it wouldn't work. So I asked if it might be possible in the future. YOU came in with an attitude asking me why that would even be a feature. I told you why it made sense in my situation. If you don't have any constructive input, don't bother.

    Quote Originally Posted by Merlinpa1969 View Post
    well you have heard from 2 people that said this wouldnt work 1 was a developer,
    but hey what do we know

  8. #8
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Download folder on a different server?

    I was adding to what Chris was saying,
    wasnt an attitude, I just dont talk in long drawn out sentences,

    and as for my statement about using 1 account was just practical,
    Zen cart PCI compliant Hosting

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

    Default Re: Download folder on a different server?

    Quote Originally Posted by catalano View Post
    Oh, that's a bummer. Is there any plan to add that type of functionality? I'm surprised that more people haven't ever requested that feature. Same story with OSCommerce.
    It's been requested before. There are some discussions about it on the forum, including some suggestions I made about the "how to". I might have even posted some code that could be used to help make it work.

    Your point about symlinking is noted. It's also possible to let the file-sharing account serve the file contents to your Zen Cart store, and let your store actually serve the content to the customer. I didn't mention that in my first reply because it's a bit of a waste of resources. Nevertheless it's possible with a few programming changes.

    As to the future ... there are currently no plans to expand the code to include externally hosted downloads. You might post to the Commercial Help Wanted area if you'd like to hire someone to write the code to make it happen.
    .

    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.

  10. #10
    Join Date
    Nov 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Download folder on a different server?

    Do you recall which forum it was talked about in? I did some searches, but didn't really come up with anything. If you've made suggestions and posted code I would certainly like to read up on what was discussed. Maybe my situation is simple enough that I could make it work in the way you mentioned.

    Thanks Again,
    Chris

    Quote Originally Posted by DrByte View Post
    It's been requested before. There are some discussions about it on the forum, including some suggestions I made about the "how to". I might have even posted some code that could be used to help make it work.

    Your point about symlinking is noted. It's also possible to let the file-sharing account serve the file contents to your Zen Cart store, and let your store actually serve the content to the customer. I didn't mention that in my first reply because it's a bit of a waste of resources. Nevertheless it's possible with a few programming changes.

    As to the future ... there are currently no plans to expand the code to include externally hosted downloads. You might post to the Commercial Help Wanted area if you'd like to hire someone to write the code to make it happen.

 

 

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. "download" folder in another server or URL
    By salvador28 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 30 Jun 2010, 10:59 PM
  3. Download Folder on alternate server?
    By bowserhound in forum General Questions
    Replies: 2
    Last Post: 7 Jun 2010, 03:24 AM
  4. install 1.3.8 on the same server but different folder instead of upgrading
    By import4sale in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 8 Feb 2008, 10:15 AM
  5. Is it possible to provide download link from different server?
    By rup123a in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 8 Jul 2007, 06:12 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