mirror of
https://github.com/republique-et-canton-de-geneve/input-ftp-transport.git
synced 2026-08-25 22:34:24 +00:00
A component for the ArcGIS GeoEvent platform for downloading file through FTP or SFTP | Read-only mirror of https://github.com/republique-et-canton-de-geneve/input-ftp-transport — République et canton de Genève. Issues & pull requests at the source.
- Java 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/ISSUE_TEMPLATE | ||
| src | ||
| .gitignore | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| LICENSE.txt | ||
| pom.xml | ||
| README.md | ||
input-ftp-transport
The input-ftp-transport allows to download data from a (s)ftp server. It has been tested with Geoevent server 10.8.1. It uses Apache Commons Net library to connect to ftp servers, and Jsch for sftp servers. If the files downloaded are csv or xml files, you can use standard Geoevent adapters to create a connector. For other formats, you have to create a custom adapter.
It has the following properties :
| Name | Description |
|---|---|
| Server type | Type of the server : ftp or sftp |
| Server | URL of the ftp server |
| Port | Port of the ftp server |
| User | Login user name |
| Password | User password |
| Server folder | Folder on the server where the file is stored |
| Private key | The private key used to authenticate into the ssh server |
| File format | Format of the file(s) to be downloaded. It can be the name of a single file or a filter with wild characters. For instance : *.txt |
| Local folder | Folder where the file will be downloaded |
| Delete files | Boolean which specifies if the files downloaded in the local folder will be deleted |
| Frequency | This is the time in seconds between successive task executions |
| Number of lines to skip | Number of lines to skip |
Build and deploy
In order to build the composant, you need the Geoevent sdk.
The GeoEvent Server SDK and documentation can be found in the ArcGIS Server installation directory. The default installation directories are below:
Windows: <ArcGIS Server installation directory>\GeoEvent\sdk (for example, C:\Program Files\ArcGIS\Server\GeoEvent\sdk).
Linux: <ArcGIS Server installation directory>/GeoEvent/sdk (for example, ~/arcgis/server/GeoEvent/sdk).
In these directories, you will find the document GeoEvent Developer Guide.pdf, which explains how to build and deploy the composant.