File upload issue on window.

File upload issue on window.

Hello zoho-team,
                            Please help me.. I want to upload XLS.csv file on zoho through curl in php but I am getting error. I am a novice in this field. so Please tell me where i am wrong.
       On linux code is working fine but on window it's not working and showing the error :-( .Sorry for my bad english.

---------------------------------------FILE  TEST.csv---------------------------------------------------
TEST.csv contains:
Service Provider,Date & Time,Title
aircel,19-Mar-2013 05:04:15,ajay


---------------------------------------------------CODE START -------------------------------------------------
$CSVFileName="TEST.csv";
$target_url = 'https://reportsapi.zoho.com/api/ajayjain1234/testingDB/XLS?ZOHO_ACTION=IMPORT&ZOHO_API_KEY=1d8f074e38eddbbb64d88055358a8339&ZOHO_API_VERSION=1.0&ticket=d3c30b98d069f357e6a30626b7dd2b50&ZOHO_OUTPUT_FORMAT=XML';

         $file_name_with_full_path = realpath($CSVFileName);
       
        $file=$file_name_with_full_path;
        /* curl will accept an array here too.
         * Many examples I found showed a url-encoded string instead.
        * Take note that the 'key' in the array will be the key that shows up in the
        * $_FILES array of the accept script. and the at sign '@' is required before the
        * file name.
        */
        $post = array("ZOHO_FILE"=>$file,"ZOHO_MATCHING_COLUMNS"=>"Service Provider,Title", "ZOHO_IMPORT_TYPE"=>"IMPORT","ZOHO_AUTO_IDENTIFY"=>"true","ZOHO_CREATE_TABLE"=>"false","ZOHO_ON_IMPORT_ERROR"=>"ABORT","submit"=>"Upload");

        $ch=curl_init();
               curl_setopt($ch, CURLOPT_URL,$target_url);
               curl_setopt($ch, CURLOPT_POST,1);
               curl_setopt($ch, CURLOPT_PUT,1);
               curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
              curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,false);
             curl_setopt($ch, CURLOPT_HEADER, 0);

echo "<pre>";
print_r(curl_getinfo($ch));
print_r($post);
               $result=curl_exec($ch);
if (!curl_exec($ch))
echo "Error: ".curl_error($ch);
else
echo "Success";      
             curl_close ($ch);
     
------------------------------------------------------------------ERROR -----------------------------------------------------------
Getting Error:
<?xml version="1.0" encoding="UTF-8"?>
<response uri="/api/ajayjain1234/testingDB/XLS" action="IMPORT">
<error>
<code>7248</code>
<message>The file content is not &quot;multipart/form-data&quot; format.</message>
</error>
</response>