Questions tagged [bits-service]

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

28 questions
10
votes
0 answers

How can I read Background Intelligent Transfer Service (BITS) log?

How can I read Background Intelligent Transfer Service (BITS) log? I found the following blog: http://blogs.msdn.com/b/heaths/archive/2008/07/07/enable-bits-logging.aspx but it's creates binary log file that I can't read on…
Dor Cohen
  • 16,769
  • 23
  • 93
  • 161
8
votes
2 answers

A field initializer cannot reference the non-static field, method, or property

Following is my code : private BitsManager manager; private const string DisplayName = "Test Job"; public SyncHelper() { manager = new BitsManager(); } BitsJob uploadBitsJob = manager.CreateJob(DisplayName, JobType.Upload); I…
Madurika Welivita
  • 890
  • 1
  • 10
  • 19
6
votes
2 answers

Background Intelligent Transfer Service and Amazon S3

I'm using SharpBITS to download file from AmazonS3. > // Create new download job. BitsJob > job = this._bitsManager.CreateJob(jobName, JobType.Download); > // Add file to job. > job.AddFile(downloadFile.RemoteUrl, downloadFile.LocalDestination); >…
4
votes
1 answer

Background Intelligent Transfer Service(BITS) download speed really slow?

I am using BITS 2.1 version, on Window XP SP3. I have 2 files, to download using BITS, one is around 9 Mb, other around 1 Mb. I created a BITS job in my C# code, added the 2 files to this Job and started the download. The job has a priority of…
theraneman
  • 1,620
  • 4
  • 18
  • 32
4
votes
3 answers

How to use BITS in Powershell to upload / download files?

I've found some pages in Google regarding this, but they are either not complete or outdated. Is there a definite guide somewhere? Thanks
Nestor
  • 13,706
  • 11
  • 78
  • 119
3
votes
5 answers

Does .NET have a BITS module?

I have been researching in to using Background Intelligent Transfer Service. Most articles I have seen says there is no official .NET port but they recommend using sharpBITS. I will use sharpBITS if I have to but I noticed that all of the articles…
Scott Chamberlain
  • 124,994
  • 33
  • 282
  • 431
3
votes
1 answer

How to run script on BITS download completion

I am trying to automate the download and installation of a large application that is several hundreds of MB to a few GB in size. I am looking into using BITS and powershell to asynchronously download the application and then launch the setup. Using…
Stephen Nutt
  • 3,258
  • 1
  • 21
  • 21
3
votes
2 answers

Is there .Net4 BackgroundCopyManager.dll?

I have project I want to upgrade to .Net4 and it use BackgroundCopyManager.dll. Anyone knows where can I download it's .Net4 version? Thanks you can see BackgroundCopyManager.dll manifest here: // Metadata version: v2.0.50727 .assembly extern…
Dor Cohen
  • 16,769
  • 23
  • 93
  • 161
2
votes
1 answer

How to limit the download speed and scheduling of Background Intelligent Transfer Service (BITS) jobs from code?

I'm trying to figure out how I can do the following stuff from code: Limit the download speed of BITS jobs. Limiting the downloading of BITS jobs to certain hours of the day. I'm aware that you control this through group policies, but I'm trying…
Ran
  • 391
  • 1
  • 4
  • 10
2
votes
3 answers

VB.NET and BITS - Background Intelligent Transfer Service

Has any one used BITs in VB.NET? If so, do you have code samples and advice? I was looking at SharpBits but I have a VB project that I wanted to use BITS for. Is it possible to use it with my VB.NET program? (.NET 2.0) I was tempted to try to…
Cj Anderson
  • 841
  • 3
  • 13
  • 20
2
votes
1 answer

P/Invoke declaration does not seem correct

I was handed down a library that was developed in house as a wrapper for BITS. I was told that if you wanted to change between the 64bit and 32bit build you would need to swap out these two commented lines. [StructLayout(LayoutKind.Explicit, Size =…
Scott Chamberlain
  • 124,994
  • 33
  • 282
  • 431
2
votes
1 answer

BITS Credential Problem

I am facing the BITS Security problem. I am creating the application where I am using t BITS to upload and download the file to the IIS server. Now, my requirement is that I want to make my Virtual Directory password protected. I have done it…
Shivi
  • 1,075
  • 9
  • 24
  • 42
2
votes
1 answer

BITS client fails to specify HTTP Range header

Our system is designed to deploy to regions with unreliable and/or insufficient network connections. We build our own fault tolerating data replication services that uses BITS. Due to some security and maintenance requirements, we implemented our…
user256890
  • 3,396
  • 5
  • 28
  • 45
2
votes
5 answers

How do I get a list of files from a web directory?

How do I get a list of files from a web directory? If I access the web directory URL the internet browser list all the files in that directory. Now I just want to get that list in C# and download them in BITS (Background Intelligent Transfer…
Eric
  • 21
  • 1
  • 1
  • 2
2
votes
2 answers

Using HTTPS with BITS (Background Intelligent Transfer Service)

I am writing a client application that needs to send a file via BITS to my server. I have everything working for the most part, but I can't get the BITS connection to operate securely with HTTPS. Right now I'm just using basic authentication…
DashRantic
  • 1,448
  • 4
  • 19
  • 32
1
2