error handling to ftp handler