• 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
Re: streamed HTTP POSTs problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: streamed HTTP POSTs problem


  • Subject: Re: streamed HTTP POSTs problem
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 7 May 2009 22:29:26 -0700


On May 7, 2009, at 9:20 PM, Gary Fielke wrote:

I understand using CF is the only way to get upload progress - CFReadStreamCopyProperty(httpReqStream, kCFStreamPropertyHTTPRequestBytesWrittenCount);

You can set the HTTPBodyStream property of an NSMutableURLRequest — attach it to your own NSInputStream subclass that wraps an existing stream (on a file or an NSData or whatever) while keeping track of the number of bytes that have been read.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: streamed HTTP POSTs problem
      • From: Gary Fielke <email@hidden>
References: 
 >streamed HTTP POSTs problem (From: Gary Fielke <email@hidden>)
 >Re: streamed HTTP POSTs problem (From: Jens Alfke <email@hidden>)
 >Re: streamed HTTP POSTs problem (From: Gary Fielke <email@hidden>)

  • Prev by Date: Re: streamed HTTP POSTs problem
  • Next by Date: Re: streamed HTTP POSTs problem
  • Previous by thread: Re: streamed HTTP POSTs problem
  • Next by thread: Re: streamed HTTP POSTs problem
  • Index(es):
    • Date
    • Thread