Possible errors when configuring the Redistributable Managed File Transfer components

When you are configuring the Redistributable Managed File Transfer components, you might see errors "Native library for Windows could not be loaded" or "Use of bindings mode is not supported".

Native library for Windows could not be loaded

[Windows]You must install the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 libraries, available from Microsoft, on your system to use the Redistributable Managed File Transfer Agent. See The latest supported Visual C++ downloads.

For Continuous Delivery the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 libraries are also required for the Redistributable Managed File Transfer Logger.

If these libraries are not installed and you try to run MFT commands, an error is reported:
  • BFGUB0070E: Internal error: Native library for platform Windows (architecture
    amd64) could not be loaded because mqmft (Not found in java.library.path).
  • BFGCL0043I: Specify the '-h' command line parameter to see more usage information.
Check that the Microsoft libraries are installed. If the libraries are not installed, install them and run the command again.

Use of bindings mode is not supported

The Redistributable Managed File Transfer Agent can only connect to IBM® MQ in client mode. If you try run commands in bindings mode, an error is reported:
  • BFGCL0408E: Unable to obtain IBM MQ installation information for queue manager 'queue manager name'. 
    Reason Cannot run program "../bin/dspmq": error=2, No such file or directory

When you are issuing commands, you must provide the queue manager host, port, name, and channel name.

From IBM MQ 9.3.0, you might also see this error for the Redistributable Managed File Transfer Logger, which only supports FILE type loggers that are connecting in client mode to the coordination queue manager.