bwv549 wrote: > yes, this should download any kind of file (including excel). I use > it to read/write mp3 files from online: > > require 'open-uri' > open("http://someplace.com/somefile.mp3") do |in_io| > File.open("somefile.mp3", 'w') do |out_io| > out_io.print in_io.read > end > end ---------------------------------------------------------------- Thanks guys for the reply. Actually i had mistaken that the download picks the file from web server, but after talking to my developers i realized that they are internally getting the file using ftp. I wanted to know how can i "pull a file from ftp". Is there any ruby library to pull or push files through "ftp" Cheers -- Posted via http://www.ruby-forum.com/.