WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

ADO DAO
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

ADO Stream Binary File Download


ADO Stream Binary File Download
strFile = strcat (dirscript (),"wwcpu44i.zip")
strURL = "http://files.winbatch.com/wwwftp/wb01/wwcpu44i.zip"
oGet = CreateObject("MSXML2.XMLHTTP")
oGet.open( "GET", strURL, @FALSE)
oGet.send("")
oStream = CreateObject("ADODB.Stream")
oStream.Type = 1
oStream.Open()
oStream.Write( oGet.responseBody )
oStream.SaveToFile(strFile,2)
oStream.close()
oStream=0
oGet=0
Exit

Article ID:   W17106
File Created: 2011:02:18:11:26:34
Last Updated: 2011:02:18:11:26:34