From: daz Date: 2004-07-26T14:21:52+09:00 Subject: Re: [ANN] Net::SSH 0.0.4 "Happy Birthday To Me" gabriele renzi wrote: > > Anyway, while playing with this I discovered that on windows open-uri > fails with ftp files, due to relying on dev/null: > Don't let Posix-centric software bring you to your knees ;-) Hack \lib\ruby\1.8\open-uri.rb and replace '/dev/null' with 'NUL'. (near the end of the script) -- - ftp.getbinaryfile(self.path, '/dev/null', Net::FTP::DEFAU ... + ftp.getbinaryfile(self.path, 'NUL', Net::FTP::DEFAU ... and make it Win-centric ! :daz