title: Lumen file upload
body: <p>I have the following code for the file upload :</p>
  
  <pre><code>$picName = $request-&gt;file('cnicFrontUrl')-&gt;getClientOriginalName();
  $picName = Carbon::now() . $picName;
  $destinationPath = '/uploads/user_files/cnic';
  $request-&gt;file('cnicFrontUrl')-&gt;move($destinationPath, $picName);
  </code></pre>
  
  <p>In my public folder i have <code>uploads/user_files/cnic</code>.</p>
  
  <p>The exception i receives :</p>
  
  <pre><code>{
    "message": "Could not move the file \"D:\\xampp\\tmp\\php2D1C.tmp\" to \"uploads/user_files/cnic\\2017-05-22 09:06:15cars.png\" ()",
    "status_code": 500
  }
  </code></pre>
  
  <p><strong>Whats missing here ?</strong></p>