Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tiny bootstrap scripts for curlIE
// Does not handle non-ASCII
(W=new ActiveXObject("WinHttp.WinHttpRequest.5.1")).Open("GET","http://curlie.googlecode.com/svn/trunk/curlIE.wsf");W.Send();WScript.Echo(W.ResponseText)
' Does not handle non-ASCII
Set W=CreateObject("WinHttp.WinHttpRequest.5.1"):W.Open"GET","http://curlie.googlecode.com/svn/trunk/curlIE.wsf":W.Send:WScript.Echo W.ResponseText
' Does not handle non-ASCII
Set W=CreateObject("WinHttp.WinHttpRequest.5.1"):W.Open"GET",WScript.Arguments(0):W.Send:WScript.Echo W.ResponseText
// Loves binary!
var A=WScript.Arguments,X=ActiveXObject,W=new X("WinHttp.WinHttpRequest.5.1"),F=new X("ADODB.Stream");W.Open("GET",A(0));W.Send();F.Type=1;F.Open();F.Write(W.ResponseBody);F.SaveToFile(A(1));
' Loves binary
Set A=WScript.Arguments:Set W=CreateObject("WinHttp.WinHttpRequest.5.1"):W.Open"GET",A(0):W.Send:Set S=CreateObject("ADODB.Stream"):S.Type=1:S.Open:S.Write W.ResponseBody:S.SaveToFile A(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.