System Requirements:

  • An AS/400 (iSeries/400) running OS/400 version V5R1 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 save file to store the store the distribution in. To do this, type:
    • CRTSAVF QGPL/FTPAPI

  • Download my FTP API distribution and save it to your PC -- or to your AS/400 (directly into the SAVF.)

  • If you sent it to your PC, FTP the distribution from your PC to your AS/400. To do this:
    • Open an MS-DOS Prompt.
    • Type: cd \directory\where\you\put\ftpapi.savf
    • Type: ftp your-as400-name-here
    • Type: (enter your username & password when asked)
    • Type: binary
    • Type: put ftpapi.savf QGPL/FTPAPI
    • Type: quit

  • Back on the AS/400, type:
    • DLTLIB LIBFTP (ignore errors if library doesnt exist)
    • RSTLIB SAVLIB(LIBFTP) DEV(*SAVF) SAVF(QGPL/FTPAPI)

  • Open up the source member called "README" in the QRPGLESRC file for further instructions.
    • STRSEU LIBFTP/QRPGLESRC README