reworked ftp wrapper class