title: curl with empty space url
body: <p>there is a file, its name contain empty space.
  ex) hello I am good.zip</p>
  
  <p>I am trying to read the file using curl.</p>
  
  <p>so, the url should be like this:</p>
  
  <pre><code>http://domain.com/hello I am good.zip
  </code></pre>
  
  <p>but, curl can not seems to read that kind of file names.
  because url is not right format. </p>
  
  <p>So, Is there another way to read the file using curl?
  Or some options that I didn't know?</p>
  
  <p>server lang is php.
  and my curl code is below:</p>
  
  <pre><code>$ch = curl_init();
  $timeout = 5;
  curl_setopt($ch,CURLOPT_URL,$url);
  curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
  curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);
  $data = curl_exec($ch);
  curl_close($ch);
  return $data;
  </code></pre>