Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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
Replies are listed 'Best First'.
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
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

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 scrutinizing the Monastery: (10)
As of 2015-09-04 02:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (128 votes), past polls