Can you test to see if its actually the listDir or the open() that is taking the longest
try:
fileList.open("mydir/");
fileList.listDir();
and compare it to the code you posted above
Can you test to see if its actually the listDir or the open() that is taking the longest
try:
fileList.open("mydir/");
fileList.listDir();
and compare it to the code you posted above