From: 7stud -- Date: 2007-09-19T06:04:13+09:00 Subject: Re: removing newline from eachline in file Chuck Dawit wrote: > Also if the url doesn't work/exist > I don't want the script to crash I want to keep moving through the file > its reading. My isp redirects faulty urls to an error page, so all urls return a web page. I think you're going to have to use Net::HTTP to look at the headers of the response, and then take some action based on the header value. -- Posted via http://www.ruby-forum.com/.