Well i have tried this it works . You can
have multiple file upload input types in a form( as many
as number of files u want to upload).  And then can have all the files on
server together. Can use orielly classes to get files on server side.

-----Original Message-----
From: David Mossakowski [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 06, 1999 3:01 PM
To: [EMAIL PROTECTED]
Subject: Re: Another MultipartRequest Question


I have not done much to check whether this will work for you but you can
create
more than one FILE input type box and then make the servlet go through the
FILE
input boxes and get one after another.

I haven't tried it in Java but you can take a look at the following Perl
script:
http://www.terminalp.com/scripts/file_upload.shtml

It probably does exactly what you need.

dave.

P.S. I hope I'm not blaspheming here when using word 'Perl'.

Heiko Grussbach wrote:

> Hi,
>
> maybe I was a bit unclear. Lets assume I want to upload 5 different files
> from a directory on a clients machine to the server. I use the
> multipartrequest class together with a form (like in jasons Java Servlet
> Programming). It seems, that the browser lets the client only select one
> file (and not all 5). This means the client would have to do 5 uploads for
> the 5 files he wants to upload. I just want to know, if there is a way
> around this besides putting all the files in a zip-file or something
> similar.
>
> Regards
>
> HEIKO
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

--
David Mossakowski        [EMAIL PROTECTED]
http://www.dwdog.com/styk      212.310.7275

"I don't sit idly by, I'm planning a big surprise"
F         U         G         A        Z        I

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to