Free MuleSoft CONNECT Keynote & Expo Pass Available!

Register now+
Nav

About the FTPS Connector

This connector provides the same functionality as the standard FTP connector, but it adds secure connections over SSL.

To secure the connection, you set a TLS context in the connection:


         
      
1
2
3
4
5
6
7
8
9
<ftp:config name="ftp">
    <ftps:connection username="anonymous" password="password"
     host="localhost" port="${ftpPort}"
     workingDir="${workingDir}">
        <tls:context>
            <tls:trust-store path="path/to/keystore" password="mulepassword" />
        </tls:context>
    </ftps:connection>
</ftp:config>

To use the FTPS module, you simply add it to your Mule app through the Studio or Flow Designer UI, or you can add the following dependency in your pom.xml file:


         
      
1
2
3
4
5
6
<dependency>
    <groupId>com.mulesoft.connectors</groupId>
    <artifactId>mule-ftps-connector</artifactId>
    <version>1.0.0</version> <!-- or newer -->
    <classifier>mule-plugin</classifier>
</dependency>

In this topic: