Forums / Setting Up Categories, Products, Attributes / Change the download directory to a different Server

Change the download directory to a different Server

Started by p_plater on 5 Apr 2011, 8:39 AM · Views: 1,648

Results 1 to 12 of 12
5 Apr 2011, 8:39 AM
#1
p_plater avatar

p_plater

New Zenner

Join Date:
Apr 2011
Posts:
9
Plugin Contributions:
0

Change the download directory to a different Server

Hello

I have a site which sells Images and I would like to change the Downloads folder to another Server at a different site.

I am using ZEN 1.3.9h
on a Linux Platform

I want ZEN to upload the file from the Downloads folder/server and put it in the pub folder for the customer to download.

Thanks in advance

5 Apr 2011, 9:21 AM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Change the download directory to a different Server

I would like to change the Downloads folder to another Server at a different site
Why not just have the content where it is to be purchased

Zen-Venom Get Bitten

5 Apr 2011, 12:19 PM
#4
p_plater avatar

p_plater

New Zenner

Join Date:
Apr 2011
Posts:
9
Plugin Contributions:
0

Re: Change the download directory to a different Server

I would rather not host my own web server and it's expensive to store 200GB on a hosting server.

The Thread mentioned seems to say that it could be done with custom coding.

Could some one give me some direction or give me a estimate on how much it would cost for them to supply me with the code?

5 Apr 2011, 6:13 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Change the download directory to a different Server

it's expensive to store 200GB
As a business one should be making a profit from this and it would be an expense

You have control doing it on your own platform
You are at the mercy of the other server doing it your way
One must decide how professional they want to portray their business

Zen-Venom Get Bitten

5 Apr 2011, 8:12 PM
#6
p_plater avatar

p_plater

New Zenner

Join Date:
Apr 2011
Posts:
9
Plugin Contributions:
0

Re: Change the download directory to a different Server

kobra:

You have control doing it on your own platform
You are at the mercy of the other server doing it your way

By this do you suggest I would be best to Host the Site myself rather than use a hosting company?

5 Apr 2011, 8:19 PM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Change the download directory to a different Server

By this do you suggest I would be best to Host the Site myself rather than use a hosting company?
No, unless you have to required uplink at your location it would be very slow. As even a broadband connection uploads at about one-tenth the download speed and uploading is the basic function of a web server

I was suggesting that for 200GB as you stated that a dedicated server would be inline for your purposes...
If you are wanting to become your own server administrator

Zen-Venom Get Bitten

7 Apr 2011, 3:05 AM
#8
p_plater avatar

p_plater

New Zenner

Join Date:
Apr 2011
Posts:
9
Plugin Contributions:
0

Re: Change the download directory to a different Server

There is a "Add on Contribution" called "External Product Images" that allows the images to be stored Externally and Zen cart loads them when needed.
Its only some minor code changes.
Could something like that be done for the Download Files?

Not sure if I should ask this here but can anyone give me some links / Advice on a good source of Info on learning the zen cart structure and customising it?
(By this I don't mean the "e-Start Your Web Store with Zen Cart" - I have that - I'm after More Code customisation info)

7 Apr 2011, 3:49 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Change the download directory to a different Server

p-plater:

There is a "Add on Contribution" called "External Product Images" that allows the images to be stored Externally and Zen cart loads them when needed.
Its only some minor code changes.
Could something like that be done for the Download Files?
Not if you want to control the security around who access the files and how many times they can access them, etc.
If you don't care if the files get stolen or "shared with all my friends", then you could write some code to change the place where the files are found and served.
But if you want to retain control over the files and prevent theft, you'll need to use the built-in methods, which require the files to exist on your server and be served to customers from your same server.

.
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.

6 Jan 2013, 7:48 PM
#10
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: Change the download directory to a different Server

DrByte:

Not if you want to control the security around who access the files and how many times they can access them, etc.
If you don't care if the files get stolen or "shared with all my friends", then you could write some code to change the place where the files are found and served.
But if you want to retain control over the files and prevent theft, you'll need to use the built-in methods, which require the files to exist on your server and be served to customers from your same server.
I'm the same boat. My web site hosting charges exorbitant amounts for storage. I have an Amazon S3 bucket with external images that I want to sell. Is there no good combination of externally served images and the protection of the built-in download tracking?

6 Jan 2013, 8:11 PM
#11
dhcernese avatar

dhcernese

Zen Follower

Join Date:
Mar 2007
Location:
Pepperell, Massachusetts
Posts:
232
Plugin Contributions:
0

Re: Change the download directory to a different Server

dhcernese:

I'm the same boat. My web site hosting charges exorbitant amounts for storage. I have an Amazon S3 bucket with external images that I want to sell. Is there no good combination of externally served images and the protection of the built-in download tracking?replying to self, I found this module.
http://www.zen-cart.com/downloads.php?do=file&id=1352 that includes a time-expiring S3 download.

7 Jan 2013, 4:25 AM
#12
rayw1679 avatar

rayw1679

Zen Follower

Join Date:
Mar 2005
Location:
Waxahachie, Texas
Posts:
172
Plugin Contributions:
0

Re: Change the download directory to a different Server

5 years ago, I leased a managed server to handle Zen-cart. As soon as I get my stores upgraded to 1.5.1, I'm upgrading my server to a quad-core, 12 GB, 1 TB HD server -- for about $100 a month.

Thanks,
Ray