File Uploading in ASP .NET

G

Guest

H

I was wondering... how can I get the status of a file upload? I mean how much has been uploaded and how much is left

I am using ASP .NET

Any idea will be highly appreciated coz I am desperately looking for light... as they say :

Have a Good Day
eff_kay
 
J

Jon Davis

Since the server doesn't automatically know how big the file is, only the
client can figure this out. And that can only be determined by the user
looking at the status bar on the bottom of his web browser window. There is
no API for obtaining this reference unless it is exposed in the Internet
Explorer WebBrowser control.

Jon


eff_kay said:
Hi

I was wondering... how can I get the status of a file upload? I mean how
much has been uploaded and how much is left.
 
P

Peter Rilling

In addition, you may not even be able to execute any code while the file is
being uploaded.

I do not believe that ASP.NET is dispatched until the post has completed,
and therefore any server-side script would not be able to process upload
status information, even if it was possible.
 
G

Guest

But there are few vendors who are selling such kind of control which provides progress bar for uploading

Any idea how they have implemented this?
 

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,997
Messages
2,570,241
Members
46,833
Latest member
BettyeMacf

Latest Threads

Top