This documentation is for WSO2 Enterprise Integrator version 6.1.0 . View documentation for the latest release in the 6.x.x family and the latest release in the 7.x.x family.

All docs This doc
Skip to end of metadata
Go to start of metadata

The following section describes how to configure the file inbound protocol for FTP, SFTP and FILE connections.

  • To configure the file inbound protocol for FTP connections, you should specify the URL as ftp://{username}:{password}@{hostname/ip_address}/{source_filepath}

    ftp://admin:[email protected]/orders
    
  • To configure the file inbound protocol for SFTP connections, you should specify the URL as sftp://{username}:{password}@{hostname/ip_address}/{source_filepath}

    sftp://admin:[email protected]/orders

If the password contains special characters, these characters will need to be replaced with their hexadecimal representation.

  • To configure the file inbound protocol for FILE connections, you should specify the URL as file://{local_file_system_path}

    file:///home/user/test/in

Configuring a Proxy Server over FTP and SFTP Connections

Proxy server specific parameters can be set as URL query parameters. For example, to use Proxy over FTP, you could specify the URL as follows:

ftp://username:[email protected]/home/wso2/res?proxyServer=127.0.0.1&proxyPort=3128&proxyUsername=proxyuser&proxyPassword=proxyPass&timeout=2500&retryCount=3

Following are the URL parameters you can set:

Parameter

Description

Possible Values

Default Value

proxyServer

The IP address of the proxy server.

127.0.0.1false

proxyPort

The port number on which the proxy server is listening for requests.1328false
proxyType

The proxy server type. This can either be HTTP or SOCKS.

Note

In a configuration, if the proxy server type is not specified or an unknown proxy server type is specified, the proxyType will be considered as HTTP.


HTTP or SOCKS


HTTP

proxyUsername

The user name of the proxy server.
false

proxyPassword

The password of the proxy server.
false

timeout

The connection timeout in milliseconds.10005000

retryCount

The number of retry attempts in case of a connection timeout.35
  • No labels