+

Search Tips | Advanced Search

fteCancelTransfer

Use the fteCancelTransfer command to cancel a Managed File Transfer transfer. We can issue this command against either the source or destination agent for the transfer.


Purpose

If you issue the fteCancelTransfer command while that transfer is currently in progress, any files already transferred as part of that transfer remain on the destination system and are not deleted. Any files partially transferred as part of that transfer are deleted from the destination system. The destination side of the transfer logs that transfer as cancelled.

If a transfer to a Connect:Direct® node is canceled, any files partially transferred as part of the canceled transfer remain on the destination system and are not deleted.

We can run the fteCancelTransfer command from any system that can connect to the IBM MQ network and then route to the agent queue manager. Specifically for the command to run, you must have installed Managed File Transfer on this system and you must have configured Managed File Transfer on this system to communicate with the IBM MQ network. If no connectivity details are available, the agent queue manager details are used for connection instead, provided these details are available.

Specify the optional -p parameter for this command only if you want to use a set of configuration options different from your default set. See Configuration options for more information.


Syntax

fteCancelTransfer

fteCancelTransfer-m(agent_qmgr_name)-p(configuration_options)-aagent_name -mquserid(userID)-mqpassword(password)transfer_ID


Parameters


Example

In this example AGENT1 is the source agent for the transfer to be canceled.
fteCancelTransfer -a AGENT1 414d5120514d5f4c4d343336303920201159c54820027102


Return codes