This documentation is for WSO2 Enterprise Service Bus version 4.9.0 . View documentation for the latest release.
||
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:pass@localhost/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:pass@localhost/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:password@127.0.0.1/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

IP Address of the proxy server

127.0.0.1false

proxyPort

Running port of the proxy server1328false

proxyUsername

User name of the proxy server false

proxyPassword

Password of the proxy server false

timeout

Connection timeout in milliseconds10005000

retryCount

No of retry attempts if the connection timeout35

 

 

  • No labels