473,385 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Progressbar Oject code for File Upload HTTPModule ???

Do anyone have the idea how to add progressbar to the existing HTTPModule and HTTPApplication for File Upload.
************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
Nov 18 '05 #1
3 2856
i dont think that would be possible. You wouldnt know when the file is
upload until its done, there is no postback inbetween that i know of.
--
Mark Harris
Head Developer
GameHost CP

On Thu, 19 Aug 2004 23:11:51 -0700, pa**********@rediffmail.com <parthiv
joshi> wrote:
Do anyone have the idea how to add progressbar to the existing
HTTPModule and HTTPApplication for File Upload.
************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...

Nov 18 '05 #2
Just some untested thought...

I think you could use Request.BinaryRead() to retrieve the data, then in the
process, write the "current byte read" to "Request.TotalBytes" to a file.

While the user click the button, call a javascript that will open another
window that will fetch the result from the progress file written on disk.
Call settimeout() to refresh in certain interval. In this way, no
server-side postback request is required.

"Mark Harris" <ma**@gamehostcp.com> ???
news:op**************@mark.network.dvmesh.com ???...
i dont think that would be possible. You wouldnt know when the file is
upload until its done, there is no postback inbetween that i know of.
--
Mark Harris
Head Developer
GameHost CP

On Thu, 19 Aug 2004 23:11:51 -0700, pa**********@rediffmail.com <parthiv
joshi> wrote:
Do anyone have the idea how to add progressbar to the existing
HTTPModule and HTTPApplication for File Upload.
************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...

Nov 18 '05 #3
Here's a component that does it...

http://www.asp.net/ControlGallery/Co...245&tabindex=2
"parthiv joshi" <pa**********@rediffmail.com> wrote in message
news:er**************@TK2MSFTNGP09.phx.gbl...
Do anyone have the idea how to add progressbar to the existing HTTPModule
and HTTPApplication for File Upload.

collection of links to ASP & ASP.NET resources...

Nov 18 '05 #4

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

Similar topics

1
by: | last post by:
Hi all I am posting this to check if anyone could help me. The problem still persists. I am beginner in C#. Thanks. Subject: SQLDMO.Backup and ProgressBar - help please From: ...
8
by: needin4mation | last post by:
Please consider: foreach (ListViewItem item in listViewFiles.Items) { // Display the ProgressBar control. pBar1.Visible = true; // Set Minimum to 1 to represent the first file being copied....
4
by: lawrence | last post by:
Using <INPUT type"file" runat="server"> to upload a file. When the file size is too large I get a "page cannot be display" error. Thats cool I'm down with that. But is there a way to check for...
6
by: tajeshwar | last post by:
Hi, I am using file post control to upload a large file to web server. this file can be very large(5-10 GB). Now what this control do is that it will reject any such request because of ASP.NET...
2
by: Raj Dhrolia | last post by:
Hi, Can anyone suggest me best way to upload large files (>100-500MB) to my ASP.NET web application (IIS 6.0, Win 2K3). The problem we see with conventional method is that the session times out,...
2
by: iavian | last post by:
Hi What is the easiest way to have file upload progressbar with cool AJAX with complete sample code ..
2
by: daokfella | last post by:
With the vast amount of large file upload controls out there, which one do you feel is the best? My site needs to support frequent large file uploads (up to 100Mb). I'd also like to be able to...
3
by: Alessandro | last post by:
Hi, i want to display a custm page if i upload a file with size > MaxRequestLength. I try httpmodule, etc etc but i'm not able to redirect to a default page.
4
by: sivamoorthy | last post by:
how to use a progressbar in a one cpp file but defined in another header file. the function in which i am using is a static member function. how to use the progressbar inside the function ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.