Jump to content

Help with httpdownloadurl


Overkillz

Recommended Posts

Posted

Hey dear guys, Im trying to speed up the download of my server.

Well, Im trying to use httpdownloadurl and it doesn't works for me.

I have an dedicated server and Im running a website there, well, I created a directoy which have -777 permisson (ATM) to test if it download my script, but it doesn't do it.

This is the url which I have the httpdownloadurl

http://my-website.net/files/

and this is an screen of the folder

Well, I have .htaccess configured to

AddType application/octet-stream .lua 

Well, I have no idead what I need to get it works. I have restarted the server, but nothing, it doesn't work

I hope you can help me.

Regards.

Posted

If your mta server is on your dedicated server then you wouldn't need httpdownloadurl.

If it's not, I see one problem you made so far; you're support to have a resources folder with all your resources/scripts.

Posted

The root of your http server file system must match the directory structure of the server files, either add the folder "Scripts" (and any subfolder below that) to http download url property. The symptom here is obvious, nothing is downloaded you say, well that's because the server sees an empty folder. ;)

Posted
The root of your http server file system must match the directory structure of the server files, either add the folder "Scripts" (and any subfolder below that) to http download url property. The symptom here is obvious, nothing is downloaded you say, well that's because the server sees an empty folder. ;)

"Script" is the name of the resource. It containt the meta and a client file. But it didnt work.

Posted

You should not copy your actual resources to the webserver. Copy your files from "mods/deathmatch/resource-cache" and keep any change in that folder synced with your webserver.

Posted
You should not copy your actual resources to the webserver. Copy your files from "mods/deathmatch/resource-cache" and keep any change in that folder synced with your webserver.

Could you give me some steps to keep sync my webserver with mtaserver ? If you can, could you tell me it detaily ?

Regards.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...