BITS实现软件下载上传管理

本文介绍如何使用BITS接口进行文件传输,包括连接服务、创建任务、添加文件等步骤,并提及可通过更改作业属性来调整默认行为。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Using BITS

The following steps show how to perform a file transfer using the BITS interfaces.

To perform a file transfer

  1. Connect to the BITS service.
  2. Create a transfer job.
  3. Add files to the job.
  4. Start the job.
  5. Determine if BITS successfully transferred the files.
  6. Complete the job.

The previous steps show how to transfer files using the default property values for a job. You can change the default behavior by changing one or more of the job's property values. For example, you can change the priority that the job is processed relative to other jobs in the queue, specify your own proxy setting, and register to receive event notification when BITS has transferred the files. For more information, see Setting and Retrieving the Properties of a Job.

This section also contains the following topics:

 

For sample code that uses the BITS interfaces, see BITS Samples and Tools.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值