Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Development
BITS Reference
BITS Samples and Tools

The following section contains step-by-step C++ examples for Background Intelligent Transfer Service (BITS).

SectionPurpose
BITS C++ Application Examples C++ examples that demonstrate a range of tasks that can be completed by using BITS features.

 

In addition, BITS includes the following samples in Windows SDK. The samples are located under InstallDirectory\Samples\Web. Each sample includes a Readme.txt file that explains how to install and run the sample. You can download the Windows SDK from http://www.microsoft.com/downloads/details.aspx?FamilyID=c2b1e300-f358-4523-b479-f53d234cdccf&DisplayLang=en. BITS is included in the Core SDK.

SamplePurpose
BITS_IEShows how to use the BITS interfaces to download files from a server.
Controls

Shows how to use the BITS interfaces to control and configure BITS options, including using some of the peer cache administration methods.

BITS 4.0:  The Controls sample is deprecated.
DownloadsShows how to use the BITS interfaces to download files from a server.
HTTPHeadersShows how to use the BITS interfaces to modify HTTP headers.
PeerCaching

Shows how to use the BITS interfaces to enable a job to download from a peer.

BITS 4.0:  The PeerCaching sample is deprecated.
UploadsShows how to use the BITS interfaces to upload a file.
UploadSampleShows how to use the BITS interfaces to upload a file to a server and receive a reply.

 

BITS provides the following tool.

ToolPurpose
BITSAdmin Command-line tool to create download or upload jobs and monitor their progress.

 

 

 

Send comments about this topic to Microsoft

Build date: 3/15/2012

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Latest Samples Included in Vista      ScottWhite - MSFT ... jollyjanine   |   Edit   |   Show History
The samples on this page are included in the Microsoft Windows SDK for Windows Vista. Download the Microsoft Windows SDK for Windows Vista at http://www.microsoft.com/downloads/details.aspx?FamilyID=c2b1e300-f358-4523-b479-f53d234cdccf&;;DisplayLang=en. However, the ClientCert sample is not included. If you need help, consider asking questions in the BITS newsgroup microsoft.windows.public.backgroundtransfer). The newsgroup server is msnews.microsoft.com. Someone from the BITS team monitors the newsgroup and should be able to assist you if someone else on the newsgroup cannot.
Flag as ContentBug
Incomplete SDK Download?      FlashTampa   |   Edit   |   Show History
The available downloads for this SDK (even older version) do NOT have the examples cited above!! I'm most interested in the CLIENTCERT sample and it's simply not available.. help! (I'm trying to get BITS to upload to a self-signed cert/SSL connection with ZERO luck!) Only BITS_IE and UPLOAD folders are present after both installs... :-/
Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker