You can make your controller function return a download. So you can make a route like this:
Route::get('/download/{id}', ['uses' => 'DownloadController@getDownload']);
and then a method like this in the DownloadController
function getDownload($id) {
$download = Download::findOrFail($id);
$download->increment('downloads');
return response()->download($download->filePath);
}
You can read more about this here: http://laravel.com/docs/5.1/responses#file-downloads
Yes, Cloudbacko home supports Windows as well it can give backup and helps restoring also. Cloudbacko home software is designed for backing up home Windows and Mac desktops and laptops. It can continuously back up your important files and folders to local and cloud storage whenever there is a change in content.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community