Essentially, the html you are looking for is <input type=“file”>, but there’s quite a lot more to it (encoding, method, file id…), some also depends on what server software you are using (paths, protection flags, ownership). So… read the documentation for your web server and consult yourself with html specifications from W3C -
https://www.w3.org/wiki/HTML/Elements/input/file