Your IP : 216.73.216.74


Current Path : /proc/thread-self/root/usr/share/doc/perl-Net-SSLGlue/examples/
Upload File :
Current File : //proc/thread-self/root/usr/share/doc/perl-Net-SSLGlue/examples/ftps-direct.pl

use strict;
use warnings;
use Net::SSLGlue::FTP;

my $ftp = Net::FTP->new( 'ftp.example.com', 
    SSL => 1, 
    SSL_ca_path => '/etc/ssl/certs',
    Passive => 1,
    Debug => 1,
);
$ftp->login('foo','bar');
print $ftp->ls;