<?xml version="1.0" encoding="ISO-8859-1"?>
<!--

    Copyright (C) 2009 eXo Platform SAS.

    This is free software; you can redistribute it and/or modify it
    under the terms of the GNU Lesser General Public License as
    published by the Free Software Foundation; either version 2.1 of
    the License, or (at your option) any later version.

    This software is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this software; if not, write to the Free
    Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
    02110-1301 USA, or see the FSF site: http://www.fsf.org.

-->
<configuration>
   <component>
      <key>org.exoplatform.services.ftp.FtpServiceImpl</key>
      <type>org.exoplatform.services.ftp.FtpServiceImpl</type>
      <init-params>
         <value-param>
            <name>command-port</name>
            <value>2121</value>
         </value-param>
         <value-param>
            <name>data-min-port</name>
            <value>52000</value>
         </value-param>
         <value-param>
            <name>data-max-port</name>
            <value>53000</value>
         </value-param>
         <value-param>
            <name>system</name>
            <!--				<value>Windows_NT</value>-->
            <value>UNIX Type: L8</value>
         </value-param>
         <value-param>
            <name>client-side-encoding</name>
            <value>utf-8</value>
            <!--				<value>KOI8-R</value>-->
         </value-param>
         <value-param>
            <name>def-folder-node-type</name>
            <value>nt:folder</value>
         </value-param>
         <value-param>
            <name>def-file-node-type</name>
            <value>nt:file</value>
         </value-param>
         <value-param>
            <name>def-file-mime-type</name>
            <value>application/octet-stream</value>
         </value-param>
         <value-param>
            <name>cache-folder-name</name>
            <value>../temp/ftp_cache</value>
         </value-param>
         <!--      <bytes per second>-->
         <!--			<value-param>-->
         <!--				<name>upload-speed-limit</name>-->
         <!--				<value>20480</value>-->
         <!--			</value-param>-->

         <!--			<bytes per second>-->
         <!--			<value-param>-->
         <!--				<name>download-speed-limit</name>-->
         <!--				<value>20480</value>-->
         <!--			</value-param>-->

         <!--			<seconds>-->
         <!--			<value-param>-->
         <!--				<name>timeout</name>-->
         <!--				<value>60</value>-->
         <!--			</value-param>-->
	 
      <!-- That is default configuration to mechanism "replace-forbidden-chars" 
           We will uncoment when we need changed default configuration.
      -->
      <!--value-param>
        <name>replace-forbidden-chars</name>
        <value>true</value>
      </value-param>
       
      <value-param>
        <name>forbidden-chars</name>
        <value>:[]*'"|</value>
      </value-param>
       
      <value-param>
        <name>replace-char</name>
        <value>_</value>
      </value-param -->
	 
      </init-params>
   </component>
</configuration>