Hi

kawazu wrote:
My question, by now: What else is required to make reachable for FTP
GET? By now, I thought implementing createInputStream(..) should
suffice doing so, and I don't see any other methods in FileObject that
seem reasonable to use.

The RETR command does a few checks before sending you the file:

file.doesExist()
file.isFile()
file.hasReadPermission()

In this case if looks like file.doesExist() might return false?

These has to be implemented or you'll get an error of some kind.

Please note that this is how the current implementation works. We would always assume that all methods are implemented and return the appropriate values.

/niklas

Reply via email to