Bioperl: recursive ftp...

Imran Shah ishah@atcc.org
Tue, 27 Apr 1999 19:33:44 -0400


 > 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.  

Use the Net::FTP package (part of libnet). From its man page:-

Net::FTP(3)    User Contributed Perl Documentation    Net::FTP(3)

NAME
       Net::FTP - FTP Client class

SYNOPSIS
           use Net::FTP;

           $ftp = Net::FTP->new("some.host.name");
           $ftp->login("anonymous","me@here.there");
           $ftp->cwd("/pub");
           $ftp->get("that.file");
           $ftp->quit;


Imran


---------------------------------------------------------------------------
 Imran Shah, Ph.D.                             Email: ishah@atcc.org
 Research Scientist, Bioinformatics            Voice: +1 703 365 2700 x267
 American Type Culture Collection              Fax  : +1 703 365 2740
 10801 Univ. Blvd., Manassas, Va 20110, USA.

=========== 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
====================================================================