title: Laravel 5.2 File Upload
body: <p>When I try and upload a file as follows:</p>
  
  <pre><code>$name = $img-&gt;getClientOriginalName();
  $fullPath = Product::getUploadPath(); // Returns public_path(); with custom directory appended
  $uploaded = $img-&gt;move($fullPath, $name);
  </code></pre>
  
  <p>I get the below error:</p>
  
  <pre><code>Could not move the file
  "/private/var/folders/1l/fxl7spqj2p113fpffm3k0sy00000gn/T/phpIgpWGy" to 
  "/dir/subdir/subsubdir/subsubdir/public/backend/images/products/pic.jpg" ()
  </code></pre>
  
  <p>For interestsake, I built the entire resolve path for the image, and passed that as an argument to the <code>move()</code> method. Memory served that it has worked previously.</p>
  
  <pre><code>$uploaded = $img-&gt;move($fullPath.'/'.$name);
  </code></pre>
  
  <p>No exceptions are thrown, however, the uploaded file, now becomes a directory:</p>
  
  <pre><code>"/dir/subdir/subsubdir/subsubdir/public/backend/images/products/pic.jpg/"
  </code></pre>
  
  <p>I'm very close to driving my fist through my screen.</p>