Dim fs,f
Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set f=fs.GetFile(Server.Mappath(myname))
Response.Write(" File created: " & f.DateCreated)
set f=nothing
set fs=nothing

Now I get this error:

Error Type:
Server.MapPath(), ASP 0172 (0x80004005)
The Path parameter for the MapPath method must be a virtual path. A 
physical path was used.


--- In [email protected], "Dan Powderhill" 
<[EMAIL PROTECTED]> wrote:
> Did you try using Server.MapPath(myname)? The string result should 
be
> the same as what you're passing in, but I had something similar a 
few
> years back which was solved by this for some unknown reason.
> 
> Might be worth a try.
> 
> Dan
> 






---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [email protected]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to