title: How to delete laravel delete file after extract?
body: <p>I am using <a href="https://github.com/Chumper/Zipper" rel="nofollow noreferrer">Zipper</a> to extract uploaded zip file and delete the file after extract.
  So I upload and extract like this:</p>
  
  <pre><code>$f = $request['file']-&gt;move(public_path($directory), $fullFileName);
  \Zipper::make($f)-&gt;extractTo(public_path($directory) . $fileName);
  </code></pre>
  
  <p>and it works great. I've tried to delete the file using these ways.</p>
  
  <pre><code>1 - Storage::disk('products')-&gt;delete($fullFileName);
  2 - File::delete(public_path($directory) . $fullFileName);
  3 - $del = unlink(public_path($directory) . $fullFileName);
  </code></pre>
  
  <p>but in all actions get <strong><em>resource temporarily unavailable</em></strong> error.
  I found this error is because of the zipper (simple files and directories works).</p>
  
  <p>so my question is, <strong>How can I delete upload zip file after extract, using a zipper?</strong></p>
  
  <p>Any idea would be great. 
  thanks in advance.</p>