Trading Networks 10.7 | Administering and Monitoring B2B Transactions | Managing File Transfers with ActiveTransfer | Configuring webMethods ActiveTransfer | Configuring and Managing Acceleration | Using Acceleration | Accelerating File Transfers Using the ActiveTunnel.jar File
 
Accelerating File Transfers Using the ActiveTunnel.jar File
Use this method if you are using the FTP protocol for accelerated file transfers.
You can integrate the ActiveTunnel process into an existing workflow using a standalone machine that acts as the tunnel provider using the ActiveTunnel.jar file. You can download this jar file from the WebInterface folder of ActiveTransfer Server using the following URL:
http://host:port/WebInterface/ActiveTunnel.jar
For example:
java -cp ActiveTunnel.jar com.softwareag.mft.tunnel2.Tunnel2 protocol=https
host=localhost port=443 username=sag password=sag
Where:
*protocol is the either HTTP or HTTPS.
*host is the host (local or remote) to which to connect.
*port is the port to use to connect to the host.
*username is the user name to log on to the host.
*password is the user name to log on to the host.
The command starts the tunnel and defines it as a server that can handle both FTP and HTTP requests. The tunnel then passes the request to ActiveTransfer Server or ActiveTransfer Gateway.
You can also start a tunnel programmatically through your own code by including the ActiveTunnel.jar file in the code.