A bit of refacotring on the FtpClient