At line 1 changed one line |
The Webinterface can give speeds that are equivalent to other high speed file transfer products, however with far less complexity and networking issues. |
!!Option #1 |
---- |
An alternative method is to have end users use a local tunnel client on their machine. This tunnel client has an icon in the menu bar in OS X and systray on Windows. |
At line 3 changed 2 lines |
!!Uploads |
Once you are logged into the WebInterface, browse to the folder you want to upload into. Be sure you are in the folder, and not just using the quick expansion arrows on the sides of folders. |
1.) Setup the ports, and configure the tunnel with the appropriate number of channels. Refer to the normal guide: **[High Speed File Transfer]**\\ |
2.) Create a user in the User Manager called "vpn". Don't give them access to any files, just a user called "vpn" with a password of "speed". Nothing more. Quick jump down to the tunnels section in the user and grant them access to your tunnel. Save.\\ |
3.) Duplicate the CrushTunnel.jnlp file in your CrushFTP folder, WebInterface folder. Call it vpn.jnlp. Edit it and change this line: |
{{{ |
<argument>appname=CrushTunnel:::remote.protocol=%user_protocol%:::remote.ip=%user_listen_ip%:::remote.port=%user_port%</argument> |
}}} |
to: |
{{{ |
<argument>appname=CrushTunnel:::remote.protocol=%user_protocol%:::remote.ip=%user_listen_ip%:::remote.port=%user_port%:::remote.user=vpn:::remote.pass=speed</argument> |
}}} |
At line 6 changed one line |
Once in the folder, click the Upload button on the menu bar at the top of the screen. (The colors you see may be different than the screenshot.) This will load the upload panel. If you have a required form to fill out, you will need to do so before you can get to the file selection tab ("Upload Files") of the upload window. |
Note how we embedded the user/pass into the jnlp file so the user doesn't need to type these in. This user account is not granting any access other than faster connectivity. It has no access to files or anything else, so it doesn't need to be secured in any special way.\\ |
4.) Give the end user a link for your tunnel. https://domain.com/WebInterface/vpn.jnlp \\ |
5.) They click the link and run the java app locally. it shows a tunnel icon in their systray or menubar. They use that to "Launch web browser" which will open the browser to the url: http://127.0.0.1:55555/ which is a specific URL to go through the tunnel to your site.\\ |
[attachments|tunnel_menu.png]\\ |
At line 8 changed one line |
[attachments|upload1.png] |
That is all. Their account doesn't need the tunnel (vpn has it), their transfers will now overcome latency. |
---- |
!!Option #2 |
---- |
Download CrushTunnel.exe located here and distribute it with a copy of OpenJDK 13 in a folder named "Java".\\ |
Place the tunnel.txt file in the folder with your server info configured in it.\\ |
The end user downloads the zip, extracts it and double clicks on CrushTunnel.exe.\\ |
CrushTunnel does a network launch from https://www.CrushFTP.com/WebInterface/CrushTunnel.jar and then reads in the local tunnel.txt to connect to you.\\ |
At line 10 changed one line |
Here is the key choice you make. If you select the top item to "Browse" or "Choose file", then you will only get normal transfer speeds, no acceleration. You also cannot choose folders. |
[attachments|crushtunnel_launch.png]\\ |
CrushTunnel.exe: [attachments|CrushTunnel.exe]\\ |
tunnel.txt : [attachments|tunnel.txt]\\ |
At line 12 changed 17 lines |
If you choose the "Advanced Browse…" button, then a Java applet will be loaded and present you with a file chooser to select the file to upload. Only files chosen through the "advanced" method can be accelerated. If you are not seeing good speeds on the file transfer, it likely means you did not use the advanced method to choose the file to upload. |
|
[attachments|upload2.png] |
|
|
!!Downloads |
Downloads may also be accelerated if you right click and do an "Download Advanced", or add the files to the basket, and then initiate the advanced download from the basket window. Simply clicking on a file, or doing a zip download of a file will not result in any acceleration and you will get normal file transfer speeds. You may not have the "Download Advanced" menu item, in which case just add to the basket. |
|
[attachments|download1.png] |
|
|
You must specifically do the advanced method or no acceleration will be done. The advanced method uses a Java applet like the advanced upload does to get the accelerated transfer. If you choose the "Download Basket" instead, you will only get normal speeds. |
|
[attachments|download2.png] |
 |
!!Troubleshooting |
For troubleshooting purposes, a screenshot of this upload or download window with an in progress file transfer is the best option. |
---- |
!!Option #3 |
---- |
Give the user a local copy of CrushTunnel.jar and a windows bat file to launch it. Tunnel.bat contents:\\ |
{{{ |
.\Java\bin\java.exe -jar CrushTunnel.jar script tunnel.txt |
}}} |