<< Click to Display Table of Contents >> Navigation: Sensor Settings > Capture Results Delivery > Manual Setup (Config File) > FTP Profiles |
A sample setup of a delivery profile using FTP is provided below:
<Profile name="largefile-ftp" enabled="true" default="false">
<Option name="protocol" value="ftp" />
<Option name="file-drop-path" value="ftp://127.0.0.1/test" />
<Option name="enable-ssl" value="true" />
<Option name="user-name" value="test" />
<Option name="password" value="" />
<Option name="enable-tmp" value="false" />
<Option name="save-passport" value="true" />
<Option name="save-eml" value="true" />
<Option name="save-zip" value="false" />
<Option name="zip-level" value="0" />
<Option name="save-headers" value="xsensor, xkpps" />
<Option name="profile-fail-timeout" value="10" />
<Option name="go-profile-weight" value="1" />
<Option name="go-profile-reserve" value="false" />
</Profile>
Description of FTP profile options:
protocol
Defines the data transfer protocol. In this case, it is ftp
file-drop-path
Defines the path to the directory on the FTP server to which the result is to be saved. Example: ftp://127.0.0.1/test
enable-ssl
Defines the SSL tunnel usage status. Values: true or false
user-name
Defines the username that has the rights necessary to access the FTP server's directory, for example: test
password
Defines the password of the user that has the rights necessary to access the FTP server directory, for example: "123456secret"
enable-tmp
Enables/disables moving files in 2 steps. Values: true or false
save-passport
Enables saving of data to the FTP server in the Microolap EtherSensor internal format. Values: true or false
save-eml
Enables saving of data to the FTP server in the EML envelope format. Values: true or false
Please note:
1. The save-eml option suppresses the save-passport option: if both save-eml and save-passport are set to true, data will only be saved in EML format.
2. If both save-eml and save-passport are set to false, the delivery profile will work, but the data will not be saved.
save-zip
Enables saving of data to the FTP server in the ZIP archive format. Example: true or false
zip-level
Defines the ZIP archive compression ratio. Possible values for this setting are from 0 to 9, where 0 means no compression, 1 means minimum compression, but high speed, and 9 means maximum compression
save-headers
Enables/disables saving of standard message headers, as well as X-Sensor headers, in a separate message attachment named microolap_msis_headers.txt.
Possible values:
all
Saves all message headers
xsensor
Saves headers with the X-Sensor prefix
other
Saves standard headers (From, To, Cc, Bcc) and also any others to which xsensor settings don't apply
none
Disables saving of headers in a separate attachment.
profile-fail-timeout
Defines the timeout for message delivery in the event of receiver rejection. Provide a value in seconds.
go-profile-weight
Determines a ratio for distribution of messages among receivers. Possible values are from 1 to 10. The setting is valid only when used in a group profile.
go-profile-reserve
Enables/disables the use of the reserve profile. If this setting is enabled and the main (non-reserve) delivery profiles fail, this profile will be used for data delivery. The setting is valid only when used in a group profile.