Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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 = "192.168.2.108"; 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;


Comment on Re: Net::FPPSSL on Win32 not working as advertised
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://863235]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2014-10-01 20:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (38 votes), past polls