Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

iamDiscovery's avatar

No file extension when using VaporFile

Hey all,

Currently using VaporFile in Nova as to save directly to S3 and support larger files. However, it doesn't seem to be saving a file extension of whatever is uploaded. Wondered if anyone's able to shed any light on the issue? Thanks.

VaporFile::make('Attachment', 'attachment')
    ->path('/announcements')
    ->acceptedTypes('.mp4,.mov,.png,.jpg'),
0 likes
0 replies

Please or to participate in this conversation.