Wrox Home  
Search P2P Archive for: Go

  Return to Index  

proasp_howto thread: An URL's last modified date


Message #1 by "burak" <burakk@m...> on Wed, 2 Aug 2000 8:16:48
Alright, so he's actually after when an ASP _file_ was last modified, not 
when that file was moved _to_ a new URL. Appologies for very bad English 
and poor temper... it was late, he'd posted the same question on about six 
different lists, some of them not even anything to do with ASP....

On 08/03/00, ""Ken Schaefer" wrote:
> Use the FSO,
> 
> Use the .DateLastModified property of the file.
> 
> Don't know the path of the file? Use Server.MapPath()
> 
> <quote from FSO documentation>
>     Dim fso, f1
>     Set fso = CreateObject("Scripting.FileSystemObject")
>     ' Get a File object to query.
>     Set f1 = fso.GetFile("c:\detlog.txt")
>     ' Print information.
>     Response.Write "File last modified: " & f1.DateLastModified
> </quote>
> 
> Cheers
> Ken
> 
> ----- Original Message -----
> From: "Daniel Walker" <danielw@w...>
> To: "How To" <proasp_howto@p...>
> Sent: Wednesday, August 02, 2000 10:20 AM
> Subject: [proasp_howto] Re: An URL's last modified date
> 
> 
> > <%="This URL hasn't been updated yet because I'm still on Chapter 1"%>
> >
> > You can't.... you just can't... The URL _is_ the ASP
> >
> > On 08/02/00, ""burak" wrote:
> > > How can I test an URL address's last modified date from ASP code
> > is there any way to do that?
> >              Thanks!
> >
> > ---
> > You are currently subscribed to proasp_howto.
> $subst('Email.Unsub')
> >

  Return to Index