Raised This Month: $51 Target: $400
 12% 

[Metamod] Meta cURL Downloader [v1.0]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
souvikdas95
Senior Member
Join Date: Mar 2012
Old 07-22-2014 , 12:16   [Metamod] Meta cURL Downloader [v1.0]
Reply With Quote #1

Description:

This is a simple utility Metamod plugin to download items from Internet or any local Web Address. It's useful when HLDS server runs on a remote Web Location and you need to upload Large Files to the Server from another Web Location.

Libraries Used:
  • libcurl
  • openssl
  • openldap

Protocols Supported:
  • DICT ( not tested )
  • FILE ( not tested )
  • FTP
  • FTPS
  • Gopher ( not tested )
  • HTTP
  • HTTPS
  • IMAP ( not tested )
  • IMAPS ( not tested )
  • LDAP ( not tested )
  • LDAPS ( not tested )
  • POP3 ( not tested )
  • POP3S ( not tested )
  • RTMP ( not tested )
  • RTSP ( not tested )
  • SCP ( not tested )
  • SFTP ( not tested )
  • SMTP ( not tested )
  • SMTPS ( not tested )
  • Telnet ( not tested )
  • TFTP ( not tested )

Format: (To be used in Game Server Console)

curl "<source>" "<destination relative to gamedir with filename ( directory must exist )>"

Examples:
  • curl "https://www.foobar.com/de_dust.bsp" "maps/de_dust2.bsp"
  • curl "ftp://username:password@host:port/addons/amxmodx/data/GeoIP.dat" "addons/amxmodx/data/GeoIP.dat"
Note - It's important to put the quotes around the Source and Destination

Warning:
  1. Do not use cURL to download when there are players on the Server. It will freeze the Server till the download is not Complete
  2. Once the Download is being done, there is not way to interrupt it except by closing the Server
  3. This is only a Utility Plugin and hence should be used only when required.
  4. Try it at your own Risk

Download:
Attached Files
File Type: zip meta_curl_win32_source.zip (1.91 MB, 289 views)
File Type: zip meta_curl_win32_binary.zip (413.0 KB, 180 views)

Last edited by souvikdas95; 07-23-2014 at 09:22.
souvikdas95 is offline
nonserviam
Senior Member
Join Date: May 2013
Old 07-29-2014 , 17:43   Re: [Metamod] Meta cURL Downloader [v1.0]
Reply With Quote #2

Linux version?
nonserviam is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 08-01-2014 , 14:37   Re: [Metamod] Meta cURL Downloader [v1.0]
Reply With Quote #3

Sexy. Now we need someone to make a module for unpacking achieves.
__________________
Kia is offline
gladius
Veteran Member
Join Date: Jul 2008
Location: Santiago, Chile
Old 11-07-2014 , 22:40   Re: [Metamod] Meta cURL Downloader [v1.0]
Reply With Quote #4

It would be great if you add an option to get header or data.

Btw, nice module
__________________
Proyects
Kreedz Chile Mod [100%] (Fixing some details).

gladius is offline
Send a message via MSN to gladius Send a message via Skype™ to gladius
souvikdas95
Senior Member
Join Date: Mar 2012
Old 12-08-2014 , 12:51   Re: [Metamod] Meta cURL Downloader [v1.0]
Reply With Quote #5

@KIA - already have made one... but i believe this will ruin half of the world's game hosters
souvikdas95 is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 12-08-2014 , 15:27   Re: [Metamod] Meta cURL Downloader [v1.0]
Reply With Quote #6

Then go on ruin them, I nid dis plz.
__________________
Kia is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 12-08-2014 , 19:35   Re: [Metamod] Meta cURL Downloader [v1.0]
Reply With Quote #7

Quote:
Originally Posted by Kia View Post
Then go on ruin them, I nid dis plz.
You can try to port the SM extension BZIP2 Compression
__________________
WildCard65 is offline
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 09:13.


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