can i get folder's name in javascript?

Upload core product.
Post Reply
activity
Posts: 2
Joined: Sat Aug 07, 2010 12:41 pm

can i get folder's name in javascript?

Post by activity »

I try the getFilenames() function to get the file's name, but the return value only show the name whthout path info. if user select a folder to upload, how can i know which folder they selected?

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

Re: can i get folder's name in javascript?

Post by support »

Try to installed JSAPI add-on and add:
<PARAM NAME="jsenablepath" VALUE="true">

Callbacks should include full path.

http://www.jfileupload.com/products/tools/index.html

activity
Posts: 2
Joined: Sat Aug 07, 2010 12:41 pm

Re: can i get folder's name in javascript?

Post by activity »

Thank you for the replay,but it doesn't work. I get the file name still without path!

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

Re: can i get folder's name in javascript?

Post by support »

For getFilenames() method of within JSTransferTriggered(...) callback?

Post Reply