473,508 Members | 2,805 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can I do Multipl File Uploads?

The user would like a form with a Browse button to select "Multiple" Files
(e.g. Ctrl-click) and then upload all of these files to a web server. I've
only seen this with Multiple Textbox/Browse buttons. Can this be done with
only one browse button?

Paul
Nov 19 '05 #1
4 921
no.
"Paul D. Fox" <pd*****@rcn.com> wrote in message
news:eK**************@TK2MSFTNGP12.phx.gbl...
The user would like a form with a Browse button to select "Multiple" Files
(e.g. Ctrl-click) and then upload all of these files to a web server.
I've only seen this with Multiple Textbox/Browse buttons. Can this be
done with only one browse button?

Paul

Nov 19 '05 #2
One way to accomplish this is to put multiple input boxes on the same form.
Let the user browse once for each file. Once all are selected, the user
selects Submit and all files are sent to the server. This can create a VERY
big Request hitting your server depending on file size. You may need to
increase the metabase setting for the max request size. However, know that
increasing it also opens the possibility that someone will abuse this and
create a DOS situation by clobbering server resources.

"Paul D. Fox" wrote:
The user would like a form with a Browse button to select "Multiple" Files
(e.g. Ctrl-click) and then upload all of these files to a web server. I've
only seen this with Multiple Textbox/Browse buttons. Can this be done with
only one browse button?

Paul

Nov 19 '05 #3
Sure, if you write or use an ActiveX control or Java Applet that can do
this. The browser cannot.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Paul D. Fox" <pd*****@rcn.com> wrote in message
news:eK**************@TK2MSFTNGP12.phx.gbl...
The user would like a form with a Browse button to select "Multiple" Files
(e.g. Ctrl-click) and then upload all of these files to a web server.
I've only seen this with Multiple Textbox/Browse buttons. Can this be
done with only one browse button?

Paul

Nov 19 '05 #4
The standard File control allows only one file to be specified for upload.
If you need to upload 2 files, then the simplest solution is to have 2 File
controls on the page.
There are fancier options, but they generally require thick clients. Here
are some 3rd party options that may help you out:
http://fileup.softartisans.com/fileup-231.aspx
http://fileup.softartisans.com/fileup-131.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Paul D. Fox" <pd*****@rcn.com> wrote in message
news:eK**************@TK2MSFTNGP12.phx.gbl...
The user would like a form with a Browse button to select "Multiple" Files
(e.g. Ctrl-click) and then upload all of these files to a web server.
I've only seen this with Multiple Textbox/Browse buttons. Can this be
done with only one browse button?

Paul

Nov 19 '05 #5

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

Similar topics

3
3549
by: kafooey | last post by:
Hi all, I've been digging around on the newsgroups and the web for a possible answer for this problem, but have so far come up with nothing so thought I would ask here... I have the following...
13
4281
by: Sky Sigal | last post by:
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in config.xml. My question is the following: assuming...
5
2067
by: Kikoz | last post by:
Hi all. I assume that if the user uploads a file from aspx page IIS will put all future requests to the same page from other users in a line and all of them will be waiting until this upload...
4
5156
by: yehaimanish | last post by:
I am developing the project management system. Each Project: 1. Title, description ... , stored in mysql database 2. Upto ten files (initial description), (name in db, file in file system) 3....
4
3483
by: mcrose | last post by:
I've written theh standard applicaiton for our client to allow indexed (customer name, subject etc) file uploads via secure http using the <input type='file'http element. This works great, and has...
3
19828
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...
6
2197
by: Emmanuel Petit | last post by:
First of all I am rather new into PHP. I use php 5 and I am putting together a web site for a local association I belong too. Most of the site is okay, except for this problem : I need to be...
6
2699
by: Milan Krejci | last post by:
while(list($key,$value) = each($_FILES)) { if(!empty($value)){ $filename = $value; $add = "upimg/$filename"; echo $_FILES; $error=copy($_FILES, $add); if (!$error)...
10
1468
by: =?ISO-8859-1?B?UOlw6g==?= | last post by:
Hello. Im new to php and i had experience in ASP. IM trying to get a pdf file from a remote folder and what happens is that opens a new page. Here is the code: <a...
0
7229
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
7129
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
7398
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4716
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3208
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1566
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
428
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.