title: Failed to open/read local data from file/application
body: <p>I was trying to run <code>curl</code> command using PowerShell.</p>
  
  <p>below is the <code>curl</code> command </p>
  
  <pre><code>curl --location --request POST "controller/lttrouter/v1/TestResult/process-data-results/" --form "synthesisreport=@"C:\Users\subu\Desktop\testdemo\SynthesisReport.csv";type=text/csv" --form "createdBy=subu" --form "jiraStoryId=LT1235" --form "jiraTaskId=LT1236" --form "tag=demo-test"
  </code></pre>
  
  <p>Above <code>curl</code> is working on the Command Prompt.</p>
  
  <p>I tried below PowerShell code </p>
  
  <pre><code>$CurlExecutable = "C:\curl-7.65.1-win64-mingw\bin\curl.exe"
  $path="C:\Users\subu\Desktop\Test\SynthesisReport.csv"
  
  Write-Host "CurlFile" $CurlFile
  $CurlArguments = '--location','--request', 'POST', 
                   '"controller/lttrouter/v1/TestResult/process-data-results/"',
                   '--form', 'synthesisreport=@$path',
                   '--form', 'createdBy=subu',
                   '--form', 'jiraStoryId=LT1235',
                   '--form', 'jiraTaskId=LT1236',
                   '--form', 'tag=demo-test'
  
  &amp; $CurlExecutable @CurlArguments
  </code></pre>
  
  <p>I am getting below error </p>
  
  <pre>
  curl.exe : curl: (26) Failed to open/read local data from file/application
  At line:13 char:1
  + & $CurlExecutable @CurlArguments
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : NotSpecified: (curl: (26) Fail...ile/application:String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
  </pre>
  
  <p>Where I am doing the mistake, please suggest.</p>