Yes

Example:


system("ftp ftp.rcsb.org ; /pub/pdb/data/structures/divided/pdb/ ; cd nx ; get 
pdb1nxc.ent.Z  ");

By

José Pinto

-----Original Message-----
From: ZHAO, BING [mailto:[EMAIL PROTECTED] 
Sent: sexta-feira, 28 de Outubro de 2005 11:37
Cc: beginners@perl.org
Subject: about running unix command in perl script

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>


Reply via email to