Guest_imported
New member
- Jan 1, 1970
- 0
Recently I made a very simple page that allows a user to upload files to our server via an HTML form. It seems to work fine.
Then I saw a site that used a similar setup, but when the user submitted the form, a progress bar popped up. It continually updated until the upload was finished. I looked at their code for awhile, but I couldn't figure out how they determined the total size of the upload before the upload had finished.
Is there a way to get the size of a file on the user's local HD with Javascript? Or does anyone have a script for this type of thing?
Thanks!
-brendan
Then I saw a site that used a similar setup, but when the user submitted the form, a progress bar popped up. It continually updated until the upload was finished. I looked at their code for awhile, but I couldn't figure out how they determined the total size of the upload before the upload had finished.
Is there a way to get the size of a file on the user's local HD with Javascript? Or does anyone have a script for this type of thing?
Thanks!
-brendan