Contact Us 1-800-596-4880

Upgrading and Migrating FTP Connector to Version 2.0 - Mule 4

Upgrade Anypoint Connector for FTP (FTP Connector) to version 2.x.

Supported Upgrade Paths

From Version To Version

1.8.x

2.0.x

Changes in This Release

This release contains the following changes:

  • The mule-file-commons module dependency is removed to make FTP Connector a standalone connector.

  • The List operation now returns the file path instead of the file content.

  • The List operation no longer includes the Time Between Size Check and Time Between Size Check Unit fields because the file content is no longer read.

Requirements

Ensure that you meet these requirements before you perform the upgrade:

Application/Service Version

Mule

4.3.0 and later

Upgrade Prerequisites

Before you perform the upgrade, create a backup of your files, data, and configuration in case you need to restore to the previous version.

Upgrade Steps

Follow these steps to perform the upgrade:

  1. In Anypoint Studio, create a Mule project.

  2. In Mule Palette, click Search in Exchange.

  3. In Add Dependencies to Project, enter ftp in the search field.

  4. In Available modules, select FTP and click Add.

  5. Click Finish.

  6. Verify that the FTP Connector dependency version is 2.0 in the pom.xml file in the Mule project.

Studio upgrades the connector automatically.

Post-Upgrade Steps

After you install the latest version of the connector, verify that your error handling is updated to work with the minor changes in error codes in this version of the connector.

Verify the Upgrade

After you install the latest version of the connector, follow these steps to verify the upgrade:

  1. In Studio, verify that there are no errors in the Problems or Console views.

  2. Verify that there are no problems in the project pom.xml file.

  3. Test the connection to verify that the operations work.

Revert the Upgrade

If it is necessary to revert to the previous version of FTP Connector, change the mule-ftp-connector dependency version in the project’s pom.xml file to the previous version.

You must update the project’s pom.xml file in Anypoint Studio.

View on GitHub