Uploading a directory...

G

gbattine

Hi guys,
i've a simple question for us.
I'm using Myfaces upload library to let my JSF application to upload a
file into a mysql db.
My question is:
Can i upload a directory?(with a variable number of files) in a blob
field?
How can i do it?
thanks very much
 
M

Moiristo

gbattine said:
Hi guys,
i've a simple question for us.
I'm using Myfaces upload library to let my JSF application to upload a
file into a mysql db.
My question is:
Can i upload a directory?(with a variable number of files) in a blob
field?
How can i do it?
thanks very much

You can only upload one single file with the Myfaces upload library,
because of browser restrictions. To upload multiple files or
directories, you have to create an applet or use an open source
implementation.
 
M

Moiristo

Moiristo said:
You can only upload one single file with the Myfaces upload library,
because of browser restrictions. To upload multiple files or
directories, you have to create an applet or use an open source
implementation.

Oh, and should you use it, uploading to a blob would be the easiest by
wrapping it in a zip or rar archive.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,539
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top