Editing Source Files using Eclipse and FTP: Difference between revisions

From Try-AS/400
Jump to navigation Jump to search
Line 10: Line 10:
* Create a new filter:<br/>[[Image:FTPEclipse04.png]]
* Create a new filter:<br/>[[Image:FTPEclipse04.png]]
* Input folder with this format: <code>/QSYS.LIB/YOURLIBRARY.LIB/YOURPHYSICALSOURCEFILE.FILE</code>, for example: <code>/QSYS.LIB/SNDBX.LIB/SNDBX.FILE</code>
* Input folder with this format: <code>/QSYS.LIB/YOURLIBRARY.LIB/YOURPHYSICALSOURCEFILE.FILE</code>, for example: <code>/QSYS.LIB/SNDBX.LIB/SNDBX.FILE</code>
* You can now access the members of this file:<br/>[[Image:FTPEclipse05.png]] <br/>[[Image:FTPEclipse06.png]] (see also: [[Beginners Project: Hello World (using C)]])
* You can now access the members of this file:<br/>[[Image:FTPEclipse05.png]]<br/>[[Image:FTPEclipse06.png]] <br/>(see also: [[Beginners Project: Hello World (using C)]])





Revision as of 21:51, 7 October 2019

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: Beginners Project: Hello World (using C))