Impl 3659: Installing a fresh copy
From CFTP
- Download the latest version of the plug-in.
- Unzip the downloaded file impl3659-x.xx-bin.zip into a temporary directory of your choice.
- Copy all the unzipped JAR files into the lib directory of your FTP server overwriting existing files. Manually remove old versions of duplicate JAR files.
- Run the update script in your FTP server directory to update the start-up scripts.
Next you have to update the conf/beans.xml file in your FTP server. Edit the file in you favourite editor and do the steps below.
Add SIZE, MLST, MLSD, MDTM, TVFS Commands
Add the following 5 beans to your beans.xml file:
<bean id="sizeCommand" class="com.coldcore.coloradoftp.plugin.impl3659.command.SizeCommand" singleton="false"/>
<bean id="mlstCommand" class="com.coldcore.coloradoftp.plugin.impl3659.command.MlstCommand" singleton="false"/>
<bean id="mlsdCommand" class="com.coldcore.coloradoftp.plugin.impl3659.command.MlsdCommand" singleton="false"/>
<bean id="mdtmCommand" class="com.coldcore.coloradoftp.plugin.impl3659.command.MdtmCommand" singleton="false"/>
<bean id="tvfsCommand" class="com.coldcore.coloradoftp.plugin.impl3659.command.TvfsCommand" singleton="false"/>
And add those commands to the command factory bean as follows:
<bean id="commandFactory"
class="com.coldcore.coloradoftp.command.impl.GenericCommandFactory"...
<constructor-arg index="0">
<map>
<entry key="SIZE" value="sizeCommand"/>
<entry key="MLST" value="mlstCommand"/>
<entry key="MLSD" value="mlsdCommand"/>
<entry key="MDTM" value="mdtmCommand"/>
<entry key="TVFS" value="tvfsCommand"/>
<entry key="USER" value="userCommand"/>
<entry key="PASS" value="passCommand"/>
<entry key="PWD" value="pwdCommand"/>
.........
The plug-in is installed and your FTP server now supports RFC 3659.
Return to Plug-in: Impl 3659