From: ts Date: 2002-06-16T23:53:55+09:00 Subject: Re: File.new('foo', 0600 , 'wb') >>>>> "T" == Tobias Reif writes: T> I mean, how to specify that it's a binary (image) file? flag |= File::BINARY if File::Constants.const_defined?("BINARY") with 1.7 flag |= File::BINARY if File::const_defined?("BINARY") Guy Decoux