Support the ongoing development of Laravel.io →
posted 5 years ago
Requests

Hey guys I want to download videos from external links I have a field in database and this is video link. I wrote :

				return response()->download(url()->to($video->path));

but it gives me this error: Download File ERROR = userId = 5 , Video Id = 5 Course id = 1 MESSAGE = The file http://mydomain.com/video_link" does not exist while when I wrote this link in addressbar in browser it shows video correctly to me. what is this error>

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.