On Mon, 4 Oct 2004, John wrote:
Can i define a different port than 22 ?
I don't see anything about specifying a port in the Net::SFTP docs, but the underlying SSH protocol does provide support for this, so it should be possible.
Have you tried specifying the port as part of the host name?
my $sftp = Net::SFTP->new(my.host.org:2222);
?
I don't actually know if that will work, but it's worth a try.
-- Chris Devers
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>