Creating a progress meter when doing a length post using NSURLConnection
Creating a progress meter when doing a length post using NSURLConnection
- Subject: Creating a progress meter when doing a length post using NSURLConnection
- From: "John C. Fox" <email@hidden>
- Date: Tue, 20 Apr 2004 08:12:54 -0700
Hello Nice List People:
I am using NSMutableURLRequest and NSURLConnection to POST data to a
web server cgi program. NSURLDownload has a nice delegate method that
you can implement in your controller to determine the length of data
that has been received. No such facility exists for NSURLConnection.
Does anyone know how I can get at this information. CFNetworking's
CFHTTPStream has a property called
kCFStreamPropertyHTTPRequestBytesWrittenCount which sounds like what I
need, but I don't know how (or if it's possible) to get at this if I'm
using the higher level ObjC methods.
I know about CURL, which offers a callback function. I've used it in
another application for FTP'ing files and think it's great, but I'd
really like not to have to deal with that framework just for this one,
seemingly simple, need.
I haven't had much luck getting responses from the list of late. Maybe
my posts smell bad, or something. ;-)
Any help greatly appreciated,
John
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.