Re: Using perl how do you write a script to copy a remote file into your own site

From: Paul Lalli (mritty_at_gmail.com)
Date: 12/29/04


Date: Wed, 29 Dec 2004 13:18:48 GMT


"ARGENTINA" <sjprec@yahoo.com> wrote in message
news:f2747eca.0412290510.f238d00@posting.google.com...
> Using perl how do you write a script to copy a remote file into your
> own site. In my situation want to copy a rss feed from
> http://remoteserver/news.xml for example.

http://search.cpan.org is usually a good place to start.

For just saving a file off the web, I would recommend using LWP::Simple.
For working with RSS feeds, go to the above site and search for RSS, and
use whichever module looks best suited to your task.

Paul Lalli



Relevant Pages

  • Using perl how do you write a script to copy a remote file into your own site
    ... Using perl how do you write a script to copy a remote file into your ... Marcos ...
    (comp.lang.perl.misc)
  • [Kurdish Security # 10 ] MF Piadas 1.0 Remote File Include Vulnerability
    ... # Kurdish Security Advisory ... # MF Piadas 1.0 Remote File Include Vulnerability ... # Script: MF Piadas ... This is script to be found remote file execution bug. ...
    (Bugtraq)
  • Re: OT: security
    ... this remote file will be included into ... the script and executed. ... Note that the remote server would have to ... Mechanisms such as the above allow attackers to execute any code they ...
    (comp.lang.php)
  • Help: Net::SFTP cant find my file..?
    ... I wrote a script that looks for files and then sends them to a remote ... Couldn't write to remote file: Failure at ... I tried specifying the full path, ie, /home/user/foo.csv, but I got the ...
    (perl.beginners)
  • Re: Fwd: [PHP] Highjack?
    ... show.php is a script you've written. ... This causes show.php to include (i.e. execute!!) the remote file injectionscript.txt from badguys.net at this URL... ... Probably not, because by the time it fails they've already replaced your index.php and potentially installed a rootkit, backdoors and whatever else (depending, of course, on how locked down the web server is and your file permissions). ...
    (php.general)