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
11
votes
2 answers

Downloading large files in Windows command prompt / PowerShell

I'm kind of running out of options now... Attempt 1 Use iwr in Powershell. It works, shows progress but its 10X slower and doesn't flush until while file is in memory :(. powershell -command "& { iwr…
Shital Shah
  • 63,284
  • 17
  • 238
  • 185
10
votes
3 answers

Is TIdHTTPServer Compatible with Microsoft BITS

We are trying to write an update server for our software using the TIdHTTPServer component. Currently we are serving an XML file that lists the available updates and their file versions etc.., when the client program finds a updated version it…
Mike Taylor
  • 2,376
  • 2
  • 17
  • 33
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
9
votes
1 answer

Function to escape characters in paths

Is there a function in PowerShell for escaping characters in paths? NB: I'm aware that most cmdlets which provide a Path parameter also provide a LiteralPath parameter which resolves this issue. This question is more from curiosity than need, as in…
JohnLBevan
  • 22,735
  • 13
  • 96
  • 178
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
8
votes
2 answers

What's the best freely available C# wrapper for BITS?

BITS, the Windows background intelligent transfer service. Looks like there are a few C# wrappers around that manage the interop to BITS, does anybody have any opinions on the best one?
Dan
  • 2,338
  • 17
  • 28
6
votes
2 answers

Background Intelligent Transfer Service In C#

Anyone successfully using this in c# or is there a better alternative to this? Also any good working project that I can look at and get a good feel? most projects i have come across is in C++ and was looking for a C# project
user38230
  • 645
  • 3
  • 13
  • 31
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); >…
5
votes
5 answers

Programmatically determining maximum transfer rate

I have a problem that requires me to calculate the maximum upload and download available, then limit my program's usage to a percentage of it. However, I can't think of a good way to find the maximums. At the moment, the only solution I can come up…
Collin Dauphinee
  • 13,664
  • 1
  • 40
  • 71
5
votes
1 answer

BITS Transfer file with multi domain

how can I transfer files between servers on different domains? i.e PS C:\Users\Desktop> Import-Module bitstransfer PS C:\Users\Desktop> $c=get-credential PS C:\Users\Desktop> start-bitstransfer -Credential $c -source \\server\c$\test.txt…
rschirin
  • 1,939
  • 10
  • 34
  • 44
5
votes
1 answer

Powershell BitsTransfer https basic authentication syntax

I'm new to PowerShell scripting. I'm struggling with the MS documentation and finding few examples to work with. I'm trying to automate the weekly download of a large txt file from ntis.gov with a BitsTransfer script. I'm using .ps1 script because…
Colin
  • 930
  • 3
  • 19
  • 42
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

Is BITS still a good background update technology?

One of my hobby applications uses a SQLite back end to store the application data. The application is setup so that the user can click the typical "Check for Updates" button, which will query a webservice to see if an update is available. If it is,…
Dillie-O
  • 29,277
  • 14
  • 101
  • 140
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
4
votes
2 answers

Configuring Request Headers in BITS (Microsoft Background Intelligent Transfer Service) in C#

I am trying to download a file through BITS and the job is failing ( giving me a error) as i failed to mention "referer" in http header in the GET request. BitsManager manager = new BitsManager(); …
justapples
  • 63
  • 5
1
2 3 4 5 6 7