From: Joshua Muheim Date: 2006-04-02T01:06:20+09:00 Subject: Re: Examine Folder Contents? > You'll want the class Dir, and the class method glob. > png_files = Dir.glob(File.join(path_of_folder, '*.png')) > > Cheers, > Benj Thank you so far. I'm using this in Ruby on Rails and tried the following: @images = Dir.glob('/images/content/parties/photo_galleries/1/', '*.jpg') Sadly this delivers me an empty array, but there are about 20 jpg files in this folder... :-/ Thanks for help... Josh -- Posted via http://www.ruby-forum.com/.