Skip to content
Bug Barometer
All issues
In Review

MuleSoft / Anypoint Connectors

SFTP Connector 2.x collapses repeated slashes in the Write operation path before sending it to the server

Reported
Nov 26, 2026
Updated
Nov 26, 2026
Fixed
—
Reports
0
Found in
—
Reference
W-25049062

Summary

In SFTP Connector 2.x, the Write operation collapses consecutive slashes in the configured path (for example, // or ///) into a single / before sending it to the SFTP server. The server therefore receives a different path from the one configured. SFTP Connector version 1.x sends the path unchanged.

On SFTP servers where consecutive slashes are significant, the file can be written to an unintended location even though the operation reports success. Later writes, such as APPEND, can then fail.


The Engineering team has confirmed that this behavior is a product bug in SFTP Connector 2.x. Currently, there is no available workaround to prevent the path normalization behavior. 

Workaround

NA

Steps to reproduce

Steps to Reproduce

  1. Create a Mule application with SFTP Connector 2.x.
  2. Add an SFTP Write operation with a path that contains repeated slashes, for example /folder///file.txt.
  3. Enable DEBUG logging for org.mule.extension.sftp.
  4. Run the application and check the path in the connector log.

Expected result: The path is sent as configured: /folder///file.txt

Actual result: The repeated slashes are collapsed: /folder/file.txt

Error details

NA

Status timeline

  1. Nov 30, 2026

    created · In Review · 0 reports

  2. Nov 30, 2026

    content changed · In Review · 0 reports

Official known-issue pageSuggest a workaround