Fix stupid bug in permissions calculation...
FtpAgent: remove .getStatus()

Useless...
FtpAgent: extract interface...

Otherwise it's too hard to test, since .close() is final.