Generic Bundle: Updating to the latest version
From CFTP
This applies if your server is outdated.
First download the latest version of the server.
Unzip the downloaded file cftp-generic-x.xx-bin.zip into a temporary directory of your choice. Rename the directory to coloradoftp-update as you will update your existing FTP server from this directory.
Locate the home directory of your existing FTP server, the one you want to update. It is probably named coloradoftp. See the existing version of your lib/coloradoftp-x.xx.jar file, you may need it during this update.
Contents |
Binaries update to Version 1.25
- Copy the content of the coloradoftp-update/lib directory 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.
Configuration update from Version 1.23 or 1.24 to Version 1.25
No configuration changes.
Configuration update to Version 1.23
Edit the conf/beans.xml file in your favourite text editor.
No singleton commands
Make sure you do not have any singleton commands declared. You may have the following command declared as singletons: HELP/FEAT, SYST, ALLO and NOOP. Locate the beans definition for every of those commands and add singleton="false" if it is not already present as in the example below:
<bean id="helpCommand" class="com.coldcore.coloradoftp.command.impl.ftp.HelpCommand" singleton="false"/>
Note that this rule does not apply to the system commands in the system package. This is only for the commands that command factory bean uses.
Add OPTS command
Add the following piece of XML:
<bean id="optsCommand" class="com.coldcore.coloradoftp.command.impl.ftp.OptsCommand" singleton="false"/>
And update the command factory bean with OPTS as follows:
<bean id="commandFactory" class="com.coldcore.coloradoftp...
<constructor-arg index="0">
<map>
<entry key="OPTS" value="optsCommand"/>
<entry key="USER" value="userCommand"/>
<entry key="PASS" value="passCommand"/>
<entry key="PWD" value="pwdCommand"/>
<entry key="HELP" value="helpCommand"/>
<entry key="FEAT" value="helpCommand"/>
<entry key="SYST" value="systCommand"/>
Plug-ins update
All plug-ins must be downloaded and updated separately. Please refer to the plug-ins list for more information.
Return to FTP Server: Generic Bundle