[Ilugc] Perl Help
- From: bga@xxxxxxxx (BGanesh)
- Date: Tue, 6 Aug 2002 15:40:44 -0400
I want a perl script that will open a remote file from some other server
like http://www.something.com/somefile.zip and store the file onto my
server being http://www.myserver.com/somefile.zip
Your server's externally visible name is irrelavant, all you need access to
is the directory that the http daemon will serve files from.
Please tell me a method or any example for the same. I am new to perl
Look at the LWP::simple module's "get" function. You will need to understand
the HTTProtocol to proceed any further.
If you are a newbie, may I reccomend, the excellent "Learning Perl" by Randal
Schwartz (aka Llama book), along with the "Perl Cookbook". These two will
help jumpstart your perl experience :) Good luck.
We will find a way, or we will make one - Hannibal
Other related posts: