Jens, thank you for your answer.
On Sep 27, 2009, at 7:59 PM, Jens Alfke wrote:
On Sep 27, 2009, at 2:25 AM, Sergey Shapovalov wrote:
This makes me think that chunked upload from stream via
NSURLConnection has been broken in iPhone OS 3.x. Unfortunately, in
real life I can't upload my file
On Sep 27, 2009, at 2:25 AM, Sergey Shapovalov wrote:
This makes me think that chunked upload from stream via
NSURLConnection has been broken in iPhone OS 3.x. Unfortunately, in
real life I can't upload my file by using setHTTPBody instead of
setHTTPBodyStream because it's too big to store
Hello again.
It looks like I've got more info on the issue. I've performed some
additional investigation and figured out that if you substitute the
lines
NSInputStream* stream = [NSInputStream inputStreamWithFileAtPath:
filePath];
[request setHTTPBodyStream: stream];
with
Hello.
I'm using a very simple code snippet to upload a small file to my
MobileMe iDisk. The problem is that it perfectly works with iPhone OS
2.2.1, but fails on 3.0. Now I'm trying to figure out whether that's a
bug in iPhone OS 3.0, or I am doing something wrong and 2.2.1 is just
more