> On 27 Aug 2016, at 1:41 PM, Ken Thomases wrote:
>
> The reason it has no length property is because not all NSFileHandles have
> the concept of a length. For example, a file handle associated with a pipe
> or socket.
Right, though for those cases it could just return 0 or some other marker
> On Aug 26, 2016, at 8:19 PM, Graham Cox wrote:
> Apparently a simple task, but no obvious API for it: getting the length
> (size) of a file I have a NSFileHandle for. This class has no -length
> property, so how can I get it?
>
> I need to know because I have a requirement to create a backup
On Aug 26, 2016, at 10:19 PM, Graham Cox wrote:
>
> Apparently a simple task, but no obvious API for it: getting the length
> (size) of a file I have a NSFileHandle for. This class has no -length
> property, so how can I get it?
The reason it has no length property is because not all NSFileHan
> On Aug 26, 2016, at 11:32 PM, R. Matthew Emerson
> wrote:
>
>
>> On Aug 26, 2016, at 11:19 PM, Graham Cox wrote:
>>
>> Hi all,
>>
>> Apparently a simple task, but no obvious API for it: getting the length
>> (size) of a file I have a NSFileHandle for. This class has no -length
>> proper
> On Aug 26, 2016, at 11:19 PM, Graham Cox wrote:
>
> Hi all,
>
> Apparently a simple task, but no obvious API for it: getting the length
> (size) of a file I have a NSFileHandle for. This class has no -length
> property, so how can I get it?
>
> I need to know because I have a requirement t
Hi all,
Apparently a simple task, but no obvious API for it: getting the length (size)
of a file I have a NSFileHandle for. This class has no -length property, so how
can I get it?
I need to know because I have a requirement to create a backup copy of a file
once it exceeds a certain size. Thi