Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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 chilling in the Monastery: (8)
As of 2015-07-08 03:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls