AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   File Download (https://forums.alliedmods.net/showthread.php?t=255311)

Xablau 01-13-2015 07:22

File Download
 
How do I download a file on the server?

example:

PHP Code:

if(file_exists("models/x.mdl"))
    
// true
else
    
downloadfile("http://site.com/x.mdl" /* origin */"models/" /* destination */


Neeeeeeeeeel.- 01-13-2015 08:25

Re: File Download
 
https://forums.alliedmods.net/showthread.php?t=167847
https://forums.alliedmods.net/showthread.php?t=223898


All times are GMT -4. The time now is 15:21.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.