Update Incremental Progress using AJAX

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?VEQgaXMgUFNQ?=

    Update Incremental Progress using AJAX

    I've created a page where the user can browse for a file on his local
    computer and then click an upload button. I'm not using FileUpload. When
    the user clicks on the upload button my program uses FTP to upload the file
    to the server within the server's ftp site. Since these files are typically
    quite large I would like to provide my users with some feedback that shows
    things like the the number of total bytes and the number of bytes completed
    so far. The ftp code itself loops through 2K bytes at a time. So each time
    it uploads 2K I'd like to update the page. Of course I don't want to update
    the whole page one part of the page.

    I've tried it with timers, and javascript using setTimeout but I just can't
    seem to get it to work.

    Thanks
Working...