Command line#
The drive can be mounted without the tray app: from a script, on a server, or on Linux. The drive is part of CrushTunnel.jar, which every CrushMFT server has in its WebInterface folder.
You need Java 22 or newer, and WinFsp, macFUSE or libfuse 2 as for the app (Install).
Mount once#
java -Dfile.encoding=UTF-8 -jar CrushTunnel.jar mount J: https://demo:demo@www.crushftp.com/
| Part | What it is |
|---|---|
J: |
the drive letter on Windows; on macOS and Linux, the volume name |
| the URL | the server's web address, with the login in it |
It prints "Mounted. Press Ctrl-C to unmount." and stays up while the drive is mounted. Ctrl-C uploads what is still waiting and unmounts.
On Linux the drive appears at ~/CrushMFTDrive/<name>. To mount somewhere else, set drive_mount_path (Advanced settings).
With the window#
java -Dfile.encoding=UTF-8 -jar CrushTunnel.jar drive https://www.crushftp.com/
starts the drive with its window, with that server filled in for the first start.
As a daemon, with saved settings#
Once the settings are saved (server, login with a saved password, connect at start), start it without a window:
java -Dfile.encoding=UTF-8 -jar CrushTunnel.jar drive -d
It reads prefs.XML from the folder it is started in. Use this in a systemd unit or a login script to have the drive mounted whenever the machine runs.
The settings from the command line#
Everything on the Advanced settings page applies here too, through prefs.XML in the folder you start from.