open file in append mode

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

open file in append mode

NorbertHartl
How can I open a file in append mode in order to start writing at the end of the file?

thanks,

Norbert
Reply | Threaded
Open this post in threaded view
|

Re: open file in append mode

Sven Van Caekenberghe-2
Norbert,

Just use #setToEnd once you opened the file stream.

HTH,

Sven

On 09 Apr 2014, at 10:08, Norbert Hartl <[hidden email]> wrote:

> How can I open a file in append mode in order to start writing at the end of the file?
>
> thanks,
>
> Norbert


Reply | Threaded
Open this post in threaded view
|

Re: open file in append mode

Thomas Bany
In reply to this post by NorbertHartl
Hi !

I use #setToEnd.

Cheers


2014-04-09 10:08 GMT+02:00 Norbert Hartl <[hidden email]>:
How can I open a file in append mode in order to start writing at the end of the file?

thanks,

Norbert

Reply | Threaded
Open this post in threaded view
|

Re: open file in append mode

NorbertHartl
In reply to this post by Sven Van Caekenberghe-2

Am 09.04.2014 um 10:17 schrieb Sven Van Caekenberghe <[hidden email]>:

> Norbert,
>
> Just use #setToEnd once you opened the file stream.
>
Thank you. I didn’t find this one. I wasn’t thinking it thoroughly and added upToEnd: and wondered why my image explodes on startup :)

Norbert

> HTH,
>
> Sven
>
> On 09 Apr 2014, at 10:08, Norbert Hartl <[hidden email]> wrote:
>
>> How can I open a file in append mode in order to start writing at the end of the file?
>>
>> thanks,
>>
>> Norbert
>
>