F
Filament16mo ago
Ninja++

File Download DNS error?

I am trying to download the files i have uploaded to the public storage folder and saved the path into the database. When i click to download the file it gives me this error.
This site can’t be reachedadditve.testapp’s DNS address could not be found. Diagnosing the problem.
DNS_PROBE_POSSIBLE
This site can’t be reachedadditve.testapp’s DNS address could not be found. Diagnosing the problem.
DNS_PROBE_POSSIBLE
The files are being uploaded to the folder i expect them too
storage/app/public
storage/app/public
filesystem.php``

'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'app/public',
'visibility' => 'public',
'throw' => false,
],
filesystem.php``

'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'app/public',
'visibility' => 'public',
'throw' => false,
],
And the file upload is as follows.
return $form
->schema([
FileUpload::make('printUrl')
->preserveFilenames()
->downloadable()
->label('Print')
->required()
->visibility('public'),
]);
return $form
->schema([
FileUpload::make('printUrl')
->preserveFilenames()
->downloadable()
->label('Print')
->required()
->visibility('public'),
]);
I don't have the best understanding of DNS so i am unsure what is blocking the download, especially because it says it is possible.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server