The number of files doesn't necessarily have to be preset. I have seen forms
where there is a "more fields" button which adds another 5 file upload
fields with each click (of course the page is refreshed in most cases but it
can also be done with javascript & dhtml). All you have to do is name your
fields something like fileupload_1, fileupload_2...fileupload_x and when
parsing the multipart form add each FilePart to an array. Hope that helps..

Regards,
Chetan Sarva

----- Original Message -----
From: "Raju Lokhande" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 21, 2002 1:10 PM
Subject: Re: com.orielly.servlet File Upload package


> You are right. I needed more fields on the html form to enter more than
one file name. That means I have to pre-set the number of files in my html
form.
> Is there a more user-friendly interface available which works with this
package?
> I know there are commercially available software which do the FileUpload
job, but am looking for an open-source free-ware.
> Raju Lokhande


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to