MuleSoft · SFTP Connector

SFTP Write in APPEND mode overwrites the file or fails

Short answer

When SFTP Write in APPEND mode overwrites the file or fails with a generic error, the server is a legacy one that lacks the SSH_FXF_APPEND flag. Set Write Strategy to CUSTOM and Write Mode to CUSTOM_APPEND.

VerifiedLast verified

01Error text

MuleSoft error
Write operation with APPEND mode overwrites the file or fails with a generic error

02Likely causes

  • The SFTP server is a legacy server that does not support the SSH_FXF_APPEND flag.

03How to fix it

  1. On the Write operation, set Write Strategy to CUSTOM.
  2. Set Write Mode to CUSTOM_APPEND.
  3. Tune Buffer Size for Write Strategy if needed.
  4. Do not write to the same file concurrently. CUSTOM_APPEND does not support concurrent writes to the same file.

04Official documentation

Test every fix in a non-production environment before you apply it to production. See how entries are verified.

More for MuleSoft work:Open MuleSoft jobsMuleSoft rates and salariesHire a senior MuleSoft developer

The iPaaS Brief

Subscribe to The iPaaS Brief.

The iPaaS newsletter for the people who run integrations. From iPaaS Group.

Free. You finish on theipaasbrief.com and confirm by email.