Not able to download the files in S3

I’m able to upload files with the path files/id/name.pdf but can’t download them
No description
No description
12 Replies
Carrilho
CarrilhoOP4d ago
I’ve sended the wrong FileUpload
No description
Dennis Koch
Dennis Koch3d ago
but can’t download them
What's the issue? Any errors? Did you check the DevTools console?
Carrilho
CarrilhoOP3d ago
When i try to download the file, i get 403
No description
Carrilho
CarrilhoOP3d ago
Do you have any plugin sugestions to debug this case?
Dennis Koch
Dennis Koch3d ago
That doesn’t look like an S3 link at all I suspect your UploadHelper
Carrilho
CarrilhoOP3d ago
i believe i have some miss configuration from the filesystems.php or in the resource
Dennis Koch
Dennis Koch3d ago
No idea what provider you use, but that config doesn’t look similar to what I have seen.
Carrilho
CarrilhoOP3d ago
i just separated the logic from the resource, to set the $path $path = "anexos/{$companyId}/{$record->proposalid}{$record->proposal_review}";
Dennis Koch
Dennis Koch3d ago
What’s your S3 storage provider?
Carrilho
CarrilhoOP3d ago
yeah i believe you, it's my first time using S3 oracle-cloud i'm using S3 fuse, that creates a link between a folder in my server and the bucket on oracle
Dennis Koch
Dennis Koch3d ago
Sounds like that could be an issue.
Carrilho
CarrilhoOP3d ago
So, i gave up using S3 Fuse, it turns out to be more complicated

Did you find this page helpful?