Downloading Files in D

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 11 07:30:39 PDT 2014


On 11/09/14 00:05, "Nordlöw" wrote:

> I'm asking because I've read somewhere that there have been complaints
> about the curl wrapper.

If you don't want to worry about dependencies on libcurl you can use 
Tango [1] [2]. You can see how I use Tango to download files in DVM [3]

[1] https://github.com/SiegeLord/Tango-D2
[2] http://siegelord.github.io/Tango-D2/tango.net.http.HttpGet.html
[3] 
https://github.com/jacob-carlborg/dvm/blob/master/dvm/commands/Fetch.d#L80

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list