SFTP To Go
Mulesoft Anypoint Platform
SFTP To Go
SFTP To Go is a fully managed secure, scalable, and reliable cloud file storage service supporting SFTP, FTPS, S3, and HTTPS protocols. It allows sharing and integration with third parties using popular and secure protocols, and automates data management and processing using APIs and webhooks.
- Secure data transfer and transparent encryption at rest
- Reliable offsite backup
- Compatibility and ease of use
MuleSoft Anypoint Platform
MuleSoft Anypoint Platform is an iPaaS and API integration platform used to design, deploy, and manage integrations across applications, data, APIs, and enterprise systems. By integrating SFTP To Go with MuleSoft Anypoint Platform, you can use MuleSoft’s SFTP Connector to poll folders, read and write files, transform data, and route file activity into connected business workflows.
- Use MuleSoft’s SFTP Connector to connect to SFTP To Go
- Poll for new or updated files and process them in Mule flows
- Read, write, transform, move, and route files across connected systems
How does it work?
- In SFTP To Go, create dedicated credentials for MuleSoft Anypoint Platform to use. Set the required home directory and permissions for the integration, then copy the hostname, port, username, and authentication details from the Credentials tab.
- Choose the authentication method for MuleSoft:
- Use password authentication for a standard SFTP connection.
- Use SSH key authentication if your workflow requires key-based access.
- Store passwords and private keys in secure configuration properties or a secrets manager rather than in source code.
- In Anypoint Studio, create a new Mule project for the SFTP To Go integration.
- In the Mule Palette, search for SFTP and add MuleSoft’s SFTP Connector to the project.
- Create the SFTP connector configuration:
- Set Host to the SFTP To Go host.
- Set Port to 22.
- Enter the SFTP To Go username.
- Enter the password or configure the private key file and passphrase for SSH key authentication.
- Set the working directory if the Mule flow should use a specific folder as the base path.
- Click Test Connection in Anypoint Studio to confirm that MuleSoft can connect to SFTP To Go.
- For inbound file workflows, add the On New or Updated File source. Set the directory path that MuleSoft should poll, then configure the scheduling strategy and file handling behavior.
- Use watermarking or post-processing rules to avoid processing the same file repeatedly. For example, move processed files into an archive folder, or delete them after processing if that matches your retention requirements.
- Add the required Mule flow steps after the SFTP trigger. Depending on the workflow, this may include transforming file content with DataWeave, sending records to an API, updating a database, creating a message, or passing the file to another connected application.
- For outbound file workflows, use the SFTP Connector’s Write operation to send files from MuleSoft to SFTP To Go. Set the output path, file name, write mode, and whether MuleSoft should create missing parent directories.
- Use additional SFTP operations where needed, such as Read, List, Move, Copy, or Delete, depending on how the Mule flow needs to handle files after transfer.
- Deploy the Mule application through Anypoint Studio, Runtime Manager, CloudHub, CloudHub 2.0, or your chosen MuleSoft deployment environment.
- Test the integration by uploading a file to the configured SFTP To Go folder using the File Browser or an SFTP client. Confirm that the Mule flow detects the file, processes it, and sends the expected output to the target system or SFTP To Go folder.
- Monitor the workflow in MuleSoft and review transfer activity in SFTP To Go to confirm successful logins, uploads, downloads, file changes, and access events.
Ready to get started?
Be up and running with your secure cloud storage in seconds
Get started with a free trial