in reply to Re: Want to Copy files from remote machine(Solaris) to Local Machine(Windows) using FTP::Net
in thread Want to Copy files from remote machine(Solaris) to Local Machine(Windows) using FTP::Net

Thank both of you. I realiaze my mistake and follow the link as given you. I successfully retrieve file to my directory :
use strict; use warnings; use Net::FTP; use Net::Netrc; my $ftp; $ftp = Net::FTP->new ("100.200.100.200", Timeout => 9000, Debug => 3) or die "Cannot connect to some.host.name: $@"; $ftp->login("abc",'def') or die "Cannot login ", $ftp->message; $ftp->cwd("/test") or die "Cannot change working directory ", $ftp->message; $ftp->get("original.pl") or die "get failed ", $ftp->message; $ftp->quit;
Thanks
  • Comment on Re^2: Want to Copy files from remote machine(Solaris) to Local Machine(Windows) using FTP::Net
  • Download Code