I am trying to connect to a server that requires setting the client/local port range. They have detailed instructions on how to configure this for both the CuteFTP and WSFTP clients.
Using the EDT library, the server is denying the data channel connection and sure enough (the local port) it is outside the range specified. (I can see this in Ethereal traces)
I see a read-only FTPConnection.ActivePortRange. But this is read only, and I want to be in PASV mode
I can find a PortRange class, which includes the following remarks: "If the range is set to anything other than the default then ports will be selected sequentially, increasing by one until the higher limit is reached and then wrapping around to the lower limit. "
So, how do I set this?
Any help would be greatly appreciated. Thanks,
James Smyth