Quantcast
Channel: Classic ASP
Viewing all articles
Browse latest Browse all 488

issues with FileSystemObject and date properties on win server 2016 / IIS 10

$
0
0

Hi

when running this code :

<%
dim ObjFSO
set  ObjFSO = Server.CreateObject("Scripting.FileSystemObject")
response.write ObjFSO.GetFolder("C:\etocomm_appli\sftp\test.txt").DateLastModified
%>

I get a "path not found error".

Replace property by name, size, path, etc. No problem. Problems occur just with date properties (lastaccessed,datecreated), on folders or files.

IUSR has change rights on this path

Any idea or solution ?


Viewing all articles
Browse latest Browse all 488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>