Raised This Month: $ Target: $400
 0% 

File Download


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Xablau
Member
Join Date: Dec 2014
Old 01-13-2015 , 07:22   File Download
Reply With Quote #1

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 */

Last edited by Xablau; 01-13-2015 at 07:55.
Xablau is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 01-13-2015 , 08:25   Re: File Download
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=167847
https://forums.alliedmods.net/showthread.php?t=223898
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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