Gossamer Forum
Home : General : Perl Programming :

Open a file from a webserver

Quote Reply
Open a file from a webserver
I have recently learned how get my Perl script to open a text file, using something like this;

($INPUT_FILE = "weeds_bgy.txt");

And I can specify a path to the file, such as;

($INPUT_FILE = "textfiles/weeds_bgy.txt");

But what I really want to do is open the file using a URL, such as

($INPUT_FILE = "http://www.domain.com/textfiles/weeds_bgy.txt");

Any help would be appreciated, even to say that's not possible.
Subject Author Views Date
Thread Open a file from a webserver joematt 4866 Feb 16, 2004, 2:23 PM
Thread Re: [joematt] Open a file from a webserver
Aki 4734 Feb 16, 2004, 2:27 PM
Post Re: [Aki] Open a file from a webserver
joematt 4704 Feb 16, 2004, 2:39 PM