473,698 Members | 2,162 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Oct 6 '08 #1
0 964

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1754
by: marcus | last post by:
Hi <xml>Gurus</xml> :-) I've a scenario where the system configuration is maintained in the server as xml dom tree. clients can change the system config either entirely or in parts. when the client wishes to change it entirely, the new domtree would be sent to server. OTOH, if the client wishes to change only partial config, she would send the subtree xml that needs change. in the following scenario: <system>
6
2957
by: Mark | last post by:
I'm building a web utility to do some processing that will run for several hours. Assume I have a valid reason for using the web for the utility. During the process I'd like to display an update on the job's status while not stopping the process that is running. It does not need to be pretty. I'd be quite happy with a quick Response.Write("Job has finished consuming 300 of 9356 bananas"); or similar. I don't care if the message is...
5
4041
by: Aggelos | last post by:
Hello I am doing sevreral scripts like sending a newsletter that might take a while to finish first to prevent the browser from timing out and to keep the user informed of the process progress I want to use a loader progress bar. I did a plain expanding gif but the problem is that it prevents me at the end from redirecting. Do you have in mind any nice script that might do that? AJAX would be a good solution. Or something that will pop...
6
2924
by: KDCinfo | last post by:
Although I'm making an ajax call, this is really a javascript question (although it could be even more of an HTML or DOM question... not exactly sure) I'm doing an ajax call to a remote php file... it returns a value fine, and even enters a value into a text field on my form. The problem is, right after the function call to the ajax function, I do an alert of what the field value is, and it doesn't recognize the field value has been...
2
2031
by: Ralph | last post by:
Okay I have a website where the user is going to hit a button to kick off a process that is going to take a long amount of time. Is there anyway without using AJAX, or possibly a windows control on a page that connects to a webservice to show the user the progress of this operation. It seems almost a given that I must use either ajax or some kind of control to do this. Any suggestions would be greatly appreciated. Thanks in advance
2
1735
by: it | last post by:
Hello. I want to implement Incremental find of TextBox by ASP.NET AJAX . Could you please teach me how to get it ? Thank you.
2
4811
by: Michael | last post by:
Hi. I need some script that will show progress bar in classic asp. I did not found match example. I found samples with bar only when we need many repeated steps. My function has diferrent time of execution, from 1-2 seconds up to 40-50sec, depend of server speed. Below the place where I thought it should be <% dim path Set myServer = Server.CreateObject("myDLLServer.myReport")
1
3284
by: Mike P | last post by:
I am trying to apply the Update Progress control to a method that is building a zip file and then giving the user the chance to save the file via a popup box. But the Update Progress control doesn't seem to like this. I am getting the error : 'Sys.WebForms.PageRequestManagerParserErrorException. The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to...
1
1453
by: edinwoking | last post by:
Hi I have been struggling to get a toolbar to update its progress information from an event raised ina parallel for loop. I have tried using delegates to get it to work but it just hangs after about the iteration. The code that replicates the problem is below. It s just a windows form with a toolstrip and a toolstripprogressbar with a button to start the test. I am relativly new to multi threading but in all the examples i have...
0
8673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9156
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9021
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4365
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4614
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3043
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2327
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.