From a visual foxpro 9 application we use the filer.fileutils activeX object to retrieve a list of all files in a folder.
This worked fine for several years. But now we only get some of the files from the folder, when we run it on the server with windows 2008. (Folder is a network location) When we run the very same code from a windows 7 workstation, we see all files
On the server we receive only .doc and .xls file, .docx and .xlsx files are not returned...
We then did switch the code over to use the scripting.filesystemobject, but this also only returns the .doc and .xls file, and the .docs and .xls files are missing
fso=createobject("scripting.filesystemobject")
fld=fso.getfolder(lcFolderName)
for each fil in fld.files
?"Name Of File: ", fil.name
?"Size: ", fil.size
?"Date created:", fil.DateCreated
?"Last modified:", fil.DateLastModified
next
As this stopped working about 2-3 weeks ago, we are wondering what setting or security update did cause this on the server...