Re: Check URL Status
Re: Check URL Status
- Subject: Re: Check URL Status
- From: "Mr. Gecko" <email@hidden>
- Date: Thu, 29 Jan 2009 12:12:50 -0600
ok I got it together and it's working just fine
On Jan 28, 2009, at 7:13 PM, Mike Abdullah wrote:
On 29 Jan 2009, at 00:30, Mr. Gecko wrote:
but wouldn't that return the data of the file it self as well?
Because I don't want the data because it's like 130MB and it'll
take a long time to get the data just for a check...
Which is precisely why the URL loading system is asynchronous by
design. You should set up the connection, wait until the
NSURLResponse is received and then cancel the connection before it
can download the full video file.
Mike.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden