Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.4k views
in Java FTP by
Can i bind to an address before the FTPClient connects?

3 Answers

0 votes
by (162k points)
Can you elaborate?

Can i bind to an address before the FTPClient connects?
0 votes
by
I'm trying to ftp(using your api in my java code) from my solaris box on to another server. My solaris box has been configured with a sub-interface from which I can reach the other target server(due to firewall and routing issues i can only reach the target server via this sub-interface address).What I need to do is to bind to that sub-interface before connecting to the target server so the target server thinks my ftp application is being run from the sub-interface address. Does this make sense?
0 votes
by
i might have answered my own question. i found an api call "setActivePortIPAddress" in the FTPControlSocket class which I think I can use. I will let you know how that works out

Categories

...