Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
add_cftpd_button.png 47.0 kB 1 25-Oct-2018 04:31 Ben Spink
png
connect_osx.png 43.4 kB 1 25-Oct-2018 04:31 Ben Spink
png
connect_win.png 26.9 kB 1 25-Oct-2018 04:31 Ben Spink
png
connected_osx.png 100.1 kB 1 25-Oct-2018 04:31 Ben Spink
png
connected_win.png 80.4 kB 1 25-Oct-2018 04:31 Ben Spink
png
download_cftpd.png 26.0 kB 1 25-Oct-2018 04:31 Ben Spink
png
drive_service.png 133.8 kB 1 06-Feb-2019 08:28 Ben Spink
png
helper_service.png 54.6 kB 1 25-Oct-2018 04:31 Ben Spink
png
menu_osx.png 12.0 kB 1 25-Oct-2018 04:31 Ben Spink
png
menu_win.png 13.1 kB 1 25-Oct-2018 04:31 Ben Spink
zip
service.zip 82.2 kB 1 06-Feb-2019 08:27 Ben Spink

This page (revision-17) was last changed on 06-Feb-2019 08:29 by Ben Spink

This page was created on 25-Oct-2018 04:31 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 36 changed 4 lines
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 "CrushFTPDrive". For my example, I put this in my program files folder. Copy your CrushFTPDrive.jar file and anfresco-jlan.jar file into this folder. You can find them in your current CrushFTP's WebInterface folder.
Now edit the wrapper.conf file to make it have these contents, with adjustments to the bottom part which applies to your server.
Download the zip of the files needed for a windows service [attachments|service.zip]. This requires version 2.5.35 or higher which comes with CrushFTP v9.0.0_31 and above.\\
\\
Open a DOS prompt running as an Administrator, and do this command in the service folder you just unzipped:\\
At line 41 changed 14 lines
wrapper.working.dir=C:\\Program Files (x86)\\CrushFTPDrive\\
wrapper.java.app.mainclass=com.crushftp.client.smb.CrushFTPDrive
wrapper.console.visible=false
wrapper.console.title=CrushFTPDrive
wrapper.app.parameter.1=-d
wrapper.app.parameter.2=map_drive=false
wrapper.ntservice.name=CrushFTPDrive
wrapper.ntservice.displayname=CrushFTPDrive
wrapper.ntservice.description=CrushFTPDrive
wrapper.java.classpath.1=CrushFTPDrive.jar
wrapper.java.classpath.2=alfresco-jlan.jar
wrapper.java.additional.1=-Dcrushftpdrive.base_url=http://www.domain.com:8080/
CrushFTPDriveService.exe --WinRun4J:RegisterService
At line 57 changed 9 lines
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
}}}
The parent folder to the service folder must have the CrushFTPDrive.jar file and alfreso-jlan.jar file in it. See screenshot.
At line 67 changed one line
(If installing the service, your DOS prompt needs to be running as an administrator.)
[attachments|drive_service.png]
At line 69 removed 11 lines
You also need to make sure your prefs file is ready to go with unattended connectivity. So essentially these items. The prefs.xml file is in the c:\users\username\CrushFTPDrive\ and when running as a service, make sure the service is running as a username where you can find this same file at.\\
(For local system, its probably here: C:\Windows\SysWOW64\config\systemprofile\CrushFTPDrive\ )\\
Some key items that should be set:
{{{
<drive_auto>true</drive_auto>
<map_drive>false</map_drive>
<drive_auto_open>false</drive_auto_open>
<drive_save>true</drive_save>
}}}
Version Date Modified Size Author Changes ... Change note
17 06-Feb-2019 08:29 3.374 kB Ben Spink to previous
16 06-Feb-2019 08:27 3.287 kB Ben Spink to previous | to last
15 25-Oct-2018 04:31 4.878 kB Ben Spink to previous | to last
14 25-Oct-2018 04:31 4.792 kB Halmágyi Árpád to previous | to last
13 25-Oct-2018 04:31 4.679 kB Ben Spink to previous | to last
12 25-Oct-2018 04:31 4.578 kB Ben Spink to previous | to last
11 25-Oct-2018 04:31 4.578 kB Ben Spink to previous | to last
10 25-Oct-2018 04:31 4.733 kB Ben Spink to previous | to last
9 25-Oct-2018 04:31 4.72 kB Ben Spink to previous | to last
8 25-Oct-2018 04:31 4.645 kB Ben Spink to previous | to last
7 25-Oct-2018 04:31 2.59 kB Ben Spink to previous | to last
6 25-Oct-2018 04:31 2.505 kB Ben Spink to previous | to last
5 25-Oct-2018 04:31 2.411 kB Ben Spink to previous | to last
4 25-Oct-2018 04:31 1.291 kB Ben Spink to previous | to last
3 25-Oct-2018 04:31 0.069 kB Ben Spink to previous | to last
2 25-Oct-2018 04:31 0.065 kB Ben Spink to previous | to last
1 25-Oct-2018 04:31 0.021 kB Ben Spink to last
« This page (revision-17) was last changed on 06-Feb-2019 08:29 by Ben Spink
G’day (anonymous guest)
CrushFTP9 | What's New

Referenced by
LeftMenu

JSPWiki