Editing Source Files using Eclipse and FTP: Difference between revisions

From Try-AS/400
Jump to navigation Jump to search
No edit summary
(Reworked)
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]] <br/>(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: [[Hello World (using C)]])


 
== Footnotes ==
----
*Links
** In case you like vi (or vim) better: https://stackoverflow.com/questions/58937739/edit-sqlrpgle-file-over-ftp-with-vim
*Footnotes
<references/>
<references/>


 
[[Category: Programming]]
 
[[Category: Basic Knowledge]]

Revision as of 21:02, 23 February 2020

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