PedroFumero's avatar

How can I get access to uploaded file?

Hello, excuse me, I've uploaded few files to my project, this files are uploaded to: storage/app/public/ folder, I've used this method to do this:

'voucher' => $request->file('voucher')->store('public')

But, how can recover the link file to serve to the user?

I'm trying with: <a href="/{{str_replace('public','storage',$item->voucher)}}">Link</a>

But isn't work, someone can explain me how can I do this please?

0 likes
2 replies

Please or to participate in this conversation.