add throw Exception in process
refactor ftp process