I am working on one project in which I have laravel application hosted on Server 1 and backups are stored on Server 2. I tried the following response technique but it is giving me FileNotFoundException
.
return response()->download('http://SERVER_2_IP/1w2e3r4t5t.tar.gz');
I tried finding a solution online but failed! Here is the error I am getting.
(1/1) FileNotFoundException
The file "http://SERVER_2_IP/1w2e3r4t5t.tar.gz" does not exist
I think it is looking for the file in the server on which laravel application is hosted.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2v574Ra
via IFTTT
Aucun commentaire:
Enregistrer un commentaire