folderdepth still allowing deeper files

Upload core product.
frankdoss
Posts: 7
Joined: Sun Jul 25, 2010 4:52 pm

Re: folderdepth still allowing deeper files

Post by frankdoss »

No good. It still travels the next folder in both IE and Firefox.

I process the files before putting them where I really want them, so this is not a killer problem. However, it is still an issue for me.

frankdoss
Posts: 7
Joined: Sun Jul 25, 2010 4:52 pm

Re: folderdepth still allowing deeper files

Post by frankdoss »

I thought I had replied to this...

I removed the config line. The problem is still there. It will still scan and upload the next level folder and contents.

I have tested this with IE and Firefox.

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

Re: folderdepth still allowing deeper files

Post by support »

I've made tests and it seems to work.
Could you explain me how you select files/folders to upload?
folder1/
folder2/file2.txt
file1.txt

If you select folder1/ only then it uploads file1.txt only.
If you select folder2/ and file1.txt then it uploads file2.txt and file1.txt

Do you have the same behavior?

frankdoss
Posts: 7
Joined: Sun Jul 25, 2010 4:52 pm

Re: folderdepth still allowing deeper files

Post by frankdoss »

I select the contents of a folder. That folder contains files and a folder with files. I drag and drop those contents into the upload pane.

The files in the parent folder are uploaded as they should be. The sub-folder and contents are uploaded as well.

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

Re: folderdepth still allowing deeper files

Post by support »

From sample I've provided, do you select folder1/ or content of folder1/ ?

frankdoss
Posts: 7
Joined: Sun Jul 25, 2010 4:52 pm

Re: folderdepth still allowing deeper files

Post by frankdoss »

To make your example more reflective of what I am facing:

folder1/ contains filea.txt, fileb.txt, filec.txt
folder2/ contains file1.txt, file2.txt

I selected filea.txt, fileb.txt, filec.txt, folder2/

I dragged all of these selected items into the window.

filea.txt, fileb.txt, filec.txt, folder2/, file1.txt, file2.txt all uploaded

I only wanted filea.txt, fileb.txt, filec.txt.

frankdoss
Posts: 7
Joined: Sun Jul 25, 2010 4:52 pm

Re: folderdepth still allowing deeper files

Post by frankdoss »

I am afraid I did not see the response to my post. Was there one?

Thanks!

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

Re: folderdepth still allowing deeper files

Post by support »

I see but the behavior is normal with folderdepth=0. In fact you have to deny folder upload, correct? Could you try to remove :

Code: Select all

<PARAM NAME="param3" VALUE="relativefilename">
<PARAM NAME="value3" VALUE="true">
<PARAM NAME="folderdepth" VALUE="0">
And add:

Code: Select all

<PARAM NAME="resources" VALUE="i18n">
Then copy i18n.properties (available in documentation/tutorials/ folder of package) in the same folder as HTML/Javascript and uncomment (remove #) in the file:

Code: Select all

#filechooser.dialog.selectionmode=filesonly

Post Reply