From: Shajith Date: 2008-10-09T02:23:14+09:00 Subject: Re: How to use ruby, csv and webservice? Need a direction. ------=_Part_54697_19321516.1223486718816 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi! On Wed, Oct 8, 2008 at 12:07 PM, Nick da G wrote: > > > If ruby has something like linux's "wget" - that would be great - I > think that would solve my problem. > Does open-uri help? http://www.ruby-doc.org/stdlib/libdoc/open-uri/rdoc/classes/OpenURI.html Something like this: require 'open-uri' open("http://myapp/reports/csv_export/2") do |csv| #Write the csv report to file? end HTH, Shajith ------=_Part_54697_19321516.1223486718816--