eXo Platform 3.5
  • Prev
  • Next

Chapter 33. FTP

Introdution

The JCR-FTP Server represents the standard eXo service, operates as an FTP server with an access to a content stored in JCR repositories in the form of nt:file/nt:folder nodes or their successors. The client of an executed Server can be any FTP client. The FTP server is supported by a standard configuration which can be changed as required.

Configuration Parameters

command-port:


<value-param>
   <name>command-port</name>
   <value>21</value>
</value-param>

The value of the command channel port. The value '21' is default.

When you have already some FTP server installed in your system , this parameter needs to be changed (2121 for example) to avoid conflicts or if the port is protected.

data-min-port & data-max-port


<value-param>
   <name>data-min-port</name>
   <value>52000</value>
</value-param>

<value-param>
   <name>data-max-port</name>
   <value>53000</value>
</value-param>

These two parameters indicate the minimal and maximal values of the range of ports, used by the server. The usage of the additional data channel is required by the FTP - protocol, which is used to transfer the contents of files and the listing of catalogues. This range of ports should be free from listening by other server-programs.

system


<value-param>
   <name>system</name>

   <value>Windows_NT</value>
     or
   <value>UNIX Type: L8</value>
</value-param>

Types of formats of listing of catalogues which are supported.

client-side-encoding


<value-param>
   <name>client-side-encoding</name>
      
   <value>windows-1251</value>
     or
   <value>KOI8-R</value>
     
</value-param>

This parameter specifies the coding which is used for dialogue with the client.

def-folder-node-type


<value-param>
   <name>def-folder-node-type</name>
   <value>nt:folder</value>
</value-param>

This parameter specifies the type of a node, when an FTP-folder is created.

def-file-node-type


<value-param>
   <name>def-file-node-type</name>
   <value>nt:file</value>
</value-param>

This parameter specifies the type of a node, when an FTP - file is created.

def-file-mime-type


<value-param>
   <name>def-file-mime-type</name>                 
   <value>application/zip</value>
</value-param>

The mime type of a created file is chosen by using its file extention. In case, a server cannot find the corresponding mime type, this value is used.

cache-folder-name


<value-param>
   <name>cache-folder-name</name>
   <value>../temp/ftp_cache</value>
</value-param>

The Path of the cache folder.

upload-speed-limit


<value-param>
   <name>upload-speed-limit</name>           
   <value>20480</value>
</value-param>

Restriction of the upload speed. It is measured in bytes.

download-speed-limit


<value-param>
   <name>download-speed-limit</name>
   <value>20480</value>          
</value-param>

Restriction of the download speed. It is measured in bytes.

timeout


<value-param>
   <name>timeout</name>
   <value>60</value>
</value-param>

Defines the value of a timeout.

  • Prev
  • Up
  • Home
  • Next