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.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************************************************
Think outside of the box!
*************************************************
 
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

Similar Threads

File Upload 3
File Upload Folder Permissions 5
File upload - receive side only 4
File Upload control 5
Multiple File upload 8
Best File Upload Control (httpModule) 2
Ajax File Uploader 7
Http file upload 3

Top