How to upload folder , not files in folder

Enhanced frontend add-on to queue files.

How to upload folder , not files in folder

Postby truongvu » Fri Dec 02, 2011 9:06 am

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 ?
truongvu
 
Posts: 39
Joined: Wed Oct 26, 2011 11:58 am

Re: How to upload folder , not files in folder

Postby support » Fri Dec 02, 2011 7:28 pm

No, files and folders, not folders only.
User avatar
support
 
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm

Re: How to upload folder , not files in folder

Postby truongvu » Sun Dec 04, 2011 9:17 am

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
truongvu
 
Posts: 39
Joined: Wed Oct 26, 2011 11:58 am

Re: How to upload folder , not files in folder

Postby support » Sun Dec 04, 2011 11:08 am

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"
User avatar
support
 
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm

Re: How to upload folder , not files in folder

Postby truongvu » Wed Dec 07, 2011 2:15 am

Hi,
I tried but it is not successful !
Can you send me a sample for uploading folder !
Thanks so much !
truongvu
 
Posts: 39
Joined: Wed Oct 26, 2011 11:58 am

Re: How to upload folder , not files in folder

Postby support » Sun Dec 11, 2011 5:07 pm

It will upload files in folders too. You cannot just upload a folder structure.
User avatar
support
 
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm

Re: How to upload folder , not files in folder

Postby truongvu » Tue Dec 13, 2011 8:40 am

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 !
truongvu
 
Posts: 39
Joined: Wed Oct 26, 2011 11:58 am


Return to JBatchUpload



cron

Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.