Re: Downloading Files in D

2014-09-11 Thread Rene Zwanenburg via Digitalmars-d-learn
On Thursday, 11 September 2014 at 17:37:24 UTC, Nordlöw wrote: On Thursday, 11 September 2014 at 14:30:39 UTC, Jacob Carlborg wrote: 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] Ok, thanks. And I g

Re: Downloading Files in D

2014-09-11 Thread Danyal Zia via Digitalmars-d-learn
On Thursday, 11 September 2014 at 17:37:24 UTC, Nordlöw wrote: Ok, thanks. And I guess vibe.d can do this aswell without external dependencies, right? I'm also interested to know how this can be done with vibe.d...

Re: Downloading Files in D

2014-09-11 Thread Nordlöw
On Thursday, 11 September 2014 at 14:30:39 UTC, Jacob Carlborg wrote: 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] Ok, thanks. And I guess vibe.d can do this aswell without external dependencies, r

Re: Downloading Files in D

2014-09-11 Thread Jacob Carlborg via Digitalmars-d-learn
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.

Re: Downloading Files in D

2014-09-11 Thread Nordlöw
On Wednesday, 10 September 2014 at 22:23:11 UTC, Adam D. Ruppe wrote: The curl one should be easiest for just downloading files. The big problems with it are that it can be a pain to get the library working with versioning and stuff and that it sometimes does the wrong thing in advanced use cas

Re: Downloading Files in D

2014-09-10 Thread Adam D. Ruppe via Digitalmars-d-learn
The curl one should be easiest for just downloading files. The big problems with it are that it can be a pain to get the library working with versioning and stuff and that it sometimes does the wrong thing in advanced use cases. But if the curl library works for you at all, doing downloading

Downloading Files in D

2014-09-10 Thread Nordlöw
What's the recommended way to to download files (typically over http(s) or ftp) from within D? Should I use http://dlang.org/phobos/std_net_curl.html or vibed.org ? I'm asking because I've read somewhere that there have been complaints about the curl wrapper.