Issue
I have built a server application with netty that now needs to act as a ftp server as well. Basically I just need to support authentication/login and file upload via ftp.
Unfortunately there seems to be no pure java implementation of ftp so I could simply write my own decoder/encoder/handler set. Apache MINA provides a complete ftp server, but how could I do it simple and easy with netty?
I already integrated jetty for web service support, but I can't find ftp support for jetty neither.
It would be marvelous to get some hints. I think I checked out all google hits on "java ftp" but they just seem to provide ftp client stuff.
Best regards, Martin
Solution
If it's Netty you're interested in, I found an open source FTP server based on it: https://github.com/waarp/WaarpFtp
Maybe you could reuse some parts of the project? I guess this source file might be the most interesting to you: https://github.com/waarp/WaarpFtp/blob/master/src/main/java/org/waarp/ftp/core/control/NetworkHandler.java
Answered By - Ivan Koblik Answer Checked By - Gilberto Lyons (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.