Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Downloads storage


ateh

Recommended Posts

I have recently set up an oscommerce shop for the use of downloading. I have about 2000 titles which is over 200 GB. I have all these files stored on a server which only allows for storage, but it is not the same server I have installed my oscommerce store too. What I wanted to know is there a way you can use a url to the product and use it in attributes as a download or does oscommerce only allow downloads if the file is stored in the download folder on the same server. I hope not as all the osting packages that have over 200GB of storage are very expensive, when I can store them for much cheaper on just a storage website and just pay for the bandwidth. If any body could help me with this I would be very grateful.

 

Thanks

Ateh

Link to comment
Share on other sites

I have recently set up an oscommerce shop for the use of downloading. I have about 2000 titles which is over 200 GB. I have all these files stored on a server which only allows for storage, but it is not the same server I have installed my oscommerce store too. What I wanted to know is there a way you can use a url to the product and use it in attributes as a download or does oscommerce only allow downloads if the file is stored in the download folder on the same server. I hope not as all the osting packages that have over 200GB of storage are very expensive, when I can store them for much cheaper on just a storage website and just pay for the bandwidth. If any body could help me with this I would be very grateful.

 

Thanks

Ateh

 

 

This questions has been asked before... but I'll admit to never having really payed attention to it. I have about 6000 titiles and instead of relying on shared hosting... it's probably to your advantage to do with a dedicated server.

My Contribution

Music Download Store Template

http://www.oscommerce.com/community/contributions,4275

Link to comment
Share on other sites

I thought about getting a dedicated server but as my shop is just starting I dont think it warrants one at the moment. It took me months to upload them to the current server, I dont wanna have to go through all that again but I may have no choice. If I knew php I might know how to change it as i had an asp file that did exactly the same thing where the file had to be stored locally but I managed to change it so it used a url instead. I looked throgh the forum for this problem One other person had exactly the same question but they never got any replies.

 

anybody who has any idea your input would be gratefully appreciated

Link to comment
Share on other sites

anybody who has any idea your input would be gratefully appreciated

 

How about changing the download definitions in the configure file?

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/home/*****/public_html/catalog/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

Possibly redirect to the other server through these settings? Add an additional 'catalog' define like:

DIR_EXT_CATALOG and change the appropriate calls in download.php?

 

No idea whether this would work...just an idea.

 

Sheri

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...