Control encryption from the command line

BlueZone Secure FTP uses command line switches so that the application can be executed and controlled from a DOS command line interface or a DOS batch file or a Windows program or script.

It is possible to use a command line switch to disable encryption, enable Explicit SSL/TLS, enable Implicit SSL/TLS, and enable SSH encryption. This is accomplished by using the /~ command line switches.

BlueZone Secure FTP supports the following encryption command line switches:
  • /~0 - Disables Encryption
  • /~1 - Enables Explicit SSL/TLS Encryption
  • /~2 - Enables Implicit SSL/TLS Encryption
  • /~3 - Enables SFTP Encryption

For example, if you wanted to start a BlueZone Secure FTP session with Explicit SSL/TLS Encryption enabled, use the /~1 command line switch when starting the session. The /~1 command line switch has the same effect as selecting Explicit FTPS (SSL/TLS) from the Security Options drop-down list box on the Security tab when you are configuring a host connection. Any additional SSL or TLS settings that are required, must be set and saved in the BlueZone Secure FTP configuration first.

The following is an example of starting a BlueZone Secure FTP session with Explicit SSL/TLS encryption enabled:
"C:\Program Files\BlueZone\BZFTP.EXE" /~1

Conversely, if you want to start a BlueZone Secure FTP session with encryption disabled, use the /~0 command line switch to disable SSL/TLS encryption. The /~0 command line switch has the same affect as clearing the Enable Secure Sockets Layer check box on the Security tab.

The following is an example of starting a BlueZone Secure FTP session with encryption disabled:
"C:\Program Files\BlueZone\BZFTP.EXE" /~0

Refer to Command line switch table for a complete listing of command line switches.