Set a download directory?

How do I make it so that once a person joins my server, they automatically download a whole directory, such as a whole addon. I am too lazy to add all of my addons file’s one by one (there’s over 1350 files in the car pack addon I want them to autodownload). So is there a way?

[lua]
for _, filename in pairs(file.Find("…/folder/.")) do
resource.AddFile(“folder/”…filename)
end
[/lua]

So basically, if I were to do that, I would make a something.lua (can be named anything) file and put it in lua/autorun/server and then make it look like this?



for _, filename in pairs(file.Find("../phx3/*.*")) do
        resource.AddFile("phx3/"..filename)
end


(No I am not actually making them download phx3).