How to upload folder , not files in folder

Enhanced frontend add-on to queue files.
Post Reply
truongvu
Posts: 39
Joined: Wed Oct 26, 2011 11:58 am

How to upload folder , not files in folder

Post by truongvu »

I see JBatchUpload have feature upload folder by uploading files in folder
But i only want upload folder(s) , not files in folder(s)

Is your JBatchUpload have that feature ?

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: How to upload folder , not files in folder

Post by support »

No, files and folders, not folders only.

truongvu
Posts: 39
Joined: Wed Oct 26, 2011 11:58 am

Re: How to upload folder , not files in folder

Post by truongvu »

Thanks for quick support !
So , i want to upload subfolder in indicate folder
Can below parameters upload subfolder in folder ?
<PARAM NAME="item1" VALUE="fullfolder2">
<PARAM NAME="folderdepth" VALUE="-1">
<PARAM NAME="param6" VALUE="relativefilename">
<PARAM NAME="value6" VALUE="true">

Example : folder A have subfolder B and file B1.jpg
Subfolder B have file SB1.jpg
Data need to upload : B1.jpg and Subfolder B

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: How to upload folder , not files in folder

Post by support »

Parameters below will allow to upload all files and folders recursively of selected folder by end-user.
<PARAM NAME="folderdepth" VALUE="-1">
<PARAM NAME="param6" VALUE="relativefilename">
<PARAM NAME="value6" VALUE="true"

truongvu
Posts: 39
Joined: Wed Oct 26, 2011 11:58 am

Re: How to upload folder , not files in folder

Post by truongvu »

Hi,
I tried but it is not successful !
Can you send me a sample for uploading folder !
Thanks so much !

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: How to upload folder , not files in folder

Post by support »

It will upload files in folders too. You cannot just upload a folder structure.

truongvu
Posts: 39
Joined: Wed Oct 26, 2011 11:58 am

Re: How to upload folder , not files in folder

Post by truongvu »

Thanks , i have already uploaded folder successfully !
My current matter is after uploading
JSTransferCompleted in jbatchupload return filename , not root folder name
How can i get root folder name ?
Ex: I upload folder A . In A have b.pdf,c.pdf,folder AA . In folder AA have c.jpg
parameter i want to get in JSTransferCompleted is "A" !

Thanks for your reply !

Post Reply