Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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.

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!!!
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 1000 with user DOMAIN\user1: at ./ +line 34. ##1000 is the port sed -n 34p showed me : $ftp->login($ftp_user, $ftp_password) #line 34

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2018-01-21 05:32 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (227 votes). Check out past polls.