diff --git a/datastore_server/dist/etc/service.properties b/datastore_server/dist/etc/service.properties index b1511049a92d03a930e3e91e6584a39630b7056b..ec22aa39570abe01cc2f4638fc7606fa77e39771 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} +