M
mbosco51
Hi. I am tring to setup an asp script that will do the following...
If file date/time is within last 10 minutes then
response.redirect to file
else
do something else
end if
The text file is not located on the webserver. I created a virtual
directory on the webserver which allows me to response.redirect to the
file. However when I use the FileSystemObject to check the date/time,
I cannot find the file. It seems like it only works against files on
the webserver. UNC paths do not seem to work. I was hoping the
virtual directory would allow me to specify something like
c:\inetpub\wwwroot\<VIRTUAL DIR NAME>\<FILE NAME>, however that's not
working either.
Basically, is there any way to use FileSystemObject against a file not
on the webserver, or can I get the file date/time using something else?
Thanks.
If file date/time is within last 10 minutes then
response.redirect to file
else
do something else
end if
The text file is not located on the webserver. I created a virtual
directory on the webserver which allows me to response.redirect to the
file. However when I use the FileSystemObject to check the date/time,
I cannot find the file. It seems like it only works against files on
the webserver. UNC paths do not seem to work. I was hoping the
virtual directory would allow me to specify something like
c:\inetpub\wwwroot\<VIRTUAL DIR NAME>\<FILE NAME>, however that's not
working either.
Basically, is there any way to use FileSystemObject against a file not
on the webserver, or can I get the file date/time using something else?
Thanks.