Subject: | 555 Can't read command channel bug |
Date: | Sat, 16 Apr 2011 16:16:21 +0100 |
To: | bug-Net-FTPSSL [...] rt.cpan.org |
From: | Vijay Mason <vijaymason [...] mac.com> |
Hi,
i'm having problems with NET::FTPSSL, see my code & log below. I can access the ftp via cyberduck (macosx) fine but not with NET::FTPSSL.
My Code
=======
#!/usr/bin/perl -w
my $host = "ftp.secureftp-test.com";
my $port = 990;
my $user = "test";
my $pass = "test";
use Net::FTPSSL;
my $ftps = Net::FTPSSL->new($host,
Port => $port,
Timeout => 15,
Encryption => "E",
Debug => 1)
or die "Can't open connect";
$ftps->login($user, $pass) or die "Can't login: ", $ftps->last_message();
$ftps->quit();
Log
===
Net-FTPSSL Version: 0.17
Perl: 5.010001 [5.10.1], OS: linux
Server (port): ftp.secureftp-test.com (990)
<<+ 555 Can't read command channel socket:
Can't open connect at ./st.pl line 9.
Kind Regards,
Vijay Mason