From: Tobias Reif Date: 2002-06-16T22:58:50+09:00 Subject: Re: File.new('foo', 0600 , 'wb') YANAGAWA Kazuhisa wrote: > # Of course you can specify arbitrary mode allowed on your system. > # eg. File.new("/tmp/foo", File::CREAT|File::TRUNC|File::RDWR, 0600) Thanks. How to write the equivalent of File.new "foo", "wb", 0600 ? I mean, how to specify that it's a binary (image) file? Tobi -- http://www.pinkjuice.com/