473,586 Members | 2,566 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5002
jn
"3A Web Hosting" <in**@3awebhost ing.co.uk> wrote in message
news:3F******** *******@3awebho sting.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.ev il.ones.will.bo w-down-to.us
(put "Hey!" in the Subject line for priority processing!)
-- http://www.pixelsaredead.com
Jul 17 '05 #3
jn
"jn" <js******@cfl.r r.com> wrote in message
news:r9******** *************@t wister.tampabay .rr.com...
"3A Web Hosting" <in**@3awebhost ing.co.uk> wrote in message
news:3F******** *******@3awebho sting.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**@3awebhost ing.co.uk> wrote in message news:<3F******* ********@3awebh osting.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.r r.com> wrote in message
news:r9******** *************@t wister.tampabay .rr.com...
"3A Web Hosting" <in**@3awebhost ing.co.uk> wrote in message
news:3F******** *******@3awebho sting.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_com cast_dot_net> wrote in message
news:aL******** ************@co mcast.com...
"jn" <js******@cfl.r r.com> wrote in message
news:r9******** *************@t wister.tampabay .rr.com...
"3A Web Hosting" <in**@3awebhost ing.co.uk> wrote in message
news:3F******** *******@3awebho sting.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

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

Similar topics

0
1170
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 in an aspx file and it will work. Although I don't see the HtmlInputFile class or the fileupload.aspx class that it refers to, it somehow works.
5
2082
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 finishes. Meaning appl uses just one thread for all requests. Right? Is it safe or possible to get uploading request and execute it in a separate...
3
1394
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 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...
4
340
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 must be no user interaction 2, The files names need to be discovered at run time 3, I must be able to upload 1 or more files determinded by step to....
4
5162
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. Message board, stored in mysql database (1 file per message, message in db, file in file system) I need a link (Download Project) which will...
0
1701
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 help me?plz...i really need a help.. <HTML> <HEAD> <title>FILE UPLOAD</title> <body bgcolor="magenta">
9
2301
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, "image");
0
1844
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 its server. Many users could login and start uploading large files to the website simultaneously. How does it manages this process. What is the...
4
4858
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 mydirectory, but for some reason, I am getting different file names on the database. Here is the full code: please do serach on kewword "database" to...
0
7912
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
1
7959
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8216
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5710
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5390
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3837
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2345
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 we have to send another system
1
1449
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1180
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.