Bz2 files from VDS to separate Webserver

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
sabo
New to forums
New to forums
Posts: 2
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sun Dec 08, 2013 7:01 am

Bz2 files from VDS to separate Webserver

Post by sabo »

Hey, I got a VDS recently and separate webhosting.

Now I want my clients to download from that webserver but I do not want them to download all the huge maps, I want them to download bz2 files of the maps.

How can I make it automated - just as listen server where you press sync and it auto syncs all the files to bz2

Or how can I make bz2 files automatically?
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Bz2 files from VDS to separate Webserver

Post by soja »

Download the binaries http://gnuwin32.sourceforge.net/packages/bzip2.htm then just drag any files you want compressed onto bzip2.exe. There are some better tools, but this is the one i use :)

Keep in mind compressing takes up a lot of cpu, so if you are compressing on a vds make sure your servers are inactive.
Not a NFO employee
User avatar
Edge100x
Founder
Founder
Posts: 13120
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Bz2 files from VDS to separate Webserver

Post by Edge100x »

In terms of automating it, you would need to make a script as we have for our servers, likely running on the webserver. It could check every so often for newly updated files and run bzip2 on them, for instance. Potentially it could even connect to the game server via FTP and look for new files there to download and process.
sabo
New to forums
New to forums
Posts: 2
Joined: Sun Dec 08, 2013 7:01 am

Re: Bz2 files from VDS to separate Webserver

Post by sabo »

Edge100x wrote:In terms of automating it, you would need to make a script as we have for our servers, likely running on the webserver. It could check every so often for newly updated files and run bzip2 on them, for instance. Potentially it could even connect to the game server via FTP and look for new files there to download and process.

I dont need it to check every now and then, that is too much I would ask for ^^

I just want it to be 1 click-sync

I know I am asking for a lot but would it be possible to make it available for VDS, I mean I am renting it from you and I also have seperated webserver (I have no access to the so called script).

I really would appreciate it and I have no doubt that everyone who rents a VDS from NFO has the same opinion as I do.

Thank you for replying!
joshh20
This is my homepage
This is my homepage
Posts: 146
Joined: Sat Mar 02, 2013 1:35 pm

Re: Bz2 files from VDS to separate Webserver

Post by joshh20 »

They do have that for managed VDSes. Unfortunately, it isn't very feasible to have an automated way, as this would require an application to be developed that would copy new files over and it would have to be made for each OS that they support on their machines as well. Looking to NFO to develop a piece of software like this is probably not the most reasonable path as there are developers that have been working on software such as that, albeit not nearly as easy to use as NFO's web sync tool.
Post Reply