Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
2.3 KiB

  1. <!--#INCLUDE file="..\include\asp\top.asp"-->
  2. <!--#include file="..\include\asp\headdown.asp"-->
  3. <html>
  4. <body>
  5. <div class="clsDiv">
  6. <%
  7. '******************************************
  8. '* Code path is for Windows XP files only! *
  9. '******************************************
  10. 'On Error Resume Next
  11. Dim strFileID, NoID, strDate, strCabFile, objCreateFolder, objFileSystem, objFile
  12. strFileID = Request.QueryString("ID")
  13. strDate = Left(strFileID,InStr(strFileID,"/")-1)
  14. strCabFile = Right(strFileID,Len(strFileID)-InStr(strFileID,"/"))
  15. set objFileSystem = CreateObject("Scripting.FileSystemObject")
  16. set objFile = objFileSystem.GetFile("\\cpofffso03\watson\BlueScreen\" & strFileID)
  17. If objFileSystem.FolderExists("\\chomps\public\" & strDate) Then
  18. objFile.Copy("\\chomps\public\" & strFileID)
  19. Else
  20. objFileSystem.CreateFolder("\\chomps\public\" & strDate)
  21. objFile.Copy("\\chomps\public\" & strFileID)
  22. End If
  23. If (Err.Number = 0) Then
  24. Response.Write "<p class='clsPTitle'>Thank you for your submission</p>"
  25. %>
  26. <p class="clsPBody">All information submitted to the Windows<sup>�</sup> Online Crash Analysis Web site is used to improve the stability and reliability of the Windows platform.</p>
  27. <%
  28. Else
  29. Response.Write "<p class='clsPTitle'>Unable to upload file</p>"
  30. %>
  31. <p class="clsPBody">We are unable to copy your event report to our server. This could be due to transient network problems, corruption of the event report, or an unexpected server side error.
  32. To re-try the copy process click, Resubmit file.
  33. <ul>
  34. <li>
  35. <a href="auto.asp?ID=<%=strFileID%>">Resubmit file</a>
  36. </li>
  37. </ul>
  38. <%
  39. If (strFileID <> "") Then
  40. NoID = strFileID
  41. Else
  42. NoID = "No file found"
  43. End If
  44. %>
  45. <p class="clsPBody">If you see this message again, send an e-mail message explaining the situation to <a href="mailto:[email protected]?Subject=File submission error (<%=NoID%>)">Windows Online Crash Analysis</a>, and we will investigate.</p>
  46. <%
  47. End If
  48. strFileID = ""
  49. strCabFile = ""
  50. strDate = ""
  51. Set objFileSystem = Nothing
  52. Set objFile = Nothing
  53. %>
  54. <p class="clsPBody">
  55. Thank you,<br>
  56. Windows<sup>&#174;</sup> Online Crash Analysis team
  57. </p>
  58. <br><br>
  59. </div>
  60. <!--#include file="..\include\asp\foot.asp"-->