SFTP error..
am 08.03.2006 08:47:00 von Vamsi_Doddapaneni=20
Hi All,
Thank you all for your earlier help.
I have a problem with SFTP
Though if I use FTp to get a file from other server, the FTP is
completing successfully,
But I need to work with SFTP,use Net::SFTP;
Here after connecting to the other server , iam using get function....
my $sftp =3D Net::SFTP->new($hostname, %connect_params)
or die "Cannot SFTP to host $hostname: $@";
$sftp->get("$remote_path/$remote_file", "./$remote_file") or die "Cannot
retrieve remote file $remote_path/$remote_file: ";
The problem is though the SFTP is copying the exact file from the other
server , its not exiting with return status as 1( i.e success)
Any help is appreciated
Thanks,
Vamsi
DISCLAIMER:
This email (including any attachments) is intended for the sole use of =
the intended recipient/s and may contain material that is CONFIDENTIAL =
AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or =
copying or distribution or forwarding of any or all of the contents in =
this message is STRICTLY PROHIBITED. If you are not the intended =
recipient, please contact the sender by email and delete all copies; =
your cooperation in this regard is appreciated.