AnsweredAssumed Answered

List all files in a directory with 50000+ files

Question asked by neo6200 on Jun 12, 2015
Latest reply on Jun 12, 2015 by romschn
I would like to know how to list all files in a directory with a large amount of files.

Ive tried with a webscript like this one.

 
var node= companyhome.childByNamePath("XXX");

var nodos=node.children;
var numBonosTotal=nodos.length;



The problem is that every time i execute it, it ends with a number really different. One time is 27k, another 17k another 50k.

Is there a way to know how much files are really? and after that list them.

Any Idea?

Thankyou

Outcomes