From a62c5d397a1c30942240712f29e843a1e7112b73 Mon Sep 17 00:00:00 2001
From: kaloyane <kaloyane>
Date: Tue, 26 Apr 2011 11:32:36 +0000
Subject: [PATCH] LMS-2197: added configuration properties documentation

SVN: 21039
---
 datastore_server/dist/etc/service.properties | 38 ++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/datastore_server/dist/etc/service.properties b/datastore_server/dist/etc/service.properties
index b1511049a92..ec22aa39570 100644
--- a/datastore_server/dist/etc/service.properties
+++ b/datastore_server/dist/etc/service.properties
@@ -351,3 +351,41 @@ main-thread.storage-processor = ch.systemsx.cisd.etlserver.DefaultStorageProcess
 # If this section is empty, then the first input thread will be used.
 # 
 dss-rpc.put-default = main-thread
+
+#
+# FTP server configuration
+#
+# when set to 'true' an internal ftp server will be started. it provides users with an alternative 
+# way to interact with their data (i.e. via an FTP client).  
+#ftp.server.enable=false
+#
+# port where the FTP server will be started. Optional parameter, default value is 2121
+#ftp.server.port=2121
+#
+# Similar to the global 'use-ssl' parameter. When set to 'true' all 'keystore' properties become mandatory.
+#ftp.server.use-ssl=false
+#
+# maximum number of threads used by the internal FTP server. Defaults to 25.
+#ftp.server.maxThreads=25
+#
+# The virtual folder structure supplied by the FTP server looks like 
+#      ${space}/${project}/${experiment}/<data-set-level>
+# While the first 3 levels in the hierarchy are not configurable, the format of the '<data-set-level>' 
+# can be specified with a template using the following built-in variables : 
+# ${dataSetCode} - the data set code
+# ${dataSetType} - the data set type
+# ${dataSetDate} - the creation date of the data set
+# ${fileName} - When ${fileName} is specified in the template, '<data-set-level>' will include 
+#     the name of a file located directly under the dataset root folder. One entry will be created 
+#     for earch such file. 
+# Example :
+# ftp.server.dataset.display.template=${dataSetDate}-${fileName}
+# Result :
+# /SPACE/PROJECT/EXPERIMENT/2011-10-10-10-10-file1.txt
+# /SPACE/PROJECT/EXPERIMENT/2011-10-10-10-10-file2.pdf
+# /SPACE/PROJECT/EXPERIMENT/2011-10-10-11-11-file1.txt
+# /SPACE/PROJECT/EXPERIMENT/2011-10-10-11-11-file2.pdf
+#
+# Optional parameter, default template value is ${dataSetCode}                
+#ftp.server.dataset.display.template=${dataSetCode}
+
-- 
GitLab