This message comes to you from MacDev-1(tm) -- the Mac(tm) OS Developer
News and Info server. See below for more info on this list (including
sub/unsub details).
__________________________
Subject: CURLHandle 1.7 released
For anybody that needs to do URL access and is finding limitations with
NSURLHandle, you might want to check out CURLHandle, available at:
<http://curlhandle.sourceforge.net/>
This is a public domain Cocoa class that subclasses NSURLHandle and wraps
around "curl". It can be used for HTTP PUT, GET, and POST, and also ftp
and really anything else the curl handles. It also knows about HTTP
proxies, something lacking in NSURLHandle.
CURLHandle is the technology under the hood in a number of Internet-Savvy
Applications, including:
* Watson <http://www.karelia.com/watson/>
* NetNewsWire Lite <http://ranchero.com/software/netnewswire/>
* Aizai <http://www.aizai.com/>
* Spring <http://www.usercreations.com/spring/>
* Comictastic <http://spiny.com/comictastic/>
* Pod2Go <http://www.kainjow.com/pod2go/>
* PodNews 3 <http://www.clichesw.com/podnews/>
* Suck it Down <http://www.radproductions.net/>
This 1.7 release wraps around the latest version of curl (7.10.2) and adds
additional Jaguar-specific support such as SSL (https:) capability.
** If you'd like to keep up on all CURLHandle developments, please
subscribe to the CURLHandle "Yahoo" Group. See the CURLHandle web site
<http://curlhandle.sourceforge.net/> for a sign-up form.
---------------
Full Release notes for this version:
* Wraps around curl 7.10.2.
* Add setStringOrNumberObject:forKey: so that you can specify an
integer NSNumber as well as an NSString. Retained setString:forKey:
for backward compatibility.
* Adjust project for building under Mac OS X 10.2. (Project needs to
link to a few more libraries). However, you will need to build curl
under 10.1 if you wish your application to run under 10.1; see
"DevNotes.txt".
* Added "curl_easy_setopt([self curl], CURLOPT_UPLOAD, 1L);" to
setPutFile: to make FTP PUT easier (thanks to Mike Schrag). Now you'd
do something like this:
NSURL *url = [NSURL
URLWithString:@"ftp://username:[EMAIL PROTECTED]/
remoteFileName.xxx"];
CURLHandle *urlHandle = (CURLHandle *)[url URLHandleUsingCache:NO];
[urlHandle setPutFile:@"/localFileName.yyy"];
[urlHandle prepareAndPerformCurl];
* Added setLowSpeedTime, setLowSpeedLimit methods to deal with timeout
issues (thanks to Steven W. Schuldt).
* Got SSL working, as long as you are building curl and CURLHandle
under 10.2. Well, it was working all along, but now you can go to an
https: URL in CURLHandleTester. Please see the notes at
<http://curl.haxx.se/lxr/source/UPGRADE> -- by default, curl will
complain if it couldn't verify the remote certificate from the default
CA cert bundle that gets installed with curl. You may need to provide
your own CA cert bundle using the CURLOPT_CAPATH. (Presently, there is
no convenience method for this defined in CURLHandle.)
Dan Wood
Karelia Software, LLC
[EMAIL PROTECTED]
http://www.karelia.com/
Watson for Mac OS X: http://www.karelia.com/watson/
__________________________
Please visit our sponsors:
RadGad(sm): The Place for Useful Gifts & Gadgets.(sm)
http://www.radgad.com/, mailto:[EMAIL PROTECTED], or 877-5-RADGAD
MacTech(r) Magazine: The journal of Macintosh technology and development
http://www.mactech.com, mailto:[EMAIL PROTECTED], or 805-494-9797
DevDepot(sm): Your Source for RAM, Technical & Developer Products
http://www.devdepot.com, mailto:[EMAIL PROTECTED] or call 877-DEPOT-NOW
To submit a posting to MacDev-1, mailto:[EMAIL PROTECTED]. To
subscribe to MacDev-1, send mail to [EMAIL PROTECTED] with the
SUBJECT line reading "SUBSCRIBE MACDEV-1". To unsubscribe, the SUBJECT
line should read "UNSUBSCRIBE MACDEV-1".
MacTech, Developer Depot, RadGad, and Xplain Corporation are not
responsible for any errors, omissions, or other inaccuracies in this
message.
News may be propagated freely, but please attribute your source as MacTech
Magazine, <http://www.mactech.com>.
--