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?
Bz2 files from VDS to separate Webserver
-
- New to forums
- Posts: 2
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Sun Dec 08, 2013 7:01 am
Re: Bz2 files from VDS to separate Webserver
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.

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
Re: Bz2 files from VDS to separate Webserver
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.
Re: Bz2 files from VDS to separate Webserver
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!
Re: Bz2 files from VDS to separate Webserver
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.