Is it possible to write a servlet which handles FTP request instead of usual HTTP request?, If yes, how can we do this?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Although it says that you can extend
GenericServletto 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.