From: ChrisH Date: 2006-03-25T01:58:52+09:00 Subject: Re: Trouble with open/write/close cycle > > len = File.stat( 'junk').size > > f = File.open 'crapper', 'w' Are there really 2 files? or is this a typo? The docs on IO::open says tha using the 'w' mode cause the file to be truncated if it exists. You need to look at 'a' mode cheers