From: Stuart Brand Date: 2006-06-05T08:43:31+09:00 Subject: Re: Class args The problem is when I try to combine text url = HtmlRead.clean("#{session.gets}") urlResult = "/srv/www/htdocs/" + url[1].to_s puts urlResult the output is what it should be, however I get the error the the files do not exist, if I put the file in manually it works, as in ReadFile.openAndRead("/srv/www/htdocs/index.html) do |line| session.print while line.gets end if I leave it as ReadFile.openAndRead(urlResult) do |line| session.print while line.gets end I get the error the the file does not exist even tho the puts said it correctly, I think it must be in the way I am joining the text??? Thanks again -- Posted via http://www.ruby-forum.com/.