From: Robert Klemme Date: 2006-07-31T01:20:06+09:00 Subject: Re: Proof if a File exsists Jonathan Heinen wrote: > Hi, > > I want to proof if a File exsist. I just realize this by > > if(Dir.glob(file).length == 0) > > But I think there should be a better possibiliti like File.exsists?(file) You're close. Check the docs: http://ruby-doc.org/ robert