Contact Us 1-800-596-4880

FTP Connector Release Notes for Mule 4

Support Category: Select

Anypoint Connector for FTP (FTP Connector) provides access to files and folders on an FTP server.

3.0.0

December 2, 2026

What’s New

  • This connector is now compatible with Java 17 only.

  • The connector runs on a shared FTP engine that FTPS Connector 3.0.0 also uses. FTP Connector no longer shares its internal packages with other connectors. Only types in the org.mule.connectors.ftp.api, org.mule.connectors.ftp.api.ftp, org.mule.connectors.ftp.api.matchers, and org.mule.connectors.ftp.api.proxy packages are available to your app. FTP Connector 3.x and FTPS Connector 2.x can’t run in the same app. Upgrade both connectors to 3.0.0 together.

  • These time unit parameters are renamed. The old names fail deployment with an XML validation error.

    • In ftp:connection, Connection Timeout Unit (connectionTimeoutUnit) is now Connection Timeout Time Unit (connectionTimeoutTimeUnit), and Response Timeout Unit (responseTimeoutUnit) is now Response Timeout Time Unit (responseTimeoutTimeUnit).

    • In ftp:config, the Read operation, and the On New or Updated File source, Time Between Size Check Unit (timeBetweenSizeCheckUnit) is now Time Between Size Check Time Unit (timeBetweenSizeCheckTimeUnit).

    • timeUnit on ftp:matcher is replaced by two attributes. notUpdatedInTheLastTimeUnit qualifies Not Updated In The Last, and updatedInTheLastTimeUnit qualifies Updated In The Last. Both default to SECONDS, which is the same default timeUnit had in 2.x. An app that still sets timeUnit fails XML validation.

  • The default value of Time Between Size Check Time Unit (timeBetweenSizeCheckTimeUnit) in the connector configuration is now SECONDS. The Read operation and the On New or Updated File source use the configuration values unless you set them on the operation or source. See Config, Read, and On New or Updated File.

  • The FTP:FILE_NOT_FOUND error type is removed. The connector never raised it. An app with an error handler that references FTP:FILE_NOT_FOUND fails to deploy. Use FTP:ILLEGAL_PATH instead. See Understand Common Throws.

  • When the FTP server rejects Read, Write, Delete, List, Rename, or Create Directory with reply code 450, 550, or 553, the connector now classifies the error by the reply text:

    • A reply that indicates missing permission raises FTP:ACCESS_DENIED.

    • A reply that indicates a missing file raises FTP:ILLEGAL_PATH, the same error the connector raises when it detects a missing path itself.

    • A reply the connector can’t classify raises the same generic error from 2.x.

      In 2.x, these server rejections were MULE:UNKNOWN. Error handlers that catch MULE:UNKNOWN for permission failures no longer catch them. Catch FTP:ACCESS_DENIED instead. Handlers that catch ANY aren’t affected. The error message text is unchanged. See Read, Write, Delete, List, Rename, and Create Directory.

  • When the server reply starts with the path followed by a colon, for example 550 /a.txt: Permission denied, the connector classifies the error using only the text after the path. A relative path that contains spaces isn’t recognized as a path, so the whole reply text is used. If that text contains words the connector uses as hints, the error type can be wrong. See Understand Common Throws.

  • A Write operation that the server denies now fails immediately with FTP:ACCESS_DENIED, instead of after Response Timeout. See Write.

  • If the directory configured in the On New or Updated File source doesn’t exist when the source starts, the source fails with FTP:ILLEGAL_PATH. See On New or Updated File.

  • When the HTTPS tunnel proxy presents an untrusted certificate, the connection fails with FTP:CONNECTIVITY. FTP Connector doesn’t define a TLS handshake error type. See Configure a Proxy.

  • If the configured Working Directory (workingDir) doesn’t exist, the connection fails when it’s established with FTP:FILE_DOESNT_EXIST. If the path is a file, the connection fails with FTP:FILE_IS_NOT_DIRECTORY. Both are children of FTP:CONNECTIVITY, so Test Connection and reconnection strategies apply. In 2.x, the connection succeeded and operations that use relative paths failed later with FTP:ILLEGAL_PATH. See FTP Connection.

  • When the server refuses to create a directory with reply code 450, 550, or 553 and the reply text doesn’t explain the cause, the connector raises FTP:ACCESS_DENIED. This applies to Create Directory and to parent directories that Write, Copy, and Move create. See Create Directory, Write, Copy, and Move.

  • The Delete operation now raises FTP:FILE_LOCK when the file is locked by another operation in the app, for example a Read operation with Lock set to true. In 2.x, this failure was MULE:UNKNOWN. See Delete.

  • Proxy host (host) is now required in ftp:http-tunnel-proxy and ftp:https-tunnel-proxy. Proxy port (port) now defaults to 3128. In Anypoint Studio and Anypoint Code Builder, the proxy settings are in the Proxy tab. See Configure a Proxy, Http Tunnel Proxy, and Https Tunnel Proxy.

  • Primary Node Only (primaryNodeOnly) now defaults to true. In a cluster, including CloudHub 2.0, only the primary node polls the directory. In 2.x, every worker polled. To poll on every node, set primaryNodeOnly="false". Time Between Size Check and Time Between Size Check Time Unit are on the Advanced tab. When Matcher rejects a file, only that file is skipped. The source returns the polling connection before it dispatches files. Each file stream and each post action (Auto delete, Move to directory, and Rename to) uses its own connection. See On New or Updated File.

  • In Anypoint Studio and Anypoint Code Builder, the connector is named FTP Connector - Mule 4, the same name used in Anypoint Exchange. See Using Anypoint Studio to Configure FTP Connector.

  • Operations, the On New or Updated File source, and their parameters include summaries and examples. See FTP Connector Reference.

  • These changes affect only custom Java code or DataWeave code that references connector classes directly. FtpFileAttributes is immutable and no longer has setter methods. Although its fields (name, path, size, timestamp, directory, regularFile, and symbolicLink) are unchanged, the package name changed, so attributes that FTP Connector 2.x stored can’t be read by 3.0.0. FileMatcher no longer has a build() method. These classes are removed from the exported API: FileError, PredicateType, UriUtils, FTPConnectionException, FileAlreadyExistsException, FileBeingModifiedException, DeletedFileWhileReadException, IllegalPathException, NullFilePayloadPredicate, and PathMatcherPredicate. See Ftp File Attributes and Matcher.

