Used CURLFile (http://php.net/manual/es/class.curlfile.php) instead "@" for upload files with curl.