Stopping an MFT agent

You can stop a Managed File Transfer agent from the command line. When you stop an agent, you are quiescing the agent and allowing the agent to complete its current file transfer before stopping. You can also specify the -i parameter at the command line to stop an agent immediately. When the agent has stopped, you cannot use that agent to transfer files until you restart it.

Before you begin

If you want to check the names of the agents associated with a queue manager, you can list agents by using the IBM® MQ Explorer or the command line, see fteListAgents command.

About this task

To stop an agent from the command line, see fteStopAgent.

If you have configured your agent to run as a Windows service, running the fteStopAgent command also stops the Windows service. Alternatively, you can stop the agent by stopping the service by using the Windows Services tool. For more information, see the topic Starting an MFT agent as a Windows service.