This should give you the basic idea of Net::FTP.
sub ftp_order_file { my $order_file = shift; my $ftp = new Net::FTP("hostname") || die "fail"; $ftp->login("userid", "password"); $ftp->cwd("/aa/a00/rel2.4/env/AATS1/GlomOrders"); $ftp->get($order_file); $ftp->close(); }
Put is not much different, just read the document.
In reply to Re: ftp scripts
by pg
in thread ftp scripts
by darrengan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |