title: How to move a file located outside the public folder?
body: <p>I am right now trying to figure out how I can move a file that got temporarily stored in storage/app/chunks to a public folder in order to save it there permanently.</p>
  
  <p>I have tried</p>
  
  <pre><code>$chunk_file_path = "/storage/app/chunks/The Simpsons Movie - 1080p Trailer.mp4-YMtmuO4cEG4ejK6knZOEzZCxVie0NwDgdFqggThG-147399359.part";
  $chunk_move_path = "uploads/The Simpsons Movie - 1080p Trailer.mp4-YMtmuO4cEG4ejK6knZOEzZCxVie0NwDgdFqggThG-147399359.part";
  Storage::move($chunk_file_path, $chunk_move_path);
  </code></pre>
  
  <p>The problem I encounter is </p>
  
  <p><code>FileNotFoundException in Filesystem.php line 385:
  File not found at path: storage/app/chunks/The Simpsons Movie - 1080p Trailer.mp4-YMtmuO4cEG4ejK6knZOEzZCxVie0NwDgdFqggThG-147399359.part</code></p>
  
  <p>The file does exist, but it seems like root folder is automatically the public folder of the Laravel installation. So it is looking in <code>public/storage/app/chunks/The Simpsons Movie - 1080p Trailer.mp4-YMtmuO4cEG4ejK6knZOEzZCxVie0NwDgdFqggThG-147399359.part</code> and can't find it obviously, because it is not in the public folder hierarchy.</p>
  
  <p>Any help is highly appreciated.</p>