>Hello All,
>
>I am using FTP to exchange data between multiple sites via a private IP host. When instructed to connect to the IP host, the FTP control automatically initiates an internet session if one is not already in progress, otherwise it uses the active session. How it makes that determination and does it is hidden.
>
It depends on the FTP control you are using. If the control exposes the IPHandle via a property or allows you to override the method that initiates the connection, then you can use API calls to check properties of the handle, and or instruct the control to use a handle that you acquired with the proper credentials. Coding for this can be quite a hassle, because there are lots of contingencies- you may have to know the address and port of the proxy server, a firewall username and password, the type and mode of proxy, etc, and program all of that into your handle acquistion.
Your best bet is to find an FTP control that has built in support for all this stuff.
Erik Moore
Clientelligence