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

Multiple file uploads

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 current method,
multiple <INPUT TYPE="FILE" NAME="userfile[x]"> entries, works but means
selecting each file individually.

--
Colin

3A Web Hosting Team
http://www.3awebhosting.co.uk
Jul 17 '05 #1
10 4969
jn
"3A Web Hosting" <in**@3awebhosting.co.uk> wrote in message
news:3F***************@3awebhosting.co.uk...
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 current method,
multiple <INPUT TYPE="FILE" NAME="userfile[x]"> entries, works but means
selecting each file individually.

--
Colin

3A Web Hosting Team
http://www.3awebhosting.co.uk


You can't do that with a regular HTML form.

http://sourceforge.net/projects/jupload/

Use the JUpload applet. It sits on your upload page, and the applet submits
to a processing script that you specify. (Your browser doesn't leave the
upload page though...it shows you a progress bar, and tells you when it is
done).

When you upload the files, they will be available in your processing script
as $_FILES["File1"], $_FILES["File2"], etc.
Jul 17 '05 #2
Regarding this well-known quote, often attributed to 3A Web Hosting's
famous "Mon, 29 Dec 2003 17:10:46 +0000" speech:
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 current method,
multiple <INPUT TYPE="FILE" NAME="userfile[x]"> entries, works but means
selecting each file individually.


Nope... not without some sort of Java, Flash, or other client-side
front-end.

If you have the access, you could make some sort of FTP drop-box processor,
but that's iffy.

--
-- Rudy Fleminger
-- sp@mmers.and.evil.ones.will.bow-down-to.us
(put "Hey!" in the Subject line for priority processing!)
-- http://www.pixelsaredead.com
Jul 17 '05 #3
jn
"jn" <js******@cfl.rr.com> wrote in message
news:r9*********************@twister.tampabay.rr.c om...
"3A Web Hosting" <in**@3awebhosting.co.uk> wrote in message
news:3F***************@3awebhosting.co.uk...
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 current method,
multiple <INPUT TYPE="FILE" NAME="userfile[x]"> entries, works but means
selecting each file individually.

--
Colin

3A Web Hosting Team
http://www.3awebhosting.co.uk

You can't do that with a regular HTML form.

http://sourceforge.net/projects/jupload/

Use the JUpload applet. It sits on your upload page, and the applet

submits to a processing script that you specify. (Your browser doesn't leave the
upload page though...it shows you a progress bar, and tells you when it is
done).

When you upload the files, they will be available in your processing script as $_FILES["File1"], $_FILES["File2"], etc.


By the way, there are a couple of better applets out there...but I
recommended this one because it's free and I'm a cheap bastard.
Jul 17 '05 #4
3A Web Hosting <in**@3awebhosting.co.uk> wrote in message news:<3F***************@3awebhosting.co.uk>...
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 current method,
multiple <INPUT TYPE="FILE" NAME="userfile[x]"> entries, works but means
selecting each file individually.


Not realy, at least as far as I am aware of, this is a function of the
browser/HTML not the PHP script.

What I have done in the past is to allow a .zip file upload and the
server unzips it and goes to work.

Mike Bradley
http://gzen.myhq.info -- free online php tools
Jul 17 '05 #5
Hi
By the way, there are a couple of better applets out there...but I
recommended this one because it's free and I'm a cheap bastard.


I know the feeling ;-)

I'll give it a try

--
Colin

3A Web Hosting Team
http://www.3awebhosting.co.uk
Jul 17 '05 #6
Hi Folks

Thanks for all the replies. I thought it was probably a browser issue.
I'll play around with Java and see how I get on. Not the path I would
prefer but......

--
Colin

3A Web Hosting Team
http://www.3awebhosting.co.uk
Jul 17 '05 #7
"jn" <js******@cfl.rr.com> wrote in message
news:r9*********************@twister.tampabay.rr.c om...
"3A Web Hosting" <in**@3awebhosting.co.uk> wrote in message
news:3F***************@3awebhosting.co.uk...
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 current method,
multiple <INPUT TYPE="FILE" NAME="userfile[x]"> entries, works but means
selecting each file individually.

--
Colin

3A Web Hosting Team
http://www.3awebhosting.co.uk

You can't do that with a regular HTML form.

http://sourceforge.net/projects/jupload/

Use the JUpload applet. It sits on your upload page, and the applet

submits to a processing script that you specify. (Your browser doesn't leave the
upload page though...it shows you a progress bar, and tells you when it is
done).

When you upload the files, they will be available in your processing script as $_FILES["File1"], $_FILES["File2"], etc.


maybe I'm missing something here, but I created an HTML form that allows
upto 4 jpg's to be uploaded at the same time and it works fine?!

CMosser
Jul 17 '05 #8
jn
"Chris Mosser" <cmosser_at_comcast_dot_net> wrote in message
news:aL********************@comcast.com...
"jn" <js******@cfl.rr.com> wrote in message
news:r9*********************@twister.tampabay.rr.c om...
"3A Web Hosting" <in**@3awebhosting.co.uk> wrote in message
news:3F***************@3awebhosting.co.uk...
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 current method,
multiple <INPUT TYPE="FILE" NAME="userfile[x]"> entries, works but means selecting each file individually.

--
Colin

3A Web Hosting Team
http://www.3awebhosting.co.uk


You can't do that with a regular HTML form.

http://sourceforge.net/projects/jupload/

Use the JUpload applet. It sits on your upload page, and the applet

submits
to a processing script that you specify. (Your browser doesn't leave the
upload page though...it shows you a progress bar, and tells you when it is done).

When you upload the files, they will be available in your processing

script
as $_FILES["File1"], $_FILES["File2"], etc.


maybe I'm missing something here, but I created an HTML form that allows
upto 4 jpg's to be uploaded at the same time and it works fine?!

CMosser


By having 4 different file fields, yes you can do that. He doesn't want to
do it one by one...he wants to select multiple files and submit it using one
thing. I use that JUpload applet to upload many photos to my galleries (like
50) at the same time.
Jul 17 '05 #9
I think he is looking to click one upload button, and inster 4 files into
one box by highlighting more than one, instead of having sever inpout boxes
on a form. At least I think that what he is asking

--
Mike Bradley
http://gzen.myhq.info -- free online php tools
Jul 17 '05 #10
Hi
I think he is looking to click one upload button, and inster 4 files into
one box by highlighting more than one, instead of having sever inpout boxes
on a form. At least I think that what he is asking


Yup, that's what I'm after. Having 20+ input boxes would be a real pain!

--
Colin

3A Web Hosting Team
http://www.3awebhosting.co.uk
Jul 17 '05 #11

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

Similar topics

0
by: !!bogus | last post by:
Hi, I found this code in the MSDN library. It works fine for a single upload, but I can't figure out how to make it work for multiple file uploads...can someone please help me? Just paste it...
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...
3
by: darrel | last post by:
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...
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....
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...
9
by: Jankie | last post by:
<?php if(isset($_POST) && $_FILES > 0){ foreach ($_FILES as $key => $error) { $name = $_FILES; $tempname = $_FILES; ………… ……… $path = 'uploads/'; include 'dbcon.php'; $rep = strpos($_FILES,...
0
by: santoshannamalai | last post by:
Hi, I would like to know what technology does rapidshare use to manage its multiple, large file uploads. Rapidshare has thousands of users. Still Rapidshare manages to maintain the uploads onto...
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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
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: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.