veeruch has asked for the wisdom of the Perl Monks concerning the following question:
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how copy dir in NET::SFTP
by jdtoronto (Prior) on Jul 09, 2006 at 13:06 UTC | |
|
Re: how copy dir in NET::SFTP
by shmem (Chancellor) on Jul 09, 2006 at 12:16 UTC | |
|
Re: how copy dir in NET::SFTP
by zentara (Cardinal) on Jul 09, 2006 at 12:17 UTC | |
|
Re: how copy dir in NET::SFTP
by stonecolddevin (Parson) on Jul 09, 2006 at 21:43 UTC | |
|
Re: how copy dir in NET::SFTP
by Argel (Prior) on Jul 11, 2006 at 17:36 UTC |