On Fri, 2005-10-28 at 03:37 -0700, 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
ut 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 pdb
ZHAO, BING am Freitag, 28. Oktober 2005 12.37:
> 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
>
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:
ZHAO, BING wrote:
> Hi,
Hello,
> 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.
perld
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