FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MiniD2: FileMode.Append doesnt work on windows

 
Post new topic   Reply to topic     Forum Index -> MiniD
View previous topic :: View next topic  
Author Message
Ligustah



Joined: 21 Oct 2007
Posts: 45
Location: Berlin, Germany

PostPosted: Sat Jun 14, 2008 4:31 am    Post subject: MiniD2: FileMode.Append doesnt work on windows Reply with quote

Hi,

i tried using io.File with io.FileMode.Append,
but as soon as i use flush() i get an error:
Quote:
Error: OutputStream.flush(native): test.log :: Access Denied
(Might not be the exact message, i received it in German => my translation)

The file is created but i cannot append any content to it.
Maybe someone could check, whether that error occurs on other
operating systems, too.

Ligustah
Back to top
View user's profile Send private message
JarrettBillingsley



Joined: 20 Jun 2006
Posts: 457
Location: Pennsylvania!

PostPosted: Sat Jun 14, 2008 8:10 am    Post subject: Reply with quote

Ah, missed 'Append' for making the stream writeable. Thanks, fixed.
Back to top
View user's profile Send private message
Ligustah



Joined: 21 Oct 2007
Posts: 45
Location: Berlin, Germany

PostPosted: Sat Jun 14, 2008 9:17 am    Post subject: Reply with quote

Great Smile

Ligustah
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> MiniD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group