-
This connector is now compatible with Java 17 only.
-
FTPS Connector 3.0 requires Mule runtime 4.9.0 or later and Java 17. Apps that run on Mule 4.8 or earlier, or on Java 8 or 11, must stay on FTPS Connector 2.x. In Anypoint Studio, the connector is listed as FTPS Connector - Mule 4.
-
FTPS Connector is now a standalone connector, so the app no longer bundles plaintext FTP. If the app uses ftp:* operations or configurations and depends only on FTPS Connector, add FTP Connector to the app explicitly. Otherwise, the app fails to deploy with an unknown namespace error. An FTP configuration that uses an FTPS connection (ftps:connection inside ftp:config) fails to deploy. Use ftps:config instead. Upgrade FTP Connector and FTPS Connector to 3.0 together. FTPS Connector 3.0 works with FTP Connector 2.0.4 or 3.0. For more information, see Upgrading and Migrating FTPS Connector to Version 3.0.
-
On Mule 4.13.0 and later, you can reuse the control-channel TLS session on data channels through the JDK security provider, without the Bouncy Castle security providers, so the connector doesn’t register Bouncy Castle for every app on the JVM. This path is opt-in. In CloudHub 1.0 and CloudHub 2.0, set the application property jdk.tls.client.enableSessionTicketExtension to false. In Anypoint Studio and Anypoint Code Builder, add -M-Djdk.tls.client.enableSessionTicketExtension=false to the runtime arguments. In a standalone or hybrid runtime, add -Djdk.tls.client.enableSessionTicketExtension=false to the JVM arguments. If the JDK provider can’t resume the session, the transfer fails with the message Failed to resume SSL/TLS session through the JDK provider. The connector falls back to Bouncy Castle only when Bouncy Castle created the sockets. Otherwise, including in FIPS mode, the connector reuses TLS sessions through Bouncy Castle, as in 2.x. For the full conditions, including Extended Master Secret and TLS 1.3, see Configure Java JDK for Session Reuse.
-
The connector packages moved from com.mulesoft.extension.ftps. to com.mulesoft.connectors.ftps.. Only com.mulesoft.connectors.ftps.api.ftp, com.mulesoft.connectors.ftps.api.matchers, com.mulesoft.connectors.ftps.api.mode, and com.mulesoft.connectors.ftps.api.proxy are exported. Custom Java code that references the 2.x classes, or org.mule.extension.ftp. classes through FTPS Connector, fails to compile or load. Update it to use com.mulesoft.connectors.ftps.api.. For more information, see Upgrading and Migrating FTPS Connector to Version 3.0.
-
The time unit parameters are renamed. The old names fail deployment with an XML validation error. In Anypoint Studio, the old names are flagged after you update the connector version.
-
In ftps:connection, Connection Timeout Unit (connectionTimeoutUnit) is now Connection Timeout Time Unit (connectionTimeoutTimeUnit), and Response Timeout Unit (responseTimeoutUnit) is now Response Timeout Time Unit (responseTimeoutTimeUnit). For more information, see FTPS Connection.
-
In the connector configuration, 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). For more information, see Config, Read, and On New or Updated File.
-
On ftps:matcher, Time Unit (timeUnit) is replaced by Not Updated In The Last Time Unit (notUpdatedInTheLastTimeUnit) and Updated In The Last Time Unit (updatedInTheLastTimeUnit). Both default to SECONDS, the same default as in 2.x. An app that still sets timeUnit fails XML validation. For more information, see Matcher.
-
The default value of Time Between Size Check Time Unit (timeBetweenSizeCheckTimeUnit) in the connector configuration is now SECONDS, instead of MILLISECONDS. For example, timeBetweenSizeCheck="2" without a unit now waits 2 seconds instead of 2 milliseconds. To keep the 2.x timing, set timeBetweenSizeCheckTimeUnit="MILLISECONDS". The Read operation and the On New or Updated File source use the configuration values unless you set them on the operation or source.
-
In Ftps explicit mode, PROT Settings (protSetting) now defaults to PRIVATE. The connector sends PBSZ 0 and PROT P after login and encrypts the data channel. In 2.x, when PROT Settings wasn’t set, the data channel stayed clear. If the FTPS server rejects PROT P, the connection fails with the message There was an error while trying to set the PROT Setting to P (PRIVATE). To keep the 2.x behavior, set protSetting="CLEAR" on ftps:ftps-explicit-mode. When the data channel is clear, the connector logs CLEAR PROT Setting selected, data will be sent in plain text through the data channel once per configuration at WARN. In 2.1.3, this warning was logged only in FIPS mode. For more information, see Ftps Explicit Mode.
-
In Ftps implicit mode, if the server rejects PROT P, the connection now fails with the message There was an error while trying to encrypt the data channel (PROT P). In 2.x, the connector logged a warning and continued with a clear data channel. Implicit mode has no clear fallback. For more information, see Ftps Implicit Mode.
-
Primary Node Only (primaryNodeOnly) on the On New or Updated File source now defaults to true. In a cluster, including CloudHub 2.0, only the primary node polls the directory. To poll on every node as in 2.x, set primaryNodeOnly="false" on the source. Watermark resolution is one minute, the same as in 2.x. When Watermark Enabled is true and the server doesn’t return a modification timestamp for a file, the watermark is ignored for that file and a warning is logged. For more information, see On New or Updated File.
-
If the configured Working Directory (workingDir) doesn’t exist, the connection now fails when it’s established with FTPS:FILE_DOESNT_EXIST and the message The configured workingDir '<path>' doesn’t exist. If the path is a file, the connection fails with FTPS:FILE_IS_NOT_DIRECTORY and the message The configured workingDir '<path>' is not a directory. Both are children of FTPS:CONNECTIVITY. If the path is a directory the user can’t enter, the connection fails with FTPS:CONNECTIVITY and the message Access denied to the configured workingDir '<path>'. In 2.x, an invalid working directory was ignored and later operations ran in the wrong directory. For more information, see FTPS Connection.
-
The new FTPS:TLS_HANDSHAKE_FAILED error type is raised when the TLS handshake with the FTPS server or with an HTTPS tunnel proxy fails, for example because the server certificate isn’t trusted, the host name doesn’t match, the certificate is expired, or no protocol or cipher suite can be agreed. FTPS:TLS_HANDSHAKE_FAILED is a child of FTPS:CONNECTIVITY. In 2.x, TLS handshake failures raised FTPS:INVALID_CREDENTIALS. Error handlers that catch only FTPS:INVALID_CREDENTIALS no longer catch TLS failures. Catch FTPS:TLS_HANDSHAKE_FAILED or FTPS:CONNECTIVITY instead. For more information, see Understand Common Throws.
-
The FTPS:FILE_NOT_FOUND error type is removed. The connector never raised it. An app with an error handler that references FTPS:FILE_NOT_FOUND fails to deploy. Use FTPS:ILLEGAL_PATH instead. For more information, see Understand Common Throws.
-
When the FTPS server rejects a file action with reply code 450, 550, or 553, the connector classifies the error by the reply text. A reply that indicates missing permission, such as Permission denied, Access denied, Not authorized, or Forbidden, raises FTPS:ACCESS_DENIED. FTPS:ACCESS_DENIED is not a child of FTPS:CONNECTIVITY. A reply that indicates a missing file, such as No such file, Not found, or Does not exist, raises FTPS:ILLEGAL_PATH. A reply the connector can’t classify keeps the same generic error as in 2.x. In 2.x, these server rejections surfaced as MULE:UNKNOWN. Error handlers that catch only FTPS:CONNECTIVITY or MULE:UNKNOWN no longer catch permission failures. Catch FTPS:ACCESS_DENIED instead. Handlers that catch ANY aren’t affected. For more information, see Understand Common Throws.
-
When the server refuses to create a directory with reply code 450, 550, or 553 and the reply text doesn’t explain the cause, for example 550 Create directory operation failed., the connector raises FTPS:ACCESS_DENIED if the path is still missing. If a file already occupies that name, the connector raises FTPS:ILLEGAL_PATH. This applies to Create Directory and to operations with Create Parent Directories set to true. For more information, see Create Directory.
-
Read and Write raise FTPS:FILE_LOCK when Lock is true and the file is already locked. Delete raises FTPS:FILE_LOCK when the file is locked by another operation in the app, for example a Read that is still in progress. The message is File '<path>' is locked by another process or Could not lock file '<path>' because it’s already owned by another process. For more information, see Read, Write, and Delete.
-
If the Directory configured on the On New or Updated File source doesn’t exist, or the connector can’t enter it, the source fails at startup with FTPS:ILLEGAL_PATH and the message Path '<directory>' doesn’t exist. In 2.x this failure was a generic runtime error. For more information, see On New or Updated File.
-
Proxy host (host) is now required in ftps:http-tunnel-proxy and ftps:https-tunnel-proxy. In 2.x it was optional with an empty default, and configurations that omit it now fail validation. Proxy port (port) defaults to 3128. In Anypoint Studio and Anypoint Code Builder, the proxy settings are on the Proxy tab. For more information, see Http Tunnel Proxy and Https Tunnel Proxy.
-
When an app is undeployed, the connector removes the Bouncy Castle security providers that its class loader registered. Providers registered by the runtime or by other apps are kept. For more information, see Configure Bouncy Castle Libraries and Security Provider.
-
File attributes are now of type com.mulesoft.connectors.ftps.api.ftp.FtpsFileAttributes. DataWeave expressions that read attribute fields, such as attributes.name, attributes.path, attributes.size, and attributes.timestamp, work unchanged. File attributes that FTPS Connector 2.x serialized, for example into an object store, a VM queue, or a persistent queue, can’t be read by version 3.0. Process or clear that data before you upgrade. For more information, see Ftps File Attributes.