Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-7) was last changed on 09-Oct-2016 18:14 by Ben Spink

This page was created on 09-Oct-2016 18:14 by Ben Spink

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed one line
The CrushTunnel process can be integrated into an existing workflow using a standalone machine acting as the tunnel provider, or programmatically through your own code.
The CrushTunnel process can be integrated into an existing workflow using a standalone machine acting as the tunnel provider, or programmatically through your own code. CrushTunnel.jar can be found in the CrushFTP WebInterface folder.
At line 23 added 42 lines
----
Here is another example for installing the tunnel as a service on Windows. First, make sure you have CrushFTP installed as a service on windows. You need this as we need the "service" folder that this creates. Copy this service folder somewhere else and call it "CrushTunnel". For my example, I put this in my program files folder.
Now edit the wrapper.conf file to make it have these contents, with adjustments to the bottom part which applies to your server.
{{{
wrapper.java.command=C:\\Program Files (x86)\\Java\\jre6\\bin\\java
wrapper.working.dir=C:\\Program Files (x86)\\CrushTunnel\\
wrapper.java.app.mainclass=com.crushtunnel.gui.GUIFrame
wrapper.console.visible=false
wrapper.console.title=CrushTunnel
wrapper.ntservice.name=CrushTunnel
wrapper.ntservice.displayname=CrushTunnel
wrapper.ntservice.description=CrushTunnel
wrapper.tray=false
wrapper.on_exit.0=SHUTDOWN
wrapper.on_exit.default=RESTART
wrapper.java.classpath.1=CrushTunnel.jar
wrapper.java.additional.1=-Xmx128m
wrapper.java.additional.2=-Dcrushtunnel.remote.protocol=https
wrapper.java.additional.3=-Dcrushtunnel.remote.ip=www.crushftp.com
wrapper.java.additional.4=-Dcrushtunnel.remote.port=443
wrapper.java.additional.5=-Dcrushtunnel.remote.user=demo
wrapper.java.additional.6=-Dcrushtunnel.remote.pass=demo
}}}
Now you can test this config from the DOS prompt, or install the service.
{{{
#test
java -jar wrapper.jar -c wrapper.conf
#install
java -jar wrapper.jar -i wrapper.conf
#remove
java -jar wrapper.jar -r wrapper.conf
}}}
(If installing the service, your DOS prompt needs to be running as an administrator.)
Version Date Modified Size Author Changes ... Change note
7 09-Oct-2016 18:14 3.976 kB Ben Spink to previous
6 09-Oct-2016 18:14 3.14 kB Ben Spink to previous | to last
5 09-Oct-2016 18:14 3.029 kB Ben Spink to previous | to last
4 09-Oct-2016 18:14 1.309 kB Ben Spink to previous | to last
3 09-Oct-2016 18:14 1.63 kB Ben Spink to previous | to last
2 09-Oct-2016 18:14 1.629 kB Ben Spink to previous | to last
1 09-Oct-2016 18:14 1.186 kB Ben Spink to last
« This page (revision-7) was last changed on 09-Oct-2016 18:14 by Ben Spink
G’day (anonymous guest)

OLD WIKI!!!#

New: CrushFTPv9#

OLD WIKI!!!#


CrushFTP8 | What's New

Referenced by
LeftMenu

JSPWiki