DaveJ
(1000+ posts)
Send PM |
Profile |
Ignore
|
Sat May-08-10 12:53 PM
Original message |
Detecting http upload status |
|
I created a picture upload tool that is a little different than all the samples, so I need to better understand how the upload status is determined when uploading using the file input field in html, javascript? I have a progress bar that will update with javascript, but it did not come with the code for reading the status of a file upload. Can that also be done just on the client side with javascript? (On the server side I'm using c#) I'm guessing it's a matter on putting a js function on the click event of the upload button that checks progress every half second or so, and that after it's done uploading the page will go to the server side function where the file is saved, but I can't find any straightforward samples I can understand.
|
ManiacJoe
(1000+ posts)
Send PM |
Profile |
Ignore
|
Wed Jul-28-10 12:04 AM
Response to Original message |
1. You might be over-thinking this. |
|
On the client side, you should know how big the files is and how much you are sending per piece in the upload loop. (Or I am not fully understanding what you are saying.)
|
DU
AdBot (1000+ posts) |
Fri May 03rd 2024, 07:18 PM
Response to Original message |