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!!!
        /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