catch ftp error