Richard Foley wrote:
>
> I am looking for a script or instruction on how to download files via
> http. I can browse to the directory and download files individually but
> I want to automate the process and download all files in directory at
> regular intervals.
>
> I cannot use ftp to get files from this directory.

Hi Richard.

Unlike FTP, HTTP doesn't allow you to retrieve a directory
list. You need to know beforehand what's already there.

HTTP servers can be set up to return a listing
for a directory if no file is specified, but in
general it's set up so that you can see only links
from public pages.

If you already know what the files are called,
then LWP::Simple will do what you need. If you
don't then you need to be able to parse things
like 'index.htm' to find linked files.

HTH,

Rob



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to