• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Creating a progress meter when doing a length post using NSURLConnection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: The Simplified Print Dialog
  • Next by Date: Re: [little OT] Licensing/Implementing in Cocoa/Obj-C
  • Previous by thread: The Simplified Print Dialog
  • Next by thread: Monitoring a folder?
  • Index(es):
    • Date
    • Thread