开发者

Is it possible to Handle ftp request using servlet?

Is it possible to write a servlet which handles FTP request instead of usual HTTP开发者_如何学C request?, If yes, how can we do this?


Although it says that you can extend GenericServlet to use other protocols than HTTP - you can't. There's no implementation that handles the networking, especially since FTP is a statefull protocol.

I would suggest implementing something like the Apache Mina Ftp Server (http://mina.apache.org/ftpserver-project/) to handle that for you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