© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
edwardwestbury

FileUpload: Define custom url for getting uploaded files

In V2 there was a
getUploadedFileUrlUsing()
getUploadedFileUrlUsing()
function within BaseFileUpload.php that seems to be missing in V3. I see the method
getUploadedFileUsing()
getUploadedFileUsing()
exists in V3 but I'm struggling to get it working by simply returning the URL like I could in V2.

For context: These files are stored on custom disk on the local filesystem, but as they contain sensitive information I access them with a defined route which checks if the user is logged in and has valid permission. I'd like to be able to use this route, like I could in V2 with the getUploadedFileUrlUsing function.

Any suggestions are much appreciated!
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Tag files uploaded to S3 via FileUpload
FilamentFFilament / ❓┊help
2y ago
FileUpload bug - Some files a are missing after uploaded.
FilamentFFilament / ❓┊help
2y ago
Custom preview for FileUpload
FilamentFFilament / ❓┊help
2y ago