HTTP Error downloading!

I get this error when Joining my server and trying to download custom models:


HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/misc/osamabl1.dx90.vtx.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/misc/osamabl1.dx90.vtx
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/misc/osamabl1.dx80.vtx.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/misc/osamabl1.dx80.vtx
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/misc/osamabl1.phy.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/misc/osamabl1.phy
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/misc/osamabl1.sw.vtx.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/misc/osamabl1.sw.vtx
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/misc/osamabl1.xbox.vtx.bz2
HTTP ERROR downloading http://192.210.238.107/gmod_63338/models/jessev92/player/misc/osamabl1.xbox.vtx


I heard that it was because the game trying to download before the server was ready, so I added this function to my forcedownloads.lua:
[lua]function Download_Stuff()
resource.AddFile( “myfile.mdl” )
end
hook.Add( “Initialize”, “initializing”, Download_Stuff );
[/lua]

It continues to throw the error. Also when I’m joining it says that I’m downloading the model files, only it goes very quickly. The files ARE on my FastDL site. I’ve restarted my server. The files ARE NOT in my download/models directory of my client. People who are joining seem to download certain files at random, and the other ones give this error.

So my question is, how do I get people to download ALL of the custom files for my server?

http://192.210.238.107/gmod_63338/models/jessev92/player/misc/osamabl1.dx80.vtx

Doesn’t exist.

Make a new file in your lua/autorun/server call it anything and put this in it



if ( SERVER ) then
resource.AddFile( "myfile.mdl" )
end;


Isn’t the “if server then” redundant because my file is already in autorun/server?

[editline]25th October 2013[/editline]

Yeah but you can see it if you go to here: http://192.210.238.107/gmod_63338/models/jessev92/player/misc

[editline]25th October 2013[/editline]

Okay that’s odd, If you direct link to the files then it’s a 404, but if you go to the parent directory and click on them you can download them. What’s up with that?

Your webserver is not configured to distribute those files.

The links are case sensitive.

http://192.210.238.107/gmod_63338/models/jessev92/player/misc/OsamaBL1.sw.vtx – works

http://192.210.238.107/gmod_63338/models/jessev92/player/misc/osamabl1.dx80.vtx – does not work

His file is already only being called serverside, that statement does nothing at all.

The problem is that gmod looks for all-lowercase filenames. You gotta rename all of your files or configure your server to be non case sensitive, which I am not sure if is possible.

Well it seems simpler to rename them all lol.

[editline]26th October 2013[/editline]

Okay… so what you’re saying is only files with an uppercase letter work? 'Cause that doesn’t really make sense.
Also that’s not the problem because the only files that WILL download are the .mdl and the .vvd files. Neither the .sw.vtx or the .dx80.vtx works.

[editline]26th October 2013[/editline]

Yep I think that’s what it is. I contacted my server provider and they said that they use Linux and those files may not be compatible.

Just make all of the filenames on your webserver lowercase. GMod tries to download them all lowercase and most Linux installs are done on case sensitive filesystems.