enable errorMail method
curl upload to ftp