• Fast Download & Addons Folder etc Folder Sync?
    5 replies, posted
Anyone know if there are any programs out there that deal with syncronizing the DUA files from the gmod cache, with the fast download folder/server? The way I have my server set up, is that I am using a webserver/php server on my game server as a fast download location. Some may say that this is bit backwards, but according to garrys mod wiki (I think) this allows you to bypass the download speed restrictions on the gameserver download protocol (apparently only 56kb). So.. I have a W: on my server, for the garrys mod fast download location, Basically, I was wondering if there is any programs out there, that could sync the dua files from the C: to the W: folder? If there isnt one, I can make one via C#. I've been giving it some thought etc, could make it so that it compares a crc check on the files, to compare them, and find the most recent ones, to automatically update the ones on the web server with the more recent ones. Reason I really want something like this, is cause im getting tired of having to manually copy content into my fast download location, and in the event that I forget to transfer content over, it results in the addon not being loaded or being usable by clients.
You could make a symlink if you're running Windows Server 2008 or Vista/7. CD to where you want your downloadurl location to be in your W: drive. [code]mklink /D link_name C:\path\to\server[/code] You need admin rights to do this as far as I know. For security, you should make one symlink for each folder you want to share, rather than the whole server directory.
Wait, GMod can use symbolic links? So on Windows 7 I could create a link to an external drive (i.e. flash drive) and have a folder on there act as my data folder?
[QUOTE=Mr Donovan;21049931]Wait, GMod can use symbolic links? So on Windows 7 I could create a link to an external drive (i.e. flash drive) and have a folder on there act as my data folder?[/QUOTE] Yep. Once you remove the flash drive you might need to re-add the symlink though.
Damn. Will it stay as long as I don't try to access the folder?
[QUOTE=Mr Donovan;21063061]Damn. Will it stay as long as I don't try to access the folder?[/QUOTE] The drive letter might change that's all.
Sorry, you need to Log In to post a reply to this thread.