deadlock Message Board
[ January Full List | Reply ]

reading a remote file in perl
From Chip on 12 Jan '00
I wish to read files from a remote URL and process them server side, effectively "re-publishing" them in my own site.
I have the remote site owners permission.

The first thing I want to do is get the script to copy the file to my local website, from there on in it will be processed as a local file.

The problem I have is a very trivial one, I don't know how to use perl to copy the file from the remote site to my local site.
It is the reading the file in to start with that is causing me the problem, is there an equivilent command to "open" that works on a remote file

Thanks in advacne for any help.

Simon Comins

Reply to this message

Required Details
Your name:

Optional Details
Home page title:
Home page URL:
(if you'd like to receive automatic replies by email)

Your Message