Difference between revisions of "Os4x oftp2 offlinehandling"

From OS4X
Jump to navigation Jump to search
(New page: == What is it? == "<code>os4x_oftp2_offlinehandling</code>" is a daemon which runs on a seperate machine, without needing an OS4X license. It needs an OS4X configuration file (default: "<c...)
 
Line 7: Line 7:
 
There are several ways to customize the behaviour of this daemon. Please have a look at the configuration settings with all subsections [[[[OS4X Core configuration#Enable offline handling of OFTP2_transfered files.3F]]|here]].
 
There are several ways to customize the behaviour of this daemon. Please have a look at the configuration settings with all subsections [[[[OS4X Core configuration#Enable offline handling of OFTP2_transfered files.3F]]|here]].
  
== scripts ==
+
=== scripts ===
 
There are two script, which get executed when accessible. These scripts have the following parameters:
 
There are two script, which get executed when accessible. These scripts have the following parameters:
=== pre-script ===
+
==== pre-script ====
 
#real filename
 
#real filename
 
#server ID
 
#server ID
  
=== post-script ===
+
==== post-script ====
 
#real filename
 
#real filename
 
#server ID
 
#server ID
 
#returncode of OFTP2 handling process (0=no error)
 
#returncode of OFTP2 handling process (0=no error)
 +
 +
The configuration switch [[OS4X Core configuration#remove successfully handled offline OFTP2 file entries]] influences the daemon how to handle the lines of the database table when the file is handled successfully.

Revision as of 08:32, 4 December 2007

What is it?

"os4x_oftp2_offlinehandling" is a daemon which runs on a seperate machine, without needing an OS4X license. It needs an OS4X configuration file (default: "/etc/os4x.conf") in order to access the database, containing the OS4X configuration and parameters.

When the configuration flag "OS4X Core configuration#Enable offline handling of OFTP2_transfered files.3F" is enabled, all received files via OFTP2 will be added to a special table. This table, filled with all file parameters, will be traversed by the daemon. The main task is to handle (decrypt, decompress and/or check signature) the incoming files asynchronously on another machine, achieving the highest security.

parameters

There are several ways to customize the behaviour of this daemon. Please have a look at the configuration settings with all subsections [[OS4X Core configuration#Enable offline handling of OFTP2_transfered files.3F|here]].

scripts

There are two script, which get executed when accessible. These scripts have the following parameters:

pre-script

  1. real filename
  2. server ID

post-script

  1. real filename
  2. server ID
  3. returncode of OFTP2 handling process (0=no error)

The configuration switch OS4X Core configuration#remove successfully handled offline OFTP2 file entries influences the daemon how to handle the lines of the database table when the file is handled successfully.