For more information about how to upgrade, see Upgrading and Migrating FTP Connector to Version 3.0.

Compatibility

Software Version

Mule

4.9.0 and later

OpenJDK

17

Fixed Issues

Issue Resolution ID

The On New or Updated File source now returns its connection to the pool before it dispatches files, and reads each file and runs each post action (Auto delete, Move to directory, and Rename to) on its own connection. Previously, a flow under back pressure or a small connection pool could leave the source waiting for a connection that the source itself held. See On New or Updated File.

W-24808783

When Matcher rejects a file during a poll, the On New or Updated File source now skips only that file. Previously, the source stopped processing the remaining files of that poll. See On New or Updated File and Matcher.

W-24808783

These libraries are upgraded:

  • The commons-net library is upgraded to version 3.13.0.

  • The commons-lang3 library is upgraded to version 3.22.0.

  • The commons-io library is upgraded to version 2.22.0.

W-3300013

2.0.4

May 18, 2026

Compatibility

Software Version

Mule

4.3.0 and later

OpenJDK

8, 11, and 17

Fixed Issues

Issue Resolution ID

The connector now validates reply codes across all operations and throws a ConnectionException when error code 451 occurs. This ensures that the pool discards stale connections and replaces them with fresh ones.

W-21477651

The On New or Updated File source now correctly invalidates a corrupted FTP connection if the server response fails to parse or if the control channel abruptly closes during file listing. Previously, the listener returned a malformed connection to the connection pool, causing subsequent polling cycles to fail until you restarted the application.

W-20316906

2.0.3

December 10, 2025

Compatibility

Software Version

Mule

4.3.0 and later

OpenJDK

8, 11, and 17

Fixed Issues

Issue Resolution ID

The connector now correctly compares file names when the FTP server returns the full path as part of the file name.

W-20347004

The connector now gracefully handles the MalformedServerReplyException: Truncated server reply: '550 ' error that some FTP servers return during file existence checks and falls back to listing the parent directory to confirm the file’s existence.

W-20307018

The connector now correctly handles the List operation when an FTP server supports the MLST command but doesn’t support the MLSD command.

W-19744198

2.0.2

October 28, 2025

Compatibility

Software Version

Mule

4.3.0 and later

OpenJDK

8, 11, and 17

Fixed Issues

Issue Resolution ID

These libraries are upgraded to address the reported security vulnerabilities:

  • The commons-lang3 library is upgraded to version 3.18.0.

  • The Commons-collections library is upgraded to version 4.5.0.

W-19578842

2.0.1

September 28, 2025

Compatibility

Software Version

Mule

4.3.0 and later

OpenJDK

8, 11, and 17

Fixed Issues

Issue Resolution ID

The connector now correctly processes file attributes when the MLSD command returns output containing blank folder names.

W-19754116

2.0.0

September 23, 2024

Compatibility

Software Version

Mule

4.3.0 and later

OpenJDK

8, 11, and 17

Fixed Issues

Issue Resolution ID

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

W-15854291

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

W-16004666

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.

W-16280695

1.8.8

March 6, 2024

Compatibility

Software Version

