Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-11) was last changed on 25-Oct-2018 04:31 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 1 changed one line
This scenario is a special mode of CrushFTPDrive to make it act as a transparent SMB proxy to a CrushFTP server.
!This scenario is a special mode of CrushFTPDrive to make it act as a transparent SMB proxy to a CrushFTP server.
At line 8 added 33 lines
!Lets break down what all those parameters are:\\
\\
This is the URL to the CrushFTP server. This is how we will be logging into it.
{{{-Dcrushftpdrive.base_url=http://127.0.0.1:8080/}}}
\\
This is the SMB server IP we are goign to bind to, 0.0.0.0 being all ips on the current machine.\\
{{{-Dcrushftpdrive.server_ip=0.0.0.0}}}
\\
This is the server port we will bind on waiting for connections. 445 is the default SMB port.\\
{{{-Dcrushftpdrive.server_port=13000}}}
\\
This sets the java home location tot he current folder...important if you allow logging or creation of a prefs.XML file.
{{{-Duser.home=./}}}
\\
{{{-Dcrushftpdrive.smbserver=true}}}
{{{-Dcrushftpdrive.writeprefs=false}}}
{{{-Dcrushftpdrive.writelog=false}}}
{{{-Dcruftpdrive.writelogconsole=true}}}
\\
Now we specify the jar files we are using to run this Java app...thsi includes the alfresco jar and the CrushFTPDrive jar.\\
{{{-cp CrushFTPDrive.jar:alfresco-jlan.jar}}}
\\
Now we specify the class of the app to launch with:\\
{{{com.crushftp.client.smb.CrushFTPDrive}}}
The main parameter that makes it run in a daemon mode comes next:\\
{{{-d}}}
\\
Followed by prefs.XML values that we are defining in line so we don't need to rely on a prefs.XML file to be loaded.\\
\\
{{{
drive_username=MyUser drive_password=password drive_auto=true drive_letter=CrushFTPDriveHome drive_auto_open=false map_drive=false
}}}
Version Date Modified Size Author Changes ... Change note
11 25-Oct-2018 04:31 4.303 kB Ben Spink to previous
10 25-Oct-2018 04:31 4.076 kB Ben Spink to previous | to last
9 25-Oct-2018 04:31 3.945 kB Ben Spink to previous | to last
8 25-Oct-2018 04:31 3.614 kB Ben Spink to previous | to last
7 25-Oct-2018 04:31 2.867 kB Ben Spink to previous | to last
6 25-Oct-2018 04:31 2.768 kB Ben Spink to previous | to last
5 25-Oct-2018 04:31 2.526 kB Ben Spink to previous | to last
4 25-Oct-2018 04:31 2.471 kB Ben Spink to previous | to last
3 25-Oct-2018 04:31 2.069 kB Ben Spink to previous | to last
2 25-Oct-2018 04:31 0.646 kB Ben Spink to previous | to last
1 25-Oct-2018 04:31 0.114 kB Ben Spink to last
« This page (revision-11) was last changed on 25-Oct-2018 04:31 by Ben Spink
G’day (anonymous guest)
CrushFTP9 | What's New

Referenced by
CrushFTPDrive

JSPWiki