Mirror tool won't recurse

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Alan Dayley
Date:  
To: Main PLUG discussion list
Subject: Mirror tool won't recurse
I need to mirror the CPAN repository to a local Linux server using FTP.
~ According to http://www.cpan.org/misc/cpan-faq.html#How_mirror_CPAN I
can do this using the "mirror" Perl script found at
http://sunsite.org.uk/packages/mirror. Nice except that I cannot get to
sunsite.org.uk. That's OK because I found the package at
ftp://ftp.cise.ufl.edu/pub/mirrors/tex-archive/tools/mirror/mirror.html
Now were good so far.

I installed the "mirror" script as documented and ran:

mirror -g mirrors2.kernel.org:/pub/CPAN/

This gave me all the files at ftp://mirrors2.kernel.org/pub/CPAN but
nothing from any subdirectories. The documentation at the mirror.html
link states that recursion is the default but it did not work. Fine
let's try again:

mirror -d -krecursive=true -g mirrors2.kernel.org:/pub/CPAN/

That should explicitly enable recursive checks but, it does not. I
still only get the files in the top targeted directory and nothing of
the subdirectories. Increasing the debug output by adding up to four
"-d" options gives more information but no errors.

Question 1: Has anyone used the "mirror" script before and can tell me
what I am doing wrong? Don't hold back!

Question 2: OR assuming the mirror script is broken, is there another
mirroring script that uses FTP to retrieve the remote files that anyone
can recommend?

Alan


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss