adding correct ftp functionality. only downloading files works at this point