on-internet
← Community

How do I prompt for a file without uploading it in HTML

Stack Overflow ·

I have some legacy HTML code (actually created by a Python script) that I am maintaining that prompts the user to enter various fields in a table. Then, upon Submit, those fields are written to a MongoDB database. One of the fields is a file name. The file name entry field uses an input type="file". When the data (file name) is pulled from the form, the file starts uploading. I don't need the file, just the file name. Some of the files selected are many gigabytes long and with a slow server connection, cause the page to hang for several minutes until finished. How do I prompt for a file withou

Comments

Sign in or sign up to comment and upvote.

No comments yet.