title: Using ftp_get() when there are "spaces" in the file path and filename
body: <p>I need to download a file via PHP <a href="http://php.net/ftp_get" rel="nofollow"><code>ftp_get()</code></a>, but the foolish provider is using directories and file names contaning whitespace.. The file path I'm dealing with is similar to <code>/product info/more stuff/inventory and stuff.csv</code></p>
  
  <p>The spaces in the path and in the filename itself is making it difficult to retrieve anything. I already tried the following without success:</p>
  
  <ol>
  <li><p><code>$path = "/product\ info/more\ stuff/inventory\ and\ stuff.csv";</code></p></li>
  <li><p><code>$path = "/product%20info/more%20stuff/inventory%20and%20stuff.csv";</code></p></li>
  <li><p><code>$path = '"/product info/more stuff/inventory and stuff.csv"';</code></p></li>
  </ol>
  
  <p>Thanks again for taking the time to help me out.</p>