Menu Close

Start Binfer Via Command Line (Windows)

Binfer primarily runs with a user interface. In some cases, it may be necessary to run Binfer as a background service without a user interface; this can be achieved by running Binfer via the command line. Follow the steps in this document to run Binfer via command line.

Prerequisites

  • Disable Binfer from auto start. Task Manager(detailed mode)>Startup>Binfer disable.
  • A valid JRE version 1.5 or above.

Command Line

Download Jar

To run Binfer from the command line, you do not need the installer. Just download binfer.jar from the download page. Save it in a folder that will be the base folder from where you will be starting Binfer.

Create Start Scripts

  • For Windows, the script is
    • start java -cp binfer.jar com.globalsoftlink.binfer.Binfer {OPTIONS}
  • For OSX/Linux the script is
    • start java -cp binfer.jar com.globalsoftlink.binfer.Binfer {OPTIONS}

If Java is not in the system path, then use the full path to java.exe.

Options

The following are some of the common options can be passed via command line:

AUTOLOGIN

Values: true(default)|falseUSERIDBinfer loginidPASSWORDBinfer passwordAUTOCONFIGFW

Auto configure firewall

Values: true(default)|false

ENCRYPTED

Encrypt transfers

Values: true|false(default)

HTTPPORT

Port on which Binfer should communicate

Values: Any integer from 1 to 65535. The should not already be in use by any other application.

DOWNLOADPATH

Path location to where files should be downloaded

DOWNLOAD_FOLDER_INC_SELFID

Include self id in the download folder path

Values: true(default)|false

DOWNLOAD_FOLDER_ALGO

Naming algorithm for sub folders, in the download folder path:
Values: Enter a number.

0(Sender Id/Subject – Id)

1(Sender Id/Subject)

2(Sender Id)

3(Subject – Id)

4(Subject)

5(None)

DOWNLOAD_FOLDER_ALGO  (Examples)

If USERID= a@b.com

If DOWNLOADPATH=c:BinferDownload

If DOWNLOAD_FOLDER_INC_SELFID=false

If DOWNLOAD_FOLDER_ALGO=4

Then the download path for message titled “Hello” will be c:BinferDownloadHello

Important

  • To configure Binfer via its user interface, stop the Binfer task and start Binfer normally.
  • To stop Binfer, you will have to kill the process.