Mule

4.1.2 and later

OpenJDK

8, 11, and 17

Fixed Issues

Issue Resolution ID

The Read operation now finds files that use some special characters while single-file listing.

W-14650859

1.8.7

January 19, 2024

What’s New

  • The Commons Net library is upgraded to version 3.8.0.

Compatibility

Software Version

Mule

4.1.2 and later

OpenJDK

8, 11, and 17

Fixed Issues

Issue Resolution ID

The Read operation now finds files even if the single-file listing is not supported.

W-14150759

1.8.6

January 5, 2024

What’s New

  • This connector is now compatible with Java 17.

Compatibility

Software Version

Mule

4.1.2 and later

OpenJDK

8, 11, and 17

1.8.5

July 11, 2023

What’s New

  • The Commons IO library is upgraded to version 2.13.0.

Compatibility

Software Version

Mule

4.1.2 and later

OpenJDK

8 and 11

Fixed Issues

Issue Resolution ID

The Read operation now takes less time to find files when the MLST command is not supported by a server.

W-13138208, W-13674423

The Commons IO library is upgraded to version 2.13.0 to address reported security vulnerabilities.

W-13512345

1.8.4 (Deprecated)

June 13, 2023

This version is deprecated. All of the features and fixed issues for this version are in version 1.8.5.

1.8.3 (Deprecated)

May 31, 2023

This version is deprecated. All of the features and fixed issues for this version are in version 1.8.5.

1.8.2

April 27, 2023

Fixed Issues

Issue ID

FTP Connector now returns connections to the pool if you configure the pooling profile connection.

W-12969684

Compatibility

Software Version

Mule

4.1.5 and later

JDK

8

1.8.1

September 28, 2022

Compatibility

Software Version

Mule

4.1.5 and later

JDK

8

Fixed Issues

Issue ID

FTP Connector no longer adds a slash / in front of file name when there is no working directory specified.

W-11633025

1.8.0

September 14, 2022

What’s New

  • FTP Connector now supports an independent file system matcher that lists files following FTP RTF standards. Use the Case sensitive field to configure an external file system matcher as case sensitive or insensitive.

Compatibility

Software Version

Mule

4.1.2 and later

OpenJDK

8 and 11

1.7.1

September 6, 2022

Compatibility

Software Version

Mule

4.1.5 and later

JDK

8

Fixed Issues

Issue ID

FTP Connector no longer returns NullPointerException when reading and listing files from the FTP server hosted in an AS400 server.

W-11697993

1.7.0

Aug 26, 2022

Compatibility

Software Version

Mule

4.1.5 and later

JDK

8

Fixed Issues

Issue ID

The On New or Updated File operation now provides the Overwrite field, which enables you to overwrite the target file when the destination file has the same name.

W-11645841

1.6.2

August 23, 2022

Compatibility

Software Version

Mule

4.1.2 and later

OpenJDK

8 and 11

Fixed Issues

Issue ID

FTP Connector now checks nulls to avoid errors while reading files from AS/400 servers.

W-11493458

1.6.1

July 4, 2022

What’s New

  • Upgraded versions of dependencies.

Compatibility

Software Version

Mule

4.1.2 and later

OpenJDK

8 and 11

1.6.0

May 30, 2022

What’s New

  • Added the Proxy parameter, which enables you to set the HTTP or HTTPS tunnel proxy in the FTPS Connector global configuration.

Compatibility

Software Version

Mule

4.1.2 and later

OpenJDK

8 and 11

1.5.5

October 18, 2021

What’s New

  • When FTP Connector attempted to use the MLSD command to list the directory, the server responded with Command Not Implemented (502) and before the connector could retry the operation with a LIST command, the server closed the connection. A call to the FEAT command is now issued to validate that MLST/MLSD commands are supported by the server.

Compatibility

Software Version

Mule

4.1.2 and later

OpenJDK

8 and 11

Fixed Issues

Issue ID

Added more error and debug level logging information.

FTPC-73

1.5.4

June 26, 2021

Compatibility

Software Version

Mule

4.1.2 and later

OpenJDK

8 and 11

Fixed Issues

Fixed a reconnection issue when a connectivity exception is raised during the poll event. (FTPC-75)

1.5.3

February 2, 2021

Minimum Mule Version

4.1.2

Fixed Issues

  • Fixed the issue that caused incorrect initialization of streams when connection errors occurred, and which caused the streams to remain dirty and resulted in mixed up file contents. (FTPC-70)

  • Fixed the issue that caused the move to post-action not to work. (FTPC-67)

1.5.2

August 6, 2020

Minimum Mule Version

4.1.2

Fixed Issues

Fixed an issue in which the FTP Connector waited indefinitely for command executions that took too much time or never ended. The connector now uses the response timeout parameter when executing FTP commands. (FTPC-57)

1.5.1

January 24, 2020

Minimum Mule Version

4.1.2

Fixed Issues

Fixed the issue that caused the connector’s delete operation, or any other operation that had the lock or overwrite flag set to true, to fail. (MULE-17963)

1.5.0

January 10, 2020

Minimum Mule Version

4.1.2

Features

Added support to set the control encoding to use in the control channel with the remote server. This new parameter is located in the Advanced tab for any FTPS configuration dialog.

Fixed Issues

  • Fixed an issue where the Write operation was incorrectly throwing a MULE:UNKNOWN error instead of FTP:ILLEGAL_PATH. (MULE-17797)

  • Fixed an issue where the connector was showing an incorrect reply code when throwing an FTP error. (MULE-17815)

  • Fixed the FTP Listener so it is able to rename files on a POST action when renameTo is set but moveTo is left blank. (MULE-17837)

  • Fixed a bug where FTP connection timeout was not working if it was set to a very low value. (MULE-17867)

1.4.2

October 23, 2019

Minimum Mule Version

4.1.2

Fixed Issues

  • Improve validations on name and path parameters. (MULE-17680)

1.4.1

September 25, 2019

Minimum Mule Version

4.1.2

Fixed Issues

  • Fixed an issue where the connector was failing to list or poll directories in some servers. (MULE-17434)

  • Solved an issue where the FTP Listener was trying to release connections that were never obtained. (MULE-17490)

1.4.0

September 4, 2019

Minimum Mule Version

4.1.2

Features

  • The parameters Updated in the last, Not updated in the last, and Time unit are added to the File Matcher. These parameters enable you to have a List or Listener operation that filters files by whether or not they have been updated in the specified time unit.

  • Adds the option to configure FTP Remote Verification.

Fixed Issues

  • Fixed a bug that made the read operation take more than one connection to read the file content. (MULE-17315)

  • Allow configuring Remote Verification in FTP config. (MULE-17369)

  • Fixed a bug that made the read operation fail for certain FTP servers. (MULE-17347)

  • Add (Not) Updated in the last capability to File Matcher in the FTP Connector. (MULE-17219)

1.3.1

June 28, 2019

Minimum Mule Version

4.1.1

Fixed Issues

  • Fixed a bug that caused the connector’s listener to skip a file due to a race condition. When the polling frequency of the listener was low, the autodelete flag was true, there was a burst of files to process, and the processing of each file took longer than the polling frequency, a file could be skipped. (MULE-16999)

1.3.0

May 23, 2019

Minimum Mule Version

4.1.1

Features

  • The timeBetweenSizeCheck setting prevents the connector from processing files while they are being written.

Fixed Issues

  • FTP connector should not log the full stack trace in warn level when failing to log out a connection. (MULE-16825)

  • Fixed a regression that affected the use of ftp:listener without specifying a directory. (MULE-16818)

1.2.6

April 22, 2019

Minimum Mule Version

4.1.1

Fixed Issues

  • Fixed an issue that prevented reading a file that had a space in its name. (MULE-16729)

  • Fixed an issue that prevented virtual directories to be listed or use the polling source in them. (MULE-16625)

1.2.5

March 25, 2019

Minimum Mule Version

4.1.1

Fixed Issues

  • Improved the FTP Write operation’s performance when writing on remote servers. (MULE-16557)

  • Fixed a bug that prevented the usage of the list operation on some FTP server configurations. (MULE-16591)

1.2.4

January 21, 2019

Minimum Mule Version

4.1.1

Fixed Issues

  • Fixed bug that made the List operation take too long when the listed directory contained a large number of files. (MULE-16346)

1.2.3

January 4, 2019

Minimum Mule Version

4.1.1

Fixed Issues

  • Fixed bug that made the connector get stuck while reading files from a remote server, degrading performance. (MULE-16291)

1.2.2

July 12, 2018

Minimum Mule Version

4.1.0

Fixed Issues

  • FtpFileAttributes threw NPE when FTPFile date was null. (MULE-15301)

1.2.1

June 15, 2018

Minimum Mule Version

4.1.0

Fixed Issues

  • FTP:ILLEGAL_PATH is thrown during FTP write. (MULE-15104)

  • FTP:Write deletes the directories and files when no filename is provided. (MULE-15172)

1.2.0

April 24, 2018

Minimum Mule Version

4.1.0

Fixed Issues

  • FTP connector should better inform on connection errors. (MULE-14993)

1.1.1

February 2, 2018

Minimum Mule Version

4.1.0

Fixed Issues

  • ftp:listener has undescriptive display name. (MULE-14585)

1.1.0

January 19, 2018

Minimum Mule Version

4.1.0

Features

  • Added a message source that automatically polls for new files, while handling clustering, idempotency, post actions, and watermark automatically.