Dear Nadeem
What is the CCSID of your 5250 session interactive job (use DSPJOB --> option 2)? If it is not 37, please use CHGJOB to set it to 37 and try initiating FTP session to Windows server again to see if the issue still persists or not. If it still persists, I suggest you start a communication trace for the specific IP address of Windows server and try the FTP again and then end the trace and dump it as a PCAP file and use Wireshark to check the communication packet exchange if you can see anything out of order or not.
To start comm trace:
1) WRKTRC *ALL to make sure no comm trace is active for your IBM i Ethernet line description
2) STRCMNTRC CFGOBJ(<Ethernet line description name>) CFGTYPE(*LIN) MAXSTG(256K) TRCFULL(*STOPTRC) CMNTRCOPTS(*RMTIPADR) RMTIPADR(XXX.XXX.XXX.XXX)
3) Do the FTP
4) WRKTRC *ALL and end the trace and then dump it to an IFS folder and use IBM i ACS to downloadit to your Windows PC and run Wireshark
5) You may want to delete the trace
------------------------------
Chance favors only the prepared mind.
-- Louis Pasteur
------------------------------
Satid S.
------------------------------
Original Message:
Sent: Wed February 21, 2024 05:10 AM
From: Nadeem Ahmed Farooqui
Subject: FTP from IBMi to Window Server
Dear IBM Tech Group,
I hope this message finds you well. I am encountering an issue with FTP from my IBMi machine to a Windows server. Specifically, when attempting to transfer files with the extension *.SAVF, I receive an authentication error stating that the password is incorrect.
I have verified that my credentials, including my username and password, are correctly set up on the Windows machine. I've confirmed this by successfully logging into the Windows machine with the same credentials. However, when initiating FTP from the IBMi machine, I consistently encounter the authentication error.
I've also attempted to use WinSCP and FileZilla, both of which yield the same error.
Do you have any insights into what might be causing this issue or any suggestions on how to troubleshoot and resolve it?
Regards,
Nadeem Ahmed Farooqui
Manager Technology Services
Octans Digital (Pvt) Limited
Phone: +92 21 34329630
Mobile: +92 321 2196219
E-mail: nfarooqui@octans.ai
Web: www.octans.ai
Address: 2nd Floor, Nice Trade Orbit Building, Plot 44-A, P.E.C.H.S, Block 6, Shahrah-e-Faisal, Karachi, 75400, Pakistan
