apache - FTP client connection to HTTP server -
i have implemented apache mina server connect local ftp client i.e. command prompt, working fine. want send ftp request i.e. ftp commands http proxy server (apache http server) http request farther connect ftp server.
i have used apache mutual net ftphttp client class don't know how implement whole logic. link or illustration helpful.
my code follow:s
ftpclient ftpclient = new ftphttpclient("httpproxy",int port); //connecting apache http server boolean status = ftpclient.isconnected //this returning me false ftpclient.connect("ftpserver",int port); //connecting ftp server ftpclient.login("userid","userpassword"); //login ftp server status = ftpclient.isconnected //this returning me true
is connection is http connection i.e. http tunneling via connect http method ? exact requirement :- ftp client <---> ftp local server <----> http server <---> ftp server
apache ftp ftp-client tunneling
No comments:
Post a Comment