file controller for ftp download