On Mon, Jun 27, 2011 at 11:23 PM, Abe Heward <[email protected]> wrote:
> Ah. Okay. Here's why I can't do that:
>
> Because the file is on a server whose drive is not mapped locally. So,
> File.open("http://69.71.52.209/tmp/fb-pixels.log", "r") results in a "The
> system cannot find the file specified." error.
>
Try this:
require 'open-uri'
log = open("http://69.71.52.209/tmp/fb-pixels.log").read
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]