use Net::SFTP; my $sftp = Net::SFTP->new($host,(user => $user, password => $password, +) ,debug=>1); $sftp->get("dir/Net-SSH-Perl-1.30","Net-SSH-Perl-1.30");
Net-SSH-Perl-1.30 copying from Remote host.
But not giving like directory
.it is writing all the file in that diretory as one file.
wht i have given syntax wrong?
In reply to how copy dir in NET::SFTP by veeruch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |