From: Gordon Thiesfeld Date: 2007-11-28T08:11:41+09:00 Subject: Re: Accessing a file server with ruby On Nov 27, 2007 11:10 AM, Anthony wrote: > I don't want FTP. I just want the program to look into the directory > and see whats there. Google has not been much help at all. > Try: Dir['//servername/share/directory/*'] > Using Ruby 1.8.6, I can use Dir['servername'] and see what's there. > This doesn't work in Ruby 1.8.4. I can use Dir['C:/'] but can't get it > to jump to another server. If nothing else, is there an easy way to > update to Ruby 1.8.6? Will I have to reconfigure my servers? > Here's what I would do. If you have ruby installed to e.g. C:\ruby, rename the directory to C:\ruby184. Then install the newer version to C:\ruby and install necessary gems. If you run into a problem, switch the folders back. hth Gordon