Generally you'll need an input of type file, and then either a button or link to call JavaScript and use the Portals Web API to upload it to a Notes record (or alternatively a file field on a specific record)
See the following links (for the last link read the whole post not just the tagged solution)
https://learn.microsoft.com/en-us/power-pages/configure/write-update-delete-operations#prerequisites
WarrenBelz
9
Most Valuable Professional
Michael E. Gernaey
7
Super User 2025 Season 1
Fubar
6
Super User 2025 Season 1