473,382 Members | 1,563 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,382 software developers and data experts.

Uploading Mulitiple Files with HTMLInputFile Control

I am using ASP.Net with C# as the code behind and am trying to upload
multiple files with the HTMLInputFile Control. I am able to browse, select
a file, and finally upload, but only one file at a time. Is there a way to
select multiple files to upload at one time using this control, or possibly
another control?? Any ideas on this would be greatly appreciated!!

Thank a lot!

Corey
Nov 19 '05 #1
4 5410
Corey,

HTMLInputFile will do only one at the time. Either shop for an ActiveX, or
try to find work-arounds. Here is one

http://www.codeproject.com/aspnet/multiuploads.asp

Eliyahu

"Corey Erkes" <ce****@cox.net> wrote in message
news:4a***********@dfw-service2.ext.ray.com...
I am using ASP.Net with C# as the code behind and am trying to upload
multiple files with the HTMLInputFile Control. I am able to browse, select a file, and finally upload, but only one file at a time. Is there a way to select multiple files to upload at one time using this control, or possibly another control?? Any ideas on this would be greatly appreciated!!

Thank a lot!

Corey

Nov 19 '05 #2
Hi Corey,
The HTMLInputfile control allows uploading only one file at a time.. if you
want to upload multiple files at a time then you can
1) have multiple HTMLInputFile controls on a page and save the files
selected in each control on to the server
2) develop your own activex which can handles multiple file select and upload
3) go for any readily available third party controls
--
The best
srini
http://www.expertszone.com
"Corey Erkes" wrote:
I am using ASP.Net with C# as the code behind and am trying to upload
multiple files with the HTMLInputFile Control. I am able to browse, select
a file, and finally upload, but only one file at a time. Is there a way to
select multiple files to upload at one time using this control, or possibly
another control?? Any ideas on this would be greatly appreciated!!

Thank a lot!

Corey

Nov 19 '05 #3
Eliyahu,

Thanks for the URL, that is exactly what I was looking for!

Much Appreciated,

Corey

"Eliyahu Goldin" <re*************@monarchmed.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Corey,

HTMLInputFile will do only one at the time. Either shop for an ActiveX, or
try to find work-arounds. Here is one

http://www.codeproject.com/aspnet/multiuploads.asp

Eliyahu

"Corey Erkes" <ce****@cox.net> wrote in message
news:4a***********@dfw-service2.ext.ray.com...
I am using ASP.Net with C# as the code behind and am trying to upload
multiple files with the HTMLInputFile Control. I am able to browse,

select
a file, and finally upload, but only one file at a time. Is there a way

to
select multiple files to upload at one time using this control, or

possibly
another control?? Any ideas on this would be greatly appreciated!!

Thank a lot!

Corey


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
"Corey Erkes" <ce****@cox.net> wrote in message
news:4a***********@dfw-service2.ext.ray.com...
I am using ASP.Net with C# as the code behind and am trying to upload
multiple files with the HTMLInputFile Control. I am able to browse,
select
a file, and finally upload, but only one file at a time. Is there a way
to
select multiple files to upload at one time using this control, or
possibly
another control?? Any ideas on this would be greatly appreciated!!

Thank a lot!

Corey

Nov 19 '05 #5

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

Similar topics

3
by: Brian Pittman | last post by:
Hi, I was wondering how to go about creating a wrapper function for uploading files to the server? I have made an attempt on my own without success. I don't get any exceptions from the...
3
by: Dave Adler | last post by:
Is there any way to retain the value of an HtmlInputFile control through a postback? I do some server side validation on the page when it is submitted and if an error occurs on the page the...
13
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
by: Grant Harmeyer | last post by:
I have an application that uses FreeTextBox 2.0 (http://www.freetextbox.com). FreeTextBox is a rich text editor that behaves similarly to MS Word. The FreeTextBox control has a button to insert...
1
by: David | last post by:
Hello. I can't upload large file with HtmlInputFile control:( Is there any file size limitation in HtmlInputFile control? If yes how can I upload to server large size file? Than you.
4
by: Charles A. Lackman | last post by:
Hello, I have a web site that allow visitors to upload files to my server using HTMLInputFile. Is there a way to make a file dialogbox appear during the upload like the one that appears when...
7
by: chuckdfoster | last post by:
I am developing an ASP.NET site where an site administrator can upload files via ASP.NET into a Documents folder. These documents are then viewed by site users. I used the MS KB article...
2
by: Zoliq | last post by:
Hi, I have a serious problem. I'm currently developing an application in which the user should upload many files (600-700 xml files). I've searched the web for a while and so far I realized that...
1
by: Gabriel Pineda | last post by:
hi, i'm having a problem that is driving me nut! i have an asp.net application runnning in a server. the application allows to uploading files. from my computer i can upload files without any...
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: 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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.