Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Control Background Intelligent Transfer Service using VBScript

203 views
Skip to first unread message

John Greble

unread,
Oct 14, 2003, 6:54:33 PM10/14/03
to
Anyone know if BITS objects are scriptable and any if any documentation is
available?

Thanks!

John


Torgeir Bakken (MVP)

unread,
Oct 14, 2003, 7:23:49 PM10/14/03
to
John Greble wrote:

> Anyone know if BITS objects are scriptable and any if any documentation is
> available?

Hi

Fyi, there is a separate newsgroup for BITS:

microsoft.public.windows.backgroundtransfer

I can't find any references that BITS can be used from vbscript (using COM).


BITS 1.5 has a command line interface you can use from a script:

BitsAdmin Tool
http://msdn.microsoft.com/library/en-us/bits/bits/bitsadmin_tool.asp

BITS 1.5 SDK Documentation
http://go.microsoft.com/fwlink/?linkid=15106

Index of KB Articles related to BITS
http://go.microsoft.com/fwlink/?linkid=15107

Background Intelligent Transfer Service Version 1.5 (SDK Package)
http://www.microsoft.com/downloads/details.aspx?familyid=AD9FB937-62F9-4B9F-993B-F754F968B8A6&displaylang=en

Background Intelligent Transfer Service Version 1.5 (Client Component)
http://www.microsoft.com/downloads/details.aspx?FamilyId=8C6EF6C8-2ABF-43C7-AB51-E0C53303086D&displaylang=en

Background Intelligent Transfer Service Version 1.5 (Server Component)
http://www.microsoft.com/downloads/details.aspx?FamilyId=8C6EF6C8-2ABF-43C7-AB51-E0C53303086D&displaylang=en

--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter


XP User

unread,
Oct 14, 2003, 10:12:19 PM10/14/03
to
BITS newsgroup is microsoft.public.windows.backgroundtransfer

"John Greble" <no...@nohow.com> wrote in message news:<#jPujYqk...@TK2MSFTNGP12.phx.gbl>...

Mahmood Dhalla[MSFT]

unread,
Oct 17, 2003, 8:02:21 PM10/17/03
to
Hi John,
BITS provides COM API intended for C/C++ programs and are not scriptable.

See: "Using Windows XP Background Intelligent Transfer Service (BITS) with
Visual
Studio .NET" @
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/
WinXP_BITS.asp

This is an article in MSDN describing how to wrap BITS API into managed
classes that you can then script against.

Another alternative may be to use the BITS command line tool called
bitsadmin.exe that you can find in your XP CD under the "support" directory
in the "support.cab" file. This tool exposes some of the core BITS API
through command line and you can then write scripts against this tool.

We are planning to have managed API for BITS in our next release.

thanks.
--
Mahmood Dhalla
Microsoft, BITS

This posting is provided "As Is" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

BITS SDK:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/bits/bits/b
its_start_page.asp?frame=true
BITS FAQ:
http://microsoft.com/technet/treeview/default.asp?url=/technet/itcommunity/N
ewsgroups/BITS_FAQ.asp
"XP User" <xp...@hotmail.com> wrote in message
news:c1313573.03101...@posting.google.com...

0 new messages