plugins.file.getFolderContents returns empty array

Hi,

We have a solution running as a batch process that polls a Windows shared folder for jpg files like this:

_picFiles = plugins.file.getFolderContents("//Ax-wts04/Data Files 32/Axerrio/Images/floraholland/Live/", ["jpg", "JPG"]);

At shares on most servers this works fine but on some it returns no files while there are files in the folder. It seems that shares on 64-bit servers don’t work (both 2003 and 2008). The other weird thing here is that when you run the same solution in Developer it does work!

I don’t get any error message back either.

Thanks for you help!