Have a look at Net::FTP. It can do all that your asking. I think it's part of the standard distribution.
perldoc Net::FTP hth. Dp. On 28 Oct 2005 at 3:37, ZHAO, BING wrote: > Hi, > Is there a way to run unix command in perl? > To be specific, for the ftp command: > 1.ftp ftp.rcsb.org > 2.cd /pub/pdb/data/structures/divided/pdb/ > 3.cd nx > 4.get pdb1nxc.ent.Z > 5.bye > I need to automate this process to ftp get the file > pdb1nxc.ent.Z. > thank you. > > bing > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>