Subversion Repositories DevTools

Rev

Rev 4710 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4710 Rev 4756
Line 1810... Line 1810...
1810
  If pkgName <> "" Then
1810
  If pkgName <> "" Then
1811
      testUrl = testUrl & pkgName & "/" & pkgVersion
1811
      testUrl = testUrl & pkgName & "/" & pkgVersion
1812
  End If
1812
  End If
1813
  Set oXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP.3.0")
1813
  Set oXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP.3.0")
1814
 
1814
 
-
 
1815
  ' Use error handling in case dpkg_archive is not available
1815
  ' Use HEAD to test existence
1816
  ' Use HEAD to test existence
-
 
1817
  Err.Clear
-
 
1818
  On Error Resume Next
1816
  oXMLHTTP.Open "HEAD", testUrl, False
1819
  oXMLHTTP.Open "HEAD", testUrl, False
1817
  oXMLHTTP.Send
1820
  oXMLHTTP.Send
1818
 
1821
 
-
 
1822
  ' Do not combine the next two If statments - it will not work
-
 
1823
  If Err.Number = 0  Then
1819
  If oXMLHTTP.Status = 200 Then
1824
    If oXMLHTTP.Status = 200 Then 
1820
    testArchiveAccessPkg = True
1825
        testArchiveAccessPkg = True
-
 
1826
    End If
1821
  End If
1827
  End If
-
 
1828
  On Error Goto 0
1822
End Function
1829
End Function
1823
%>
1830
%>