Can i retrieve the file owner name by FSO?

i wish to show it at my asp page.

the page shows the files list in a folder.

Thanks.

tony

Re: FSO by Ray

Ray
Sun Oct 09 09:18:02 CDT 2005

No, I don't believe the FSO has a method to retreive that information.
Perhaps you could "shell out" and use DIR /q to get your file list. Like
so:

<%
sDir = Server.MapPath("/") 'assign dir to this variable
Dim oShell, sCommand, oExec, sOutput
Set oShell = CreateObject("WScript.Shell")
sCmd = "%comspec% /c dir " & sDir & " /q"
Set oExec = oShell.Exec(sCmd)
sOutput = oExec.StdOut.ReadAll
Set oExec = Nothing
Set oShell = Nothing

''format sOutput as you see fit
Response.Write "<pre>" & sOutput & "</pre>"
%>

Ray at home

"tony wong" <x34@netvigator.com> wrote in message
news:Ot7KuKNzFHA.2312@TK2MSFTNGP14.phx.gbl...
> Can i retrieve the file owner name by FSO?
>
> i wish to show it at my asp page.
>
> the page shows the files list in a folder.
>
> Thanks.
>
> tony
>