473,399 Members | 3,106 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,399 software developers and data experts.

Upload Progress in ASP.NET

I am creating a document manager of sorts in ASP.net and it would be
really nice to have some sort of file upload progress bar for larger
files.

Companies such as www.websupergoo.com and www.softartisans.com have
created file upload tools that show the progress however I'd like to
make something myself. Unfortunately, I'm having a bit of trouble
figuring out how to get the *** final file size *** before the file is
actually uploaded.... (as far as i can figure, you will need this
information to determine how much of the file has been uploaded
already)

I was thinking you could use javascript to get the file details before
the form is submitted, but apparantly there are security issues with
this behaviour and it's not possible.

I think I need a funtamental paradigm shift...

any ideas?

Garett
Nov 18 '05 #1
1 1242
1) softartisan uses an active/x control, so it looks at the file size on
disk.
2) websupergoo, uses the posted content length (if exists) or guesses. it
opens a polling window before the post. the polling window just uses an auto
refresh, that displays the server's the upload current status. hint: use a
upload id, and store the status in a static collection keyed by the id.

-- bruce (sqlwork.com)

"Garett" <ga*****@iqmetrix.com> wrote in message
news:5c**************************@posting.google.c om...
I am creating a document manager of sorts in ASP.net and it would be
really nice to have some sort of file upload progress bar for larger
files.

Companies such as www.websupergoo.com and www.softartisans.com have
created file upload tools that show the progress however I'd like to
make something myself. Unfortunately, I'm having a bit of trouble
figuring out how to get the *** final file size *** before the file is
actually uploaded.... (as far as i can figure, you will need this
information to determine how much of the file has been uploaded
already)

I was thinking you could use javascript to get the file details before
the form is submitted, but apparantly there are security issues with
this behaviour and it's not possible.

I think I need a funtamental paradigm shift...

any ideas?

Garett

Nov 18 '05 #2

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

Similar topics

9
by: Bob Bedford | last post by:
I've a page where the user may enter some values and upload some pictures. Unfortunately, some pictures coming from digital camera are very big, and take a lot of time for uploading. I've...
4
by: Uncle Ben | last post by:
Is there any good and reliable Upload Component for ASP (or ASP.NET)? I need one which provides an upload status bar. As well, it must be able to handle more than 4 gigabytes of data transfer....
3
by: Brian Birtle | last post by:
**** A CHALLENGE TO THE GURUS - refute the statement "It's impossible to build a file upload progress meter using ASP.NET" **** First person to prove me wrong gets "All Time .NET Programming GOD"...
4
by: Pavils Jurjans | last post by:
Hello, I have the following setup: The page that contains the form with file upolad HTML control resides on another server that doesn't have ASP.NET available. It may well be just static...
6
by: Marko Vuksanovic | last post by:
I am trying to implement a file upload progress indicator (doesn't have to be a progress bar) using atlas... I do realize that the indicator cannot be implemented using Update panel control, but is...
1
by: Marko Vuksanovic | last post by:
I used the following code for implementing a file upload progress indicator, using UpdateProgress Panel, though I have a problem that FileUpload.Has File always returns false. Any suggestions what...
5
by: LtCommander | last post by:
Hello all, 1. I am a little new to ASP.NET, so please bear with me. 2. I am trying to create a very simple website which requires an upload box (end user file sizes may be anywhere between 1MB...
3
by: markus.rietzler | last post by:
i want to do (multiple) file upload(s) and display a progress bar. with firefox and safari it is no problem at all. only IE makes some problems. my script is based on ajax-uploader, which can be...
3
by: Ken1 | last post by:
Hello, Does anyone know of an easy to implement ajax upload script for php which also has a progress bar. If possible I'd like it to be able to remove already uploaded files and do minor...
3
by: shapper | last post by:
Hello, I need to upload a file. Can I only do this with the File Upload control? I also need the following: - Send upload info, upload percentage, continuously to a JavaScript function so...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.