Remove unused macros
Changed ftpfeatures to use new macros
ftp_contents_of_directory rewrite