how to connect to FTP Server through FTPProxy server ?

0 votes
asked Dec 29, 2014 by ganeshspy (900 points)
edited Dec 30, 2014

how to connect to FTP Server through FTPProxy ?

If some cases if two proxy server are present, like for internet Http Proxy and then on ftp server FTPProxy.

Any suggestion, Thanks in Adv.

Applies to: Rebex FTP/SSL

1 Answer

+1 vote
answered Dec 29, 2014 by Lukas Pokorny (92,430 points)
edited Dec 30, 2014

It's not currently possibly for a single instance of Ftp object to use two proxies like this, but there is a way - use Ftp object to connect to the FTP proxy through HTTP proxy, and instead of calling ordinary Login method, use a combination of Login/SendCommand/ReadResponse methods to instruct the proxy to connect and authenticate to the actual FTP server. For example, you might do something like this once connected to the FTP proxy through HTTP proxy.

commented Dec 30, 2014 by ganeshspy (900 points)
edited Dec 30, 2014

Thanks....

...