←  Call of Duty 2

PBBans

»

Game server redirects

Holmes26's Photo Holmes26 Aug 16, 2010

Hello,
I know how to set up a redirect via webhosting. That is not why im posting this thread. I was wondering how i would set a redirect up from the actual server itself using ftp link. Anyone know how to do this?
Quote

CosmicBlue's Photo CosmicBlue Aug 16, 2010

Not sure if this is what you're looking for, but this is what I use and it works fine.
Put this into your server's config file:

//Download Redirect
set sv_allowdownload "1"
seta sv_wwwDownload "1"
seta sv_wwwBaseURL http://Enter your redirect location here
seta sv_wwwDlDisconnected "0"

Then on the MOTD page of your Mod put a "clicky" to the redirect for your players to D/L the mod's client files.

Hope that helps..........
Edited by CosmicBlue, Aug 16, 2010 - 05:44 PM.
Quote

Live's Photo Live Aug 16, 2010

View PostHolmes26, on Aug 16, 2010 - 03:32 PM, said:

Hello,
I know how to set up a redirect via webhosting. That is not why im posting this thread. I was wondering how i would set a redirect up from the actual server itself using ftp link. Anyone know how to do this?

Don't know if this would work but you could try this changing it to your specific information where you place your download link.in the config.

fp://username:[email protected]/pathtomodfolder
Quote

Kolor's Photo Kolor Aug 16, 2010

Anyone with a packet sniffer would have your login credentials if you use your username / passwd as part of the FTP URI.
Quote

Live's Photo Live Aug 16, 2010

View PostKolor, on Aug 16, 2010 - 05:53 PM, said:

Anyone with a packet sniffer would have your login credentials if you use your username / passwd as part of the FTP URI.

Well not just that as the connection is flashed across the screen for a few seconds when the download starts to happen. It wouldn't be very difficult for someone to just print screen it either. I most sincerely wouldn't recommend it nor would I recommend offering the download from the box that the game server is on in any fashion.
Quote