Last update February 20, 2007

Libcur L



Difference (last change) (no other diffs, normal page display)

Changed: 1,2c1,5
libcURL for D, a multiprotocol transfer library
http://www.atari-soldiers.com/libcurl.html
= <n>EasyCurl?</n> =
* multiprotocol transfer library
* D wrapper for libCurl
* Download
* compatible with Phobos and Tango.

Deleted: 4,5d6
Having trouble compiling this for windows, the DMC build for libcurl is at http://www.atari-soldiers.com/libcurlDMC.zip , it builds and compiles fine ( you might have to change the LONG definition in winnt.h , from typedef to #define ) but when run it crashes
inexplicably at curl_easy perform.

Changed: 7,9c8
I've asked for some help on the curl mailing list but as everyone else im short on time.

It works for linux however, below is a simple example
== Example ==

Added: 10a10
[[code]

Added: 21a22,24
]

See the easycurl_unittests.d for more examples.

Changed: 23c26,27
See the test.d for more examples. The main issue now is getting libcurl compiled with DMC.


FolderProjects

EasyCurl

Example

import easycurl;

void main () {
    
    EasyCurl curl = new EasyCurl("http://www.digitalmars.com");
    char []  buf = curl.stringPerform();

    curl.url("ftp://ftp.digitalmars.com/dmd.zip");
    curl.filePerform("dmd.zip"); // save as local file dmd.zip

}

See the easycurl_unittests.d for more examples.


FolderProjects
FrontPage | News | TestPage | MessageBoard | Search | Contributors | Folders | Index | Help | Preferences | Edit

Edit text of this page (date of last change: February 20, 2007 19:11 (diff))