---
schema_version: "1"
id: 60f164f5d0554e43c5cd54dd9bf0c5c7286c312c5c21f97ed5d85426f0dde426
title: SFTP Receive Endpoint Settings
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/partner-manager/latest/endpoint-sftp-receive-target.md
canonical_url: https://docs.mulesoft.com/partner-manager/latest/endpoint-sftp-receive-target
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 964780f5408b91d9ac575f4b76798d07c1cfae6035f210da57c111894fa743a3
description: MuleSoft Documentation Site
release: 2.x
latest: true
---
---
product: Partner Manager
version: 2.x
is-latest-version: true
---

# SFTP Receive Endpoint Settings

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

SFTP receive endpoints configure where to receive B2B messages transmitted over SFTP. There are two
types of SFTP receive endpoints:

- Receive from Partners

  Source endpoint in an inbound message flow that receives B2B messages from partners either
  directly or via third-party connections.

  A host, partner, or third-party connection can own SFTP Receive from Partners endpoints.

- Source at Host

  Source endpoint in an outbound message flow that receives messages from the backend applications.

  Only a host can own SFTP Source at Host endpoints.

Create SFTP receive endpoints by configuring these settings on the **<host>** or **Partner** page:

<table><colgroup><col> <col> <col></colgroup><thead><tr><th>Name</th><th>Description</th><th>Required</th></tr></thead><tbody><tr><td><p>Owner</p></td><td><p>Partner or host that owns the endpoint.</p></td><td><p>x</p></td></tr><tr><td><p>Usage</p></td><td><p>Endpoint function (<code>Receive from partners</code> or <code>Source at host</code>).</p></td><td><p>x</p></td></tr><tr><td><p>Protocol</p></td><td><p>Protocol that the endpoint supports (<code>SFTP</code>).</p></td><td><p>x</p></td></tr><tr><td><p>Endpoint Name</p></td><td><p>Automatically generated name used to identify the endpoint, which you can subsequently modify manually.</p></td><td><p>x</p></td></tr><tr><td><p>Description</p></td><td><p>User-supplied value that describes the purpose of the endpoint.</p></td><td></td></tr><tr><td><p>Host</p></td><td><p>SFTP server host, such as <code>sftp.mulesoft.com</code>, <code>localhost</code>, or <code>192.168.0.1</code>. The host must be accessible from your Mule environment.</p></td><td><p>x</p></td></tr><tr><td><p>Port</p></td><td><p>Port number of the SFTP server.</p></td><td><p>x</p></td></tr><tr><td><p>Character encoding override</p></td><td><p>Enables inbound endpoints to receive non UTF-8 encoded documents for XML, CSV, and X12 document types.</p></td><td></td></tr><tr><td><p>Authentication type</p></td><td><div><div><p>Authentication method used to secure the SFTP endpoint. Values are:</p></div><div><ul><li><p><strong>None</strong></p><div><p>Provides no authentication for the endpoint</p></div></li><li><p><strong>Basic</strong></p><div><p>Authenticates by using a username and password</p></div></li><li><p><strong>Identity Key</strong></p><div><p>Authenticates by using a private SSH identity key</p></div></li><li><p><strong>Basic and Identity Key</strong></p><div><p>Authenticates by using a username, password, and public SSH identity key</p></div></li></ul></div></div></td><td><p>x</p></td></tr><tr><td><p>Username</p></td><td><p>(Applies to all authentication types except <code>None</code>)</p><p>Username for the SFTP server.</p></td><td><p>x</p></td></tr><tr><td><p>Password</p></td><td><p>(Applies to these authentication types: <code>Basic</code>, <code>Basic and Identity Key</code>)</p><p>Password for the SFTP server.</p></td><td><p>x</p></td></tr><tr><td><p>SSH</p></td><td><div><div><p>(Applies to these authentication types: <code>Identity Key</code>, <code>Basic and Identity Key</code>)</p></div><div><p>SSH private key file. The following considerations apply:</p></div><div><ul><li><p>Send and receive endpoints that have the same owner can use the same SSH private key file.</p></li><li><p>Multiple message flows for the same or different partners can reference endpoints that use the same SSH private key file.</p></li></ul></div><div><p>You can either select a private key file (<code>.pem</code>) that’s already configured in Anypoint Partner Manager or create a new configuration for a private key file.</p></div><div><p>To create a new configuration for a private key file:</p></div><div><ol><li><p>In the <strong>&lt;partner&gt; SSH</strong> or <strong>&lt;host&gt; SSH</strong> field, click <strong>Select</strong>.</p></li><li><p>In the <strong>Select a &lt;partner&gt; ssh</strong> or <strong>Select a &lt;host&gt; ssh</strong> dialog, click <strong>New</strong>.</p></li><li><p>Complete the fields in the <strong>New certificate for &lt;partner&gt;</strong> or <strong>New certificate for &lt;host&gt;</strong> dialog:</p><div><ul><li><p><strong>Identity Key name</strong></p><div><p>Enter the name of the private key file.</p></div></li><li><p><strong>&lt;partner&gt; identity key PEM file</strong> or <strong>&lt;host&gt; identity key PEM file</strong></p><div><p>Click <strong>Choose file</strong> to select the private key file.</p></div></li><li><p><strong>Key passphrase</strong></p><div><p>Enter the passphrase for the private key file.</p></div></li><li><p><strong>Expiration date</strong></p><div><p>Enter the date on which you want the private key file to expire. This date is a reminder for you, but Anypoint Partner Manager doesn’t enforce it.</p></div></li></ul></div></li><li><p>Click <strong>Create</strong>.</p></li></ol></div></div></td><td><p>x</p></td></tr><tr><td><p>Source path</p></td><td><p>Path on the SFTP server to which your partner sends the inbound files.</p></td><td><p>x</p></td></tr><tr><td><p>Skip Delete</p></td><td><div><div><p>When enabled, Partner Manager keeps the source file after reading and processing.</p></div><div><div data-type="NOTE">Use this configuration only when connecting to SFTP/FTP hosts that don’t allow explicit file deletion after the first read. Using this configuration with other types of SFTP/FTP hosts can result in duplicate file processing.</div></div></div></td><td></td></tr><tr><td><p>Skip empty files</p></td><td><p>Skip empty files during processing.</p></td><td><p>No</p></td></tr><tr><td><p>Polling Frequency</p></td><td><p>Frequency at which the server checks the source path for new files. The default value is <code>1 minute</code>.</p></td><td><p>x</p></td></tr><tr><td><p>Size check wait time</p></td><td><p>Wait time, in seconds, between size checks to determine if a file is ready for processing. The default value is <code>1 second</code>. This allows a file write to complete before processing.<br><br>Mule performs two size checks by waiting the amount of time specified in the <code>Size check wait time</code> field. If both checks return the same value, the file is ready to process.<br><br>To disable this feature, specify a negative number or omit the value.</p></td><td><p>x</p></td></tr><tr><td><p>Support Format type</p></td><td><p>Indicates whether the endpoint supports EDI messages (EDIFACT, X12) or non-EDI messages (JSON, XML).</p></td><td><p>x</p></td></tr><tr><td><p>Associated message type</p></td><td><p>(Applies only to endpoints that support non-EDI formats) Message type to associate with the endpoint. If you select a message type, Partner Manager processes files received via the endpoint as the selected message type, regardless of the file naming convention.</p></td><td></td></tr><tr><td><p>Use hyphen (-) as the secondary file name delimiter to determine non-EDI message type</p></td><td><p>Lets you use a hyphen as the secondary file name delimiter to determine the message type from the message’s file name. Only shows if the supported format type is non-EDI.</p></td><td><p>No</p></td></tr><tr><td><p>Associated reference identifier</p></td><td><p>(Applies only to endpoints that support non-EDI formats that are owned by partners or third-party connections.) Partner information, such as the partner ID or third-party ID.</p></td><td></td></tr><tr><td><p>File name pattern</p></td><td><p>Filename pattern required by your partner.</p></td><td></td></tr><tr><td><p>Archival Path</p></td><td><div><div><p>Directory path on the SFTP server at which to store a copy of the file after processing.</p></div><div><div data-type="NOTE">The runtime application attempts to create the archive file up to three times. If permission or connection errors prevent Partner Manager from deleting the file, Partner Manager logs the issue in the runtime application and skips the archival step to prevent duplicate message processing.</div></div></div></td><td></td></tr></tbody></table>

## See Also

- [Endpoints](https://docs.mulesoft.com/partner-manager/latest/endpoints)

- [Creating Endpoints](https://docs.mulesoft.com/partner-manager/latest/create-endpoint)

- [Managing Partner and Third-Party Connection Certificates](https://docs.mulesoft.com/partner-manager/latest/manage-partner-certificates)
