deadlock Message Board
[ January Full List | Reply ]

Re: reading a remote file in perl
From David A on 12 Jan '00
replying to reading a remote file in perl posted by Chip

>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

I had a need for this exact thing. I could not find a good solution so I gave up. If you find out how please share it with us.

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