fanyun wrote:
> I am now trying upload service. I wonder is it possible to upload a directory
> recursively using upload service. Or I should upload file one by one.
You cannot do that, because no www browser in existnence supports
sending more
than one file per <input type="file"> widget.
The protocol supports sending multiple files for a single file widget
(through multipart/mixed part in mutlipart/formdata) and UploadService
supports
it fully.
Maybe you can ask your users to compress the files with winzip before
sending
them? You can unzip them with java.util.zip.
An Java Applet is probably not an option, because applets are not
allowed to
read files from the client's disk by default, and changing this is
rather
complicated (and potentialy insecure to the client)
Rafal
--
mgr inz. Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]