This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Configuring File Inbound Protocol for FTP, SFTP and FILE Connections
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 |
---|---|---|---|
| IP Address of the proxy server | 127.0.0.1 | false |
| Running port of the proxy server | 1328 | false |
| User name of the proxy server | Â | false |
| Password of the proxy server | Â | false |
| Connection timeout in milliseconds | 1000 | 5000 |
| No of retry attempts if the connection timeout | 3 | 5 |
Â
Â