开发者

Is it possible to Handle ftp request using servlet?

开发者 https://www.devze.com 2023-04-07 21:22 出处:网络
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 pr

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

精彩评论

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