AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Module Coding (https://forums.alliedmods.net/forumdisplay.php?f=9)
-   -   [Metamod] Meta cURL Downloader [v1.0] (https://forums.alliedmods.net/showthread.php?t=244700)

souvikdas95 07-22-2014 12:16

[Metamod] Meta cURL Downloader [v1.0]
 
2 Attachment(s)
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:

nonserviam 07-29-2014 17:43

Re: [Metamod] Meta cURL Downloader [v1.0]
 
Linux version?

Kia 08-01-2014 14:37

Re: [Metamod] Meta cURL Downloader [v1.0]
 
Sexy. Now we need someone to make a module for unpacking achieves.

gladius 11-07-2014 22:40

Re: [Metamod] Meta cURL Downloader [v1.0]
 
It would be great if you add an option to get header or data.

Btw, nice module :)

souvikdas95 12-08-2014 12:51

Re: [Metamod] Meta cURL Downloader [v1.0]
 
@KIA - already have made one... but i believe this will ruin half of the world's game hosters :P

Kia 12-08-2014 15:27

Re: [Metamod] Meta cURL Downloader [v1.0]
 
Then go on ruin them, I nid dis plz.

WildCard65 12-08-2014 19:35

Re: [Metamod] Meta cURL Downloader [v1.0]
 
Quote:

Originally Posted by Kia (Post 2232639)
Then go on ruin them, I nid dis plz.

You can try to port the SM extension BZIP2 Compression


All times are GMT -4. The time now is 01:10.

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