大网数据广告活动
网络与域名解析

About BITS

· 52CE 我爱测

Use Background Intelligent Transfer Service (BITS) to transfer files asynchronously between a client and a server.

Use Background Intelligent Transfer Service (BITS) to download files from or upload files to HTTP web servers or SMB file servers.

BITS continues to transfer files after an application exits as long as the user who initiated the transfer remains logged on and a network connection is maintained. BITS will not force a network connection. BITS resumes transfers after a network connection that had been lost is reestablished or after a user who had logged off logs back in. For more information, see Users and Network Connections.

BITS is mindful of the current network cost and congestion so that a background job interferes as little as possible with the user's foreground experience. BITS uses idle network bandwidth to transfer the files and will increase or decrease the rate at which files are transferred based on the amount of idle network bandwidth available. If a network application begins to consume more bandwidth, BITS decreases its transfer rate to preserve the user's interactive experience. BITS uses app-specified transfer policies to prevent files from transferring on costed network connections.

BITS is also mindful of power usage. Starting with the Windows 10 May 2019 Update, BITS will transfer files when the machine is in Modern Standby mode and the machine is plugged in.

The BITS application can use the different BITS priority levels to let BITS intelligently pick which transfer jobs to run. Higher priority jobs preempt lower priority jobs. Jobs at the same priority level share transfer time, which prevents a large job from blocking small jobs in the transfer queue. Lower priority jobs do not receive transfer time until all higher priority jobs are complete or in an error state.

BITS uses Windows BranchCache for peer caching. For more information, see the BranchCache Overview.

Universal Windows Platform (UWP) developers should use the Windows.Networking.BackgroundTransfer API and not the BITS API.

There are three types of transfer jobs. A download job downloads files to the client, an upload job uploads a file to the server, and an upload-reply job uploads a file to the server and receives a reply file from the server application.

The following topics provide more detailed information about BITS:

Use the BITS interfaces to write applications that create and monitor transfer jobs. For details on using the BITS interfaces, see Using BITS.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 7/12/2019
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。