HTML Form doesn’t upload the file?

You had the <input type=”file” /> in place, however it just doesn’t seem to be uploading at all at the client side. After choosing a rather big file, the form submission and page reload finish in seconds, what’s wrong?

Well, it’s almost certain that you have forgotten something. Try adding property enctype to <form>:

<form enctype="multipart/form-data" method="post"> ... </form>

Should be working now. Try it again!

Scroll to Top