Editing Source Files using Eclipse and FTP

From Try-AS/400
Revision as of 21:02, 23 February 2020 by PoC (talk | contribs) (Reworked)
Jump to navigation Jump to search

You can access all your files using FTP. This article will show you how to Edit-In-Place with Eclipse Neon.3 and Remote Systems Extension.

Setting up the connection

  • Add a new connection:
    FTPEclipse01.png
  • Choose FTP:
    FTPEclipse02.png
    Input your hostname, username and so on.
  • Open Preferences and set transfer mode for files to ASCII:
    FTPEclipse03.png

Setting up a filter to access files

You can access your files by browsing the filesystem's root, but this is much more handy:

  • Create a new filter:
    FTPEclipse04.png
  • Input folder with this format: /QSYS.LIB/YOURLIBRARY.LIB/YOURPHYSICALSOURCEFILE.FILE, for example: /QSYS.LIB/SNDBX.LIB/SNDBX.FILE
  • You can now access the members of this file:
    FTPEclipse05.png
    FTPEclipse06.png
    (see also: Hello World (using C))

Footnotes