Stop an MFT agent
We 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. We can also specify the -i parameter at the command line to stop an agent immediately. When the agent has stopped, we 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, we can list agents by using the IBM MQ Explorer or the command line, see fteListAgents command.
To stop an agent from the command line, see fteStopAgent.
If we have configured your agent to run as a Windows service, running the fteStopAgent command also stops the Windows service. Alternatively, we 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.