Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to re-create folders structure on server-side when uploading a folder with multiples files and subfolders ?

0
Posted

How to re-create folders structure on server-side when uploading a folder with multiples files and subfolders ?

0

First, you have to select the recursive depth through “folderdepth” parameter of jClientUpload. Second, you need to enable “relativefilename” extra parameter on jClientUpload through paramX=relativefilename and valueX=true (with X in [1-16]). For instance: folderdepth=”5″ param1=”relativefilename” value1=”true” Finally – for HTTP only – you need a server-side script that will handle “relativefilename” parameter to create folders and subfolders before storing uploaded files. (LargeUpload.jsp server-side script included in UploadBean provides this feature).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123