Posts: 39
Threads: 10
Joined: Jun 2005
Reputation:
0
I have done a forum search for this but too many responses, none with a relevant title.
I am just wondering if it is possible to use multiple sv_downloadurl entries for the same server. IE:
sv_downloadurl "http://host.one.com/cstrike"
sv_downloadurl "http://host.two.com/cstrike"
I have one host that has a maximum file limit of 500k (not maps) and one host that will not allow files with certain extensions (.lst, .csv etc...).
Therefore I have the ability to webhost all my files but spread over 2 hosts.
I am asking before trying as I do not want to impact by users unless I have to.
Thanks
Who knows where thoughts come from?
They just appear!!!
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
I'm afraid that's not possible, there's only one value possible, when you try to set 2 it will set to host.one.com first then it comes to the next and sets it to host.two.com
one ding you can do tho, on the host with extension limitation is to bzip all the files, that way it's a "legit" file and placable. It's faster to download, less bandwidth and space usage (bzip2 is built in the source engine, so it'll unpack on the fly and run)
Posts: 39
Threads: 10
Joined: Jun 2005
Reputation:
0
Cheers droc. Hi again btw. Yeh thought of that but I remember something about bzip files not working from downloaduels but will try anyway
Who knows where thoughts come from?
They just appear!!!
Posts: 39
Threads: 10
Joined: Jun 2005
Reputation:
0
Hi again. tried vzip, looks like free hosting sites are onto the old bz2 format. File format not allowed.
Awe well never mind. just have to can sv_downloadurl.
Unless you guys known of a free hoster that doesn;t quibble about what files you stick down (size, ext...)
Chow
Who knows where thoughts come from?
They just appear!!!
Posts: 120
Threads: 8
Joined: Jan 2007
Reputation:
0
It's kind of possible.
I wrote a proof of concept script that had a database that contained all the files I have on my different redirects. The sv_downloadurl is set to the path of the script, the script would then redirect the users client to the appropriate redirect containing the file. I had planned on either selling the script or turning it into a redirect service were someone would pay like a buck month to use it. I abandoned the project assuming there'd be no interest it.
It's doable, and above is one way you can do it.
Manage your redirects/fast downloads with one click!
SourceRSC and HL1RSC
Need a free web based game server hosting panel? Check out
UGCC.
Posts: 8
Threads: 1
Joined: May 2007
Reputation:
0
05-11-2007, 04:09 PM
(This post was last modified: 05-11-2007, 06:55 PM by gussy.)
i just posted code to do just this in the modifications section :S have a look, might be what your after
EDIT: ps masher, that csrsc is gold, helped me alot setting up my first sv_downloadurl, though i do it manually now days