You need to install packages:
And depending on the file system of the card:
For SMB: luci-app-samba samba4-server