SHARE
TWEET

Untitled

a guest Jun 25th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $file = $request->file;
  2. $filename = $file->store('files');
  3.      
  4. $file_name = "yPpRejYz5fwhVQ9j67Ns1b5vrSR6CokncZYH4hAa.zip";
  5. return response()->download(storage_path('app/files/' . $file_name));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top