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

Handling multiple file uploads on one 'page'

My understanding is that using the FILE form element to allow a file upload
is limited to one unique file per page. Is that correct?

Any thoughts on how best to design an interface to allow multiple uploads?

I have a database record that will link from 2 to 4 files that have been
uploaded.

When entering a new record, I'd like for them to be able to upload the files
as well. For now, My thinking is that I'd wrap each upload field in a panel.
They'd upload the first document, postback, add the data to the DB, and then
show the second panel. Sort of a 'wizard' interface.

Any other suggestions on how best to do this?

-Darrel
Nov 19 '05 #1
3 1377
You are correct that the standard File control allows only one file to be
specified for upload.
If you need to upload 2 to 4 files, then the simplest solution is to have 2
to 4 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

More info:
http://steveorr.net/articles/EasyUploads.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"darrel" <no*****@hotmail.com> wrote in message
news:eo**************@tk2msftngp13.phx.gbl...
My understanding is that using the FILE form element to allow a file
upload
is limited to one unique file per page. Is that correct?

Any thoughts on how best to design an interface to allow multiple uploads?

I have a database record that will link from 2 to 4 files that have been
uploaded.

When entering a new record, I'd like for them to be able to upload the
files
as well. For now, My thinking is that I'd wrap each upload field in a
panel.
They'd upload the first document, postback, add the data to the DB, and
then
show the second panel. Sort of a 'wizard' interface.

Any other suggestions on how best to do this?

-Darrel

Nov 19 '05 #2
Darrel:
As far as I know, you can have any number of FILE form elements on the
page..give it a try :)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"darrel" <no*****@hotmail.com> wrote in message
news:eo**************@tk2msftngp13.phx.gbl...
My understanding is that using the FILE form element to allow a file upload is limited to one unique file per page. Is that correct?

Any thoughts on how best to design an interface to allow multiple uploads?

I have a database record that will link from 2 to 4 files that have been
uploaded.

When entering a new record, I'd like for them to be able to upload the files as well. For now, My thinking is that I'd wrap each upload field in a panel. They'd upload the first document, postback, add the data to the DB, and then show the second panel. Sort of a 'wizard' interface.

Any other suggestions on how best to do this?

-Darrel

Nov 19 '05 #3
> As far as I know, you can have any number of FILE form elements on the
page..give it a try :)


Oh. Duh. Yea, you might be right. I was thinking one file per page but
really should have been thinking one file per FILE form element. ;o)

-Darrel
Nov 19 '05 #4

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

Similar topics

10
by: 3A Web Hosting | last post by:
Hi Is it possible to perform multiple file uploads via a form? It's no problem uploading single files but I want to be able to highlight a group of files and upload them all in one go. My...
14
by: Al Smith | last post by:
I need help in implementing proper error handling. I am trying to upload a file based on the sample code below. The code works well except if the file selected is too big. I do know about the...
5
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
by: Steven | last post by:
I have a situation where I need to upload more than one file from a client to the server, I am having problems finding any examples of how I can ahhieve my goal. My Requirements are: 1, There...
4
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....
8
by: mpar612 | last post by:
Hello, I am a newbie to PHP, MySQL. I am trying to create a basic file upload form. I want to get that working and then I want to integrate that into a form that will rename the file and save...
0
by: leen | last post by:
hola.. i need a help...this is my coding for uploading multiple files...the problem is..i want the files that i have been upload will show in the same page but using only one text box..can anyone...
1
by: xernoth | last post by:
Hi there, Just a quick question. I'm more familiar with C# and ASP.NET but need to use ASP/VBScript for a quick project. I have a form that uploads content to a server not managed by us. When...
4
by: MoroccoIT | last post by:
Greetings - I saw somewhat similar code (pls see link below) that does mupltiple files upload. It works fine, but I wanted to populate the database with the same files that are uploaded to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
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...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.