FastDL won't work

Hi guys, I’m new here so forgive my nubness.

Well I just started my dedicated server for Gmod, what I want to do is make it so that players that join my server download the necessary models/sounds for the weapons and player models I’ve added… problem is the only thing that I’ve gotten to work are maps.

I got a server from Xenon Servers, they have a FastDL set up. So I didn’t buy any webhosting of any sort. I’ve been looking at the wiki countless times… and have followed all the steps except the resource lua part. THat one I can’t figure out for the life of me. I’ve set up all the folders correctly…extracted the modes in their corresponding folders and the game still refuses to send any downloads. :confused:

I read this tutorial ( and it says to add the lua script given. What file do I add it to?

Any help or advice is greatly appreciated, thanks

Make sure that
sv_download is 1
and sv_upload is 1
aswell as sv_downloadurl being the url to the FastDL/http server.
Then for the lua script that should be thrown into a new .lua file named anything you want and thrown in garrysmod/lua/autorun

if there is no autorun folder, make it.

Alright. Well it seems maps can be downloaded now, but nothing else downloads.

What about the script here?

Same thing? throw into auto run? and what’s a fast way to add all the files I need into that code? I got the lua editing interface opened, but I don’t really feel like typing out all the files… xD

Yah, use that AddDir script it’s what I use.

function AddDir(dir) // recursively adds everything in a directory to be downloaded by client
	local list = file.FindDir("../"..dir.."/*")
	for _, fdir in pairs(list) do
		if fdir != ".svn" then // don't spam people with useless .svn folders
	for k,v in pairs(file.Find("../"..dir.."/*")) do


That’s a portion of my resources.lua in autorun (:P) if you have a folder full of files just use the AddDir Code.
Should shorten it a bit but these isn’t really a fast way to add all the files. :confused:

Make sure you’ve got your sv_downloadurl set in your server.cfg, if it isn’t, add this line to your server.cfg, replacing “[IP]” with your server IP.

sv_downloadurl http://[IP]/[IP]-27015/

Use the script above to add the files to the download list.

First off, the commands that you are thinking of are sv_allowupload and sv_allowdownload. Secondly, you should have both of them set to 0 if you’re using FastDL. Xenon’s FastDL system is a direct mirror of the servers files, so there is no risk of files being missing.

I’m having the exact SAME PROBLEM!!!

I have sv_allowdownload “0”
I have sv_allowupload “0”
And my http thing is right I know it is. It’s: sv_downloadurl . Why isn’t it working!?!!