asynchronous file upload

G

Guest

Hi,

I want to write an asynchronous file uploader control so that I can display
a progress bar as the file uploads.

The problem I having is that .net waits for the upload stream to finish
before passing the request onto the page or IHTTPHandler.

Does anyone know how to do this. (I've seen controls that do this so it must
be possible.)
 
C

Cowboy \(Gregory A. Beamer\)

Most of the upload controls do one of two things:

1. Estimate and fake it. These look like they are keeping you up to date,
but it is a fake.
2. Are actual applications on the client side, like ActiveX controls or Java
applets.

You could, potentially, create a counter using Ajax and continuously pinging
the server, but the norm is an embedded control of some sort.
 
G

Guest

Cowboy (Gregory A. Beamer) said:
Most of the upload controls do one of two things:

1. Estimate and fake it. These look like they are keeping you up to date,
but it is a fake.
2. Are actual applications on the client side, like ActiveX controls or Java
applets.

You could, potentially, create a counter using Ajax and continuously pinging
the server, but the norm is an embedded control of some sort.
Because the IHTTPHandler or page request doesn't get called before all the
data has uploaded it's impossible to put anything on the server site to
monitor the upload and report the sttus back (appart from complete and I can
do that in a standard asp.net page anyway).

There are a number of pure .net controls out their that somehow intercept
the data between IIS and IHTTPHandler
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,152
Members
46,697
Latest member
AugustNabo

Latest Threads

Top