SFTP
6 answers - 156 bytes -

Hi,
Does anyone know a perl module that can be used to get the files from a
secure FTP server that listens to port 22?
Thanks.
Teddy
No.1 | | 323 bytes |
| 
Hi,
No need to respond. I have found the right module I think.
Thank you.
Teddy
From: " Rasnita" <orasnita (AT) fcc (DOT) ro>
Hi,
Does anyone know a perl module that can be used to get the files from a
secure FTP server that listens to port 22?
Thanks.
Teddy
No.2 | | 290 bytes |
| 
Rasnita [R], on Friday, May 6, 2005 at 10:03 (+0300) thinks
about:
RNo need to respond. I have found the right module I think.
good luck with Net::SFTP under windoze. If you will have problems,
just look to thread: mid:1275824844.20050322161227 (AT) 2ge (DOT) us
No.3 | | 630 bytes |
| 
>
good luck with Net::SFTP under windoze. If you will have problems,
just look to thread: mid:1275824844.20050322161227 (AT) 2ge (DOT) us
--
Thank you. I have found some problems with Net::SFTP under Windows, because
it tells me that:
Can't map service name 'ssh' to port number at D:/usr/site/lib/Net/SFTP.pm
line 36
when running a simple program.
Please tell me how can I search for that thread you told me about.
I have visited www.perl.org / the page with the archive for this list, but I
couldn't find any search form.
Thank you.
Teddy
No.4 | | 1146 bytes |
| 
Rasnita [R], on Friday, May 6, 2005 at 12:25 (+0300) typed:
RThank you. I have found some problems with Net::SFTP under Windows, because
Rit tells me that:
RCan't map service name 'ssh' to port number at D:/usr/site/lib/Net/SFTP.pm
Rline 36
yes, you are on "beginning" of troubles. You have to specify this port
explicitely, something like this:
#!/usr/bin/perl -w
use strict;
use warnings;
use Net::SFTP;
my $host = '11.11.111.11';
my $user = 'root';
my $pass = '';
my $sftp = Net::SFTP->new($host,user =>$user,
password=>$pass,
debug =>1,
ssh_args=>[port=>22] ) || die "Can't connect $@\n";
print "Connected\n";
also, you have to _exactly_ follow instruction for this module for
windows instalation, then it runs ok.
problem was original Net::SFTP which calls NET::SSH::Perl
also mid:1275824844.20050322161227 (AT) 2ge (DOT) us is original message, I use
excellent The Bat client, which supports this kind of URI, I just
click on this and it gets me to the original :)
No.5 | | 208 bytes |
| 
From: "Ing. Branislav Gerzo" <konfera (AT) 2ge (DOT) us>
good luck with Net::SFTP under windoze. If you will have problems,
just look to thread: mid:1275824844.20050322161227 (AT) 2ge (DOT) us
No.6 | | 579 bytes |
| 
Rasnita [R], on Thursday, June 2, 2005 at 13:59 (+0300) made
these points:
>good luck with Net::SFTP under windoze. If you will have problems,
>just look to thread: mid:1275824844.20050322161227 (AT) 2ge (DOT) us
RCan you tell me how to read the page with that thread?
you can put that into google "1275824844.20050322161227 (AT) 2ge (DOT) us"
and also my Mail client supports this kind of links, when I clink on
that, it gives me that thread by message id.
So you can read the whole thread at:
for example: