Questions tagged [microsoft-bits]

Background Intelligent Transfer Service (BITS) is a component of Microsoft Windows XP and later operating systems that facilitates prioritized, throttled, and asynchronous transfer of files between machines using idle network bandwidth.

Background Intelligent Transfer Service (BITS) is a component of Microsoft Windows XP and later operating systems that facilitates prioritized, throttled, and asynchronous transfer of files between machines using idle network bandwidth. It is most commonly used by recent versions of Windows Update, Microsoft Update, Windows Server Update Services, and Systems Management Server to deliver software updates to clients, Microsoft's anti-virus scanner Microsoft Security Essentials to fetch signature updates, and is also used by Microsoft's instant messaging products to transfer files. BITS is exposed through Component Object Model (COM), making it possible to use with virtually any programming language.

http://en.wikipedia.org/wiki/Background_Intelligent_Transfer_Service

102 questions
1
vote
0 answers

Download large file in LAN using C#

I am making an application which installs software on request from user. I am having zip files saved on server for software installation. On request approval i download the file on the requested machine using Microsoft BITS service. But there are…
Rupali
  • 105
  • 2
  • 13
1
vote
1 answer

Does the Background Transfer API use BITS?

The Background Transfer API of the Windows Runtime has nearly identical features as BITS has. I assume that Microsoft reuses BITS in this API (BITS is well implemented and is already COM). Can someone clarify?
Jürgen Bayer
  • 2,993
  • 3
  • 26
  • 51
1
vote
1 answer

Perform a async BITS transfer then execute a RESTful request

I have a powershell script where I perform a upload then I must do a RESTful request about the file I just uploaded. Right now it works great as a non-asynchronous method Start-BitsTransfer -Source $fullPath -Destination…
Scott Chamberlain
  • 124,994
  • 33
  • 282
  • 431
1
vote
3 answers

.NET 3.5 Download Large Files

I want to allow users to download a large file - around 4GB. I'd like them to have the ability to resume failed downloads. Can anyone make any recommendations on the best way to do this? Or are there any off the shelf components out there that ppl…
David
1
vote
1 answer

Background Intelligent Transfer Service (BITS) - Azure Blob compatability

Does anyone have any familiarity or experience using BITS for downloads from Azure blob storage and/or CDN? There is surprisingly little information about BITS and Azure that I have found via internet searches and everything seems to relate to…
dbstrat
  • 141
  • 1
  • 9
0
votes
1 answer

BITS jobs get cancelled without a good reason

I created a Windows service to upload files from client to a shared folder on a server having a shared permission with everyone has a full control over it using Microsoft BITS service, this service runs with the local system account. The issue is…
Ahmed Nazmy
  • 391
  • 1
  • 8
  • 20
0
votes
1 answer

Using Background Intelligent Transfer (BITS) with VB.Net

I'm trying to use MS BITS (Background Intelligent Transfer service) to upload files from many computers to a server, but the only useful example I read was in StackOverFlow, and here it is: Imports SharpBits.Base Using b As New…
Ahmed Nazmy
  • 391
  • 1
  • 8
  • 20
0
votes
1 answer

BITS Download Quota

I have an application which downloads files from a server and after a certain amount of downloads in a single machine it fails, unless I run the executable as administrator (or of course debug from VS which is running as admin). I think BITS…
TheWolf
  • 1,675
  • 4
  • 22
  • 34
0
votes
0 answers

IIS Virtual Directory And Content-Range Header

I have created a virtual directory in IIS to serve some files over https (this virtual directory is pointing to a location on the disk with some files). I've enabled directory browsing and I am able to download the files. When I try to use BITS to…
Crust3
  • 493
  • 1
  • 6
  • 19
0
votes
2 answers

How do you set up the correct HTTP Response object for a Range request coming from BITS (Background Intelligent Transfer Service)?

I have a requirement to implement a web-service that can issue files to the bits (Background Intelligent Transfer Service). The language is ASP.NET (C#). The problem I am having is with the "range" stuff. My code currently receives the http…
user941051
  • 23
  • 1
  • 4
0
votes
2 answers

How to download a file using BITS in a Packer provisioner?

I'm writing a provisioning script in PowerShell for a Packer-built Windows image on a CI pipeline. This process involves downloading several large files. I'm under the impression that BITS is faster than Invoke-WebRequest, so I've decided to use…
JesseTG
  • 2,025
  • 1
  • 24
  • 48
0
votes
3 answers

Retry BITS file transfer for failed downloads with Powershell

I'm doing a BITS transfer of daily imagery from a web server and I keep getting random drops during the transfer. As it's cycling through the downloads I get the occasional "The connection was closed prematurely" or "An error occurred in the secure…
cpuguru
  • 3,763
  • 5
  • 33
  • 31
0
votes
1 answer

How can I retrieve the state of my BITS Job?

i am using the Microsoft.ConfigurationManagement.Messaging package to use the BITS. So far I have written following piece of code: BitsJob job = new BitsJob(BitsJobType.Download, displayName); BitsJobState jobState; job.AddFileToJob(new Uri(source),…
Marcel Müller
  • 368
  • 3
  • 17
0
votes
1 answer

BITS credential problem

I have a service to download file using credential domain\user but get this error : ErrorCode [-2147023582] 80070522 Description [A required privilege is not held by the client.] ErrorContext [RemoteFileError] at Windows Server 2003 64 bits I'm…
lsalamon
  • 7,998
  • 6
  • 50
  • 63
0
votes
1 answer

Windows 2012 BitsTransfer

I have few servers with Windows 2012, but im not able to use Start-BitsTransfer cmdlet. The same cmdlet works fine on Windows server Windows 2012 R2 and 2016. Do you know what should be enabled to in Windows Server 2012? Start-BitsTransfer -source…
No Name
  • 1
  • 1