Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

Detecting http upload status

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
Home » Discuss » DU Groups » Computers & Internet » Website, DB, & Software Developers Group Donate to DU
 
DaveJ Donating Member (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.
Refresh | 0 Recommendations Printer Friendly | Permalink | Reply | Top
ManiacJoe Donating Member (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.)
Printer Friendly | Permalink | Reply | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Fri May 03rd 2024, 07:18 PM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » DU Groups » Computers & Internet » Website, DB, & Software Developers Group Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC