Power

 View Only
  • 1.  FTP from IBMi to Window Server

    Posted Wed February 21, 2024 05:11 AM

    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

    signature_2335501106



  • 2.  RE: FTP from IBMi to Window Server

    Posted Thu February 22, 2024 03:30 AM

    Hi Nadeem, first of all who is the FTP Server? IBMi or Windows server ?

    Last info we need is the OS400 version and PTF level to avoid FTP client problem.

    Do you use BIN command before transfer the file? 

    Do you have any kind of firewall or NAT between IBMi client and Windows Server? 

    Let us know and have a good day. 



    ------------------------------
    Luca Maurizio Verzicco
    ------------------------------



  • 3.  RE: FTP from IBMi to Window Server

    Posted Thu February 22, 2024 03:33 AM

    Other check to do ... do you have EXIT point loaded on : QIBM_QTMF_SVR_LOGON ? 

    you can check with WRKREGINF command. 

    Have a good day. 



    ------------------------------
    Luca Maurizio Verzicco
    ------------------------------



  • 4.  RE: FTP from IBMi to Window Server

    Posted Thu February 22, 2024 07:33 AM

    My question is this:  Are you going FROM the IBM i to the Windows server?  When you use FileZilla and others are you going FROM your Windows client to the Windows server?  Or, are all of these going FROM the Windows server and your Windows client TO the IBM i?

    On this Windows server do you have a local account along with your AD account?  If so, are the passwords different?

    Oh, and for true IBM i stuff you might do better to focus on the IBM i subgroup underneath Power.  Each of the items listed at the following are subgroups and are not meant to say that all those topics are welcome at the top group.  https://community.ibm.com/community/user/power/home



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 5.  RE: FTP from IBMi to Window Server

    Posted Thu February 22, 2024 03:57 PM

    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.
    ------------------------------



  • 6.  RE: FTP from IBMi to Window Server

    Posted Fri February 23, 2024 04:32 AM

    Hi, 

    I understand you try to ftp from IBM i (source) to Windows server. The Windows server have FTP server. Do you use the FTP server of Windows or a sort of filezilla  ?server. and the same problem 

    If you use Windows FTP server, try disable Firewall on windows, you can create ftp rule after that. The user have to have permission on the Windows folder.

    If not work disable windows ftp server and try with filezilla server

    Regard



    ------------------------------
    Virgile VATIN
    ------------------------------