From: ara.t.howard@... Date: 2006-05-04T00:34:38+09:00 Subject: Re: problems ftp'ing with RUBY On Thu, 4 May 2006, Peter Bailey wrote: try > require 'net/ftp' > indexfiles = Dir.glob("*.pdf") > indexfiles.each do |indexfile| > ftp = Net::FTP.open('mpc.bna.com') do |ftp| ftp.passive = true > ftp.login('username','password') > ftp.chdir('/data/bnaindex') > ftp.putbinaryfile("indexfile") > end > end -a -- be kind whenever possible... it is always possible. - h.h. the 14th dali lama