Re: Check URL Status
Re: Check URL Status
- Subject: Re: Check URL Status
- From: Mike Abdullah <email@hidden>
- Date: Thu, 29 Jan 2009 01:13:52 +0000
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