This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:remote_ftp [2017/10/19 16:45] mpe |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Remote FTP ====== | ||
- | The remote FTP service is a FTP client used to periodically push data to an external FTP server. Its configuration is available in the //Remote FTP// tab under the //Services// menu. | ||
- | |||
- | The FTP client periodically generates csv files with the received data. These csv files are stored on the gateway. The first time SPN reaches the remote FTP server, all the stored csv files are uploaded to the server and are then deleted from SPN. After that, the csv files are uploaded/deleted at each begining of hour/day/week/month. | ||
- | |||
- | The //Received data backup// panel is used to configure how often new csv files are generated and how often they are uploaded to the server. | ||
- | |||
- | The //Remote FTP// panel is used to configure the access to the FTP server. | ||
- | |||
- | - Make sure that the ''Enable'' check box is **checked**. | ||
- | - In the ''Host'' field, set the //IP address// of the FTP server. Only IP address can be used. | ||
- | - In the ''Port'' field, set the port of the remote ftp (default: ''21''). | ||
- | - In the ''User'' and ''Password'' fields, set the username and password of the remote ftp server. To connect as anonymous user, the ''user'' field must be field with ''anonymous'' and the ''Password'' fields needs to be empty. | ||
- | - In the ''Directory'' field, set the remote path where you want to save the files (must start and end with a ''/'' symbol, default is ''/''). | ||
- | |||
- | <note important> | ||
- | The FTP server that receives CSV files must be configured in **passive** mode | ||
- | </note> | ||
- | |||
- | <note important> | ||
- | The password requested by the FTP server must respect the following rule: | ||
- | regex ^([A-z0-9])$ | ||
- | Only alphanumeric values are allowed. | ||
- | Please, warn your IT department about this before creating an account. | ||
- | </note> |