enigmaos
September 28th, 2001, 07:47 AM
Here's the problem:
I have created an ASP listener page that would save every incoming package into a file on the local IIS/Server with a generic name, but the files cannot have the same name because that would overwrite the preivous file. The code is in the ASP file - VBSript.
'Here's the code:
set xmlDoc = Server.CreateObject("MSXML.DOMDocument")
xmlDoc.Save(Server.mappath("TEST.xml"))
'I have tried to "TimeStamp" the file, but I kept getting error messages - it doesn't recognize "NOW":
TimeStamp = Now()
xmlDoc.Save(Server.mappath(TimeStamp & ".xml"))
Any suggestions?
THANKS!!!
enigmaos@yahoo.com
I have created an ASP listener page that would save every incoming package into a file on the local IIS/Server with a generic name, but the files cannot have the same name because that would overwrite the preivous file. The code is in the ASP file - VBSript.
'Here's the code:
set xmlDoc = Server.CreateObject("MSXML.DOMDocument")
xmlDoc.Save(Server.mappath("TEST.xml"))
'I have tried to "TimeStamp" the file, but I kept getting error messages - it doesn't recognize "NOW":
TimeStamp = Now()
xmlDoc.Save(Server.mappath(TimeStamp & ".xml"))
Any suggestions?
THANKS!!!
enigmaos@yahoo.com