System Requirements:

  • An AS/400 (iSeries/400) running OS/400 version V4R4 (???) or later.
  • Your AS/400 needs to be running TCP/IP.
  • You need an ILE RPG/400 compiler.

 
Instructions

  • Log onto your AS/400 and create a library and file to upload the XML into:

    • CRTLIB LIBFTP
    • CRTSRCPF LIBFTP/XML RCDLEN(112)

  • Download the XML installer to your PC by right-clicking this link FTP API distribution and choosing "Save Target As."

    • Open an MS-DOS Prompt.
    • Type: cd \directory\where\you\put\ftpapi.xml
    • Type: ftp your-as400-name-here
    • Type: (enter your username & password when asked)
    • Type: ascii
    • Type: put ftpapi.xml LIBFTP/XML.UPLOAD
    • Type: quit

  • Back on the AS/400, type:
    • STRSEU LIBFTP/XML XMLEXTRACT
    • Press F15 and open up the UPLOAD member as your browse/copy member.
    • Copy everything between the <install_program> and </install_program> into the XMLEXTRACT member.
    • Press F3 and save your changes.
    • CRTBNDRPG LIBFTP/XMLEXTRACT SRCFILE(LIBFTP/XML)
    • CALL XMLEXTRACT ('UPLOAD' 'XML' 'LIBFTP')
    • The XML installer will guide you through the rest of the process.