Contact Us 1-800-596-4880

Configuring a Proxy for FTP Connector - Mule 4

Anypoint Connector for FTP (FTP Connector) enables you to configure an HTTP or HTTPS tunnel proxy. The following example shows how to configure the Proxy field:

  1. In Studio, select your FTP Connector operation from the canvas.

  2. In the configuration screen for the operation, click the plus sign (+) next to Connector configuration to access the global element configuration fields.

  3. On the General tab, specify the connection information for the connector.

  4. Set Proxy to Https tunnel proxy.

  5. Set TLS Configuration to Edit inline.

  6. For Trust Store Configuration, select Insecure.

  7. Set the following fields:

    • Proxy host: localhost

    • Proxy port: 3129

    • Proxy username: userprox

    • Proxy host: passprox

  1. Click OK.

FTP Connector Global Element Configuration window with Proxy field set to HTTPS tunnel proxy

In the Configuration XML tab, the configuration ftp:https-tunnel-proxy looks like this:

<ftp:config name="FTP_Config" >
		<ftp:connection host="ftp" username="user123" password="pass123" >
			<ftp:proxy >
				<ftp:https-tunnel-proxy host="localhost" port="3129" username="userprox" password="passprox" >
					<tls:context >
						<tls:trust-store insecure="true" />
					</tls:context>
				</ftp:https-tunnel-proxy>
			</ftp:proxy>
		</ftp:connection>
	</ftp:config>
View on GitHub