4 replies [Last post]
acb
acb's picture
Offline
Joined: 12/06/2008
Juice: 160
Was this information Helpful?

Hello again to the board geniuses!

Question: I have a download store which hosts its files on a separate server; currently the files are accessed through an oscommerce download store which is pointing at the server with the ftp credentials to get the file. Could one add that filepath to a ubercart download? The documentation I have read all is dealing with local solutions, rather than remote ones. Is it possible?

Any and all help, as always, appreciated.

Andy's picture
Offline
Administrator
Joined: 08/07/2007
Juice: 1076
Re: File Downloads on External Server

Ubercart / Drupal has it's own file management system. It might be possible to mount the remote file system on the site running Ubercart, but Ubercart is not really designed out of the box to sell files located on a separate server. I think you'll have to do some custom coding if you are set on this approach.

acb
acb's picture
Offline
Joined: 12/06/2008
Juice: 160
Re: File Downloads on External Server

I might be able to do some custom coding on this (I did the original oscommerce remote-coding), but, as you say, it seems as if drupal is a little more protective of such things.. and dare I say meddlesome?

I was wondering if one could pass, say, an ftp or http link to ubercart as a file path somehow... any ideas as to where to start would be appreciated

acb
acb's picture
Offline
Joined: 12/06/2008
Juice: 160
Re: Re: File Downloads on External Server

I have tried a few things with this, none of which seem to work; anyone else have a possibility here? I might even be able to write a redirect, if I could get the random-number file-hash to be understandable... where is that keyed?

Anyone?

icymetal's picture
Offline
Joined: 06/19/2009
Juice: 24
I got into the same situation

I got into the same situation where I wanted to host the files on another server, since I don't want to increase the transfer volume - each download is about 80MB.
My workaround is to create a shortcut (E.g., filename.url) that points to the file on the remote server, using full url. Now, the user downloads the .url file and runs it to get access to the file on the other server.Note, that my file is software, "accessible" to the public as demo. After the purchase I provide them an activation key, sent by email.Hope it helps.