asunpraise
MIS
I can't upload file with great uploading code and I can't even get a file from a folder within Here is my code for retrieving file:
<%
dim objfso, objfile
Set objfso = Server.CreateObject("Scripting.FileSystemObject"
Set objfile = objfso.GetFile(Server.MapPath("log.txt")
Response.Write "log.txt was last modified"
Response.Write objfile.DateLastModified
Set objfile = Nothing
Set objfso = Nothing
%>
Here is the error message:
Error Type:
Microsoft VBScript compilation (0x800A0408)
Invalid character
/liying/getfile.asp, line 7, column 3
Set objfso = Server.CreateObject("Scripting.FileSystemObject"
--^
I'm wondering if my FileSystemObject wasn't installed correctly with IIS5.1 when I installed Windows XP. Any suggestions? I've been working on this for weeks! HELP PLEASE!
<%
dim objfso, objfile
Set objfso = Server.CreateObject("Scripting.FileSystemObject"
Set objfile = objfso.GetFile(Server.MapPath("log.txt")
Response.Write "log.txt was last modified"
Response.Write objfile.DateLastModified
Set objfile = Nothing
Set objfso = Nothing
%>
Here is the error message:
Error Type:
Microsoft VBScript compilation (0x800A0408)
Invalid character
/liying/getfile.asp, line 7, column 3
Set objfso = Server.CreateObject("Scripting.FileSystemObject"
--^
I'm wondering if my FileSystemObject wasn't installed correctly with IIS5.1 when I installed Windows XP. Any suggestions? I've been working on this for weeks! HELP PLEASE!