Skip to main content

GoAnywhere MFT

The GoAnywhere Project Execution Method lets you use JAMS to run and monitor projects in GoAnywhere MFT for secure file transfers. The project must already exist in GoAnywhere MFT before you set up the JAMS Job. GoAnywhere MFT projects cannot be created or modified from within JAMS, and values from GoAnywhere MFT cannot be passed back into JAMS.

A GoAnywhere MFT project can contain variables. To override the value of a project variable, add a Parameter to the JAMS Job with the same name as the variable and set its value. You can also use JAMS Variables when you set up the Job. Any field except the GoAnywhere User field can use a JAMS Variable with the format {VariableName}.

You can cancel the Job from the Monitor. If the job is Active or Paused in GoAnywhere MFT, it is canceled there. If it is Queued, it is canceled when it moves from Queued to Active. See Canceling a Monitor Entry for more information.

note

To use the GoAnywhere Project Execution Method, ensure the JAMS Scheduler is running 7.7 or higher.

Authentication​

The GoAnywhere Project Execution Method supports two types of authentication. The type you choose determines how you create the JAMS Credential that connects to GoAnywhere MFT.

  • Basic – The Credential stores the username and password of the account that logs in to GoAnywhere MFT.
  • Token – The Credential stores a Display Name and uses a GoAnywhere MFT user API key as its password. The password must be a valid Bearer Token generated in GoAnywhere MFT. The Display Name only identifies the Credential in JAMS and is not connected to a GoAnywhere login.

Token authentication is recommended.

Before You Begin​

Before you set up the integration with GoAnywhere MFT, ensure you have the following:

  • GoAnywhere MFT version 7.5.2 or higher.
  • An Agent, if the Job will run on an Agent rather than the JAMS Scheduler. See JAMS Agents for more information.
  • The URL of the GoAnywhere MFT REST API V1. The port depends on your configuration, but the URL has a format similar to the following:
    • HTTP: http://<IP address or server name>:8000/goanywhere/rest/gacmd/v1
    • HTTPS: https://<IP address or server name>:8001/goanywhere/rest/gacmd/v1
  • The username and password, or the user API key, for authenticating with the GoAnywhere MFT REST API V1.
  • The domain where the project is located.
  • The path to the project within that domain.
  • The project name.

Creating Credentials​

You need two Credentials in JAMS to run a GoAnywhere MFT Job:

  • A Credential that connects to the GoAnywhere MFT REST API. It stores the username and password for Basic authentication, or the API key as the password for Token authentication. Its Access Control Entry (ACE) must include the Get Password permission.
  • A Credential that runs the Job in JAMS. This Credential must be a valid user on the Windows machine.

Adding the GoAnywhere Credential​

Adding an ACE is available only for federated users. If you log in with the admin/service account, you cannot add ACEs. See Credentials for more information.

  1. Click Environment from the main menu.
  2. Click Credentials.
  3. Click Add. The Add a New JAMS Credential drawer opens.
  4. In the Display Name field, enter a name for the Credential.
  5. Do one of the following:
    • For Basic authentication, in the Logon Username field, enter the username of the GoAnywhere MFT account. If you leave it blank, it defaults to the Display Name. In the Password and Reenter Password fields, enter the password for that account.
    • For Token authentication, in the Password and Reenter Password fields, enter the API key generated in GoAnywhere MFT. The Logon Username is not used.
  6. Click Save & Continue. The Credential opens for editing.
  7. Click the Security tab.
  8. Click ADD to add an ACE.
  9. Search for the user account to add, and then click Select.
  10. Click the down arrow for the username and select the Get Password checkbox, along with any other permissions the account needs.
  11. Click Save.

Adding a Credential for Running the JAMS Job​

  1. Click Environment from the main menu.
  2. Click Credentials.
  3. Click Add. The Add a New JAMS Credential drawer opens.
  4. In the Display Name field, enter a name for the Credential.
  5. In the Logon Username field, enter the username for the Credential.
  6. In the Password and Reenter Password fields, enter the password.
  7. Click Save & Return.

Creating a Job in JAMS for GoAnywhere MFT​

  1. Click Jobs from the main menu.
  2. Click a Folder in the Folder Navigator where the Job will be saved.
  3. Click Add. The Add a New JAMS Job drawer opens, with the Folder field set to the selected Folder.
  4. In the Job Name field, enter a name for the Job.
  5. In the Execution Method field, search for and select GoAnywhere Project.
  6. Click Save & Continue. The Job opens for editing.
  7. Click the Source tab. The fields are grouped under Connection Settings, Project Settings, and Job Settings.
  8. Under Connection Settings, enter the following:
    1. In the GoAnywhere API URL field, enter the URL of the GoAnywhere MFT REST API, such as https://<IP address or server name>:8001/goanywhere/rest/gacmd/v1. This field is required.
    2. In the GoAnywhere User field, select the JAMS Credential that connects to GoAnywhere MFT. This field is required.
    3. In the Authentication Type field, select Basic or Bearer Token to match how that Credential was created. The default is Basic.
  9. Under Project Settings, enter the following:
    1. In the Project Domain field, enter the name of the domain. If you leave it blank, JAMS uses Default.
    2. In the Project Path field, enter the path to the project within the domain.
    3. In the Project Name field, enter the name of the GoAnywhere MFT project to run. This field is required.
  10. Under Job Settings, enter the following:
    1. Optional: In the Job Name field, enter a name to associate with the run. This name is displayed in the Job Name column under Completed Jobs in GoAnywhere MFT.
    2. Optional: In the Job Queue field, enter the name of the GoAnywhere MFT queue.
    3. In the Run Priority field, enter a number from 1 to 10. The default value is 5.
  11. Click the Schedules tab to add schedule items to set when the Job will run. See Schedules for more information.
  12. Click the Properties tab.
  13. In the Execute As field, select the JAMS Credential to run the Job.
  14. In the Agent field, select the Agent if the Job will not run on the Scheduler.
  15. Optional: Click the Parameters tab. To override a GoAnywhere MFT project variable, add a Parameter with the same name as the variable and set its value. See Parameters for more information.
  16. Click Save.

After you create the Job, it is submitted based on its schedule. You can also submit it manually. See Manually Submitting Jobs for more information. To view the Job's progress, click Monitor from the main menu.