Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Net::FPPSSL on Win32 not working as advertised

by sanju7 (Acolyte)
on Oct 04, 2010 at 03:36 UTC ( #863235=note: print w/replies, xml ) Need Help??

in reply to Net::FTPSSL on Win32 not working as advertised

Hi perlte58:

Its not very clear if the error is due to any broken module or something. You can always tweak your script a bit to get more output. Like using "Debug" mode and getting return value at every step.

#!/usr/bin/perl use strict; use warnings; use Net::FTPSSL; my $server = ""; my $username = "user"; my $passwd = "pass"; my @returnval; my $ftps = Net::FTPSSL->new( $server, Port => 21, Encryption => EXP_CRYPT, Debug => 1) or error("Cannot reach $serv +er"); $ftps->login($username, $passwd) or error("Credential error, $ftps->last_message"); @returnval = $ftps->list() or error("Command error, $ftps->last_message"); $ftps->pwd(); print @returnval;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://863235]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2017-11-22 15:50 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (326 votes). Check out past polls.