Opps. The Net::FTP options start in caps.

should be Port=>$port  instead of port=>$port!

It was going over to the normal FTP server since the port parameter was 
not recognised! The user I was testing was not defined to the normal FTP 
server.

Thanks all for the response and help.
__________________________________________
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services; 
BAX Global Inc. Irvine-California
Tel: 714-442-7591   Fax: 714-442-2840




Ranga Nathan <[EMAIL PROTECTED]> 

Sent by: [EMAIL PROTECTED]
01/19/2006 12:19 PM

To
[email protected]
cc

Subject
[Boston.pm] Net::FTP question - authentication issue






I am having a strange problem authenticating to an FTP server on the 
mainframe using a non-standard port.
The authentication works for one user but not for another. Yet when I use 
the ftp client on linux, both work fine.
I am confused here. 

Here is a telnet session which should emulate what Net::FTP does. But 
Net::FTP returns the error "530 PASS command failed".

bash-2.04$ telnet mvs 5566
Trying 192.168.43.159...
Connected to mvs.
Escape character is '^]'.
220-Connect:Enterprise 01.02.00 on z/OS   010400
220-Ready (local host date and time) 2006/019   at 12:15:10
220   WELCOME TO TEST BAX FTP
user APINER
331 Send password please.
pass IDDD
230 APINER   is logged on.  Current working Mailbox is "APINER  ".

On the server side, I do not see anything until authentication is 
successful.

I went through Net::FTP wiith the debugger but I dont see anything funny.

Any directions would be appreciated.
__________________________________________
Ranga Nathan / CSG
Systems Programmer - Specialist; Technical Services; 
BAX Global Inc. Irvine-California
Tel: 714-442-7591   Fax: 714-442-2840
 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to