Bioperl: recursive ftp...

Steve Roels roels@mpi.com
Wed, 28 Apr 1999 09:51:28 -0400


Dawn,

If you envision doing this a lot and/or want to update the files at some interval if and
only if they have changed, you may want to look at 'mirror'.

http://sunsite.org.uk/packages/mirror/

You set up a simple config file that specifies host, directory, recursive behavior, regexp
for matching the files you want, etc.

And mirror does the rest, updating those files that have changed, and optionally deleting
those that have been removed.

-Steve

dfield@molbiol.ox.ac.uk wrote:
> 
> What I'd like is a script that just goes to a specified host, logs in,
> cd's to the directory and then ftps the named files.  Does anyone have perl
> code that does this?
> At CPAN I found a shell archive but it's from 1993 and I can't contact the
> author with the e-mail given...
> 
> thanks,
> Dawn
> 
> Dawn Field
> Oxford Univerisity
> Molecular Infectious Diseases Group. IMM
> John Radcliffe Hospital
> Headington
> Oxford OX3 9DS
> 
> e-mail: dfield@molbiol.ox.ac.uk
> 
> tel: 011-44-1865-222346 or 222347
> fax: 011-44-1865-222626
> 
> =========== Bioperl Project Mailing List Message Footer =======
> Project URL: http://bio.perl.org/
> For info about how to (un)subscribe, where messages are archived, etc:
> http://www.techfak.uni-bielefeld.de/bcd/Perl/Bio/vsns-bcd-perl.html
> ====================================================================

-- 

*****************************************************************
Steve Roels, Ph.D.                       
Scientist - Computational Biology        Phone: (617) 761-6820
Millennium Pharmaceuticals, Inc.         FAX:   (617) 577-3568
640 Memorial Drive                       Email: roels@mpi.com
Cambridge, MA 02139-4815
*****************************************************************
=========== Bioperl Project Mailing List Message Footer =======
Project URL: http://bio.perl.org/
For info about how to (un)subscribe, where messages are archived, etc:
http://www.techfak.uni-bielefeld.de/bcd/Perl/Bio/vsns-bcd-perl.html
====================================================================