Re: Identifying complete size of file when transfer is in progress
Re: Identifying complete size of file when transfer is in progress
- Subject: Re: Identifying complete size of file when transfer is in progress
- From: Devarshi Kulshreshtha <email@hidden>
- Date: Fri, 15 Nov 2013 18:33:54 -0600
How can I poll the files? Is their any cocoa API to do so?
On Fri, Nov 15, 2013 at 6:21 PM, Jens Alfke <email@hidden> wrote:
>
> On Nov 15, 2013, at 4:10 PM, Devarshi Kulshreshtha <
> email@hidden> wrote:
>
> > >> user will be copying these files directly through iTunes.
>
> You’ll just have to poll the files, then. When a new file appears, monitor
> its size every second or so. When the size hasn’t increased in the last,
> say, 10 seconds, assume it’s complete.
>
> —Jens
--
Thanks,
Devarshi
_______________________________________________
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