Ask a Question related to PERL Modules, Design and Development.
-
gino #1
net::sftp connection close
Hi,
I have a strange connection problem with sftp.
It seems that connection is establish but when I try to download any
file it return me an error.
Here the code:
eval {
$sftp = Net::SFTP->new($connessione{HOST}
,user=>$connessione{USER}
,password=>$connessione{PASSWORD} );
};
print "Cannot connect to sftp $connessione{HOST}" if ($@);
my $rm_file1 =
'/home/oriolo_bi/ORIOLO_BI/PWA/2006/03/PWA.2006.03.BI_FA2.0001.ok.gz';
my $rm_file2 =
'/home/oriolo_bi/ORIOLO_BI/PWA/2006/03/PWA.2006.03.BI_FA1.0001.ok.gz';
my $rm_file3 =
'/home/oriolo_bi/ORIOLO_BI/PWA/2006/03/PWA.2006.03.BI_GR.0001.ok.gz';
my $rm_file4 =
'/home/oriolo_bi/ORIOLO_BI/PWA/2006/03/PWA.2006.03.BI_SW.0001.ok.gz';
my $local_file1 = '/store2/kpi/temp/Nicola/BI_FA2.0001.ok.gz';
my $local_file2 = '/store2/kpi/temp/Nicola/BI_FA1.0001.ok.gz';
my $local_file3 = '/store2/kpi/temp/Nicola/BI_GR.0001.ok.gz';
my $local_file4 = '/store2/kpi/temp/Nicola/BI_SW.0001.ok.gz';
defined( $sftp->get($rm_file1, $local_file1)); #115
defined( $sftp->get($rm_file2, $local_file2));
defined( $sftp->get($rm_file3, $local_file3));
defined( $sftp->get($rm_file4, $local_file4));
.......
......
I get the following error message:
Connection closed at ./scar.pl line 115
Thanks at all
gino Guest
-
connection problems - ftp & sftp-pls help!
when we try to connect now (via ftp or sftp) we get the error: "Contribute has disabled your connection to this website because an unknown error... -
Switch to SFTP Connection
We're switching our connection to the publishing server from FTP to SFTP (after having configured the publishing server for that using openSSH). ... -
SFTP Connection Problems
I'm attempting to set up a new connection using SFTP. Every time I try to connect, I receive a "Please make sure that you have sufficient... -
sftp connection fails
I am testing Contribute using sftp to connect to website sftp server to upload files. The connection fails, message is "Contribute could not... -
PARI stack overflow during long Net::SFTP connection
, who wrote in article <4df5f522.0407160120.1109ce0d@posting.google.com>: The hint is for GP/PARI. I'm not sure that allocatemem() is supported...



Reply With Quote

