Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Unix 2 Perl Module FTP

by runrig (Abbot)
on Sep 28, 2012 at 19:02 UTC ( #996279=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Unix 2 Perl Module FTP
in thread Unix 2 Perl Module FTP

Read (at least) the SYNOPSIS of the Net::FTP docs. Change the first $! to $@. Include $ftp->message() in all of the other diagnosic error messages.


Comment on Re^3: Unix 2 Perl Module FTP
Re^4: Unix 2 Perl Module FTP
by simbalion (Initiate) on Sep 28, 2012 at 19:17 UTC
    When using your example of $ftp_user = 'DOMAIN\\user1'; I get the error: Could not login to 9.9.9.9 1000 with user DOMAIN\user1: at ./test.pl +line 34. ##1000 is the port sed -n 34p test.pl showed me : $ftp->login($ftp_user, $ftp_password) #line 34
Re^4: Unix 2 Perl Module FTP
by simbalion (Initiate) on Sep 28, 2012 at 19:26 UTC
    Sir I read the SYNOPSIS and line 6 is still where there is no clarific +ation: If you had a MS Domain controller where the logins were DOMAIN\user password how would you "hard code" that in line 6 of the SYNOPSIS example $ftp->login("anonymous",'-anonymous@') How would you format this pluggin in the correct syntax I swear I have + tried it all!!!
        /opt/perl_32/lib/5.8.8

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2015-07-02 17:12 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 (44 votes), past polls