开发者

Looking for FTP Server Java library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is no开发者_如何转开发t currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

Improve this question

I'm looking for Java FTP Server library, which lets to replace DAL with lets say a DB data. So far, i saw that in Apache FtpServer there is an option to intercept some of the commands using FTPLet container, however it is missing the most important command such as LIST.


In Apache FtpServer you can intercept any command with an Ftplet, including LIST. Implement the Ftplet interface and override the beforeCommand or afterCommand (depending on if you want to handle the request or the response). Those methods will be called for every command sent to the server.

But, from your question, you might instead be interested in instead implementing a custom file system. Look at the FileSystemFactory, FileSystemView and FtpFile interfaces.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