in reply to Re^3: Aborting ftp
in thread Aborting ftp
Wish you well...use Net::FTP; $ftp = Net::FTP->new("some.host.name", Debug => 1) or die "Cannot connect to some.host.name: $@"; $ftp->login("your_name",'password') or die "Cannot login ", $ftp->message; $ftp->cwd("remote_dir") #cwd at remote site may not #be necessary depending upon your logon. or die "Cannot change working directory ", $ftp->message; $ftp->get("somefilename") or die "get failed ", $ftp->message;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Aborting ftp
by intrance (Initiate) on Jan 01, 2009 at 17:30 UTC |