The command bitadmin addfilewithranges in Windows
The command bitadmin addfilewithranges adds files to the specified task. BITS downloads the specified range from the remote file.
Syntax
bitsadmin / AddFileWithRanges
Parameters
ParameterDescriptionJob Display name of the task or GUID. RemoteURL RemoteURL is the URL of the file on the server. LocalName LocalName is the name of the file on the local computer. LocalName must contain the absolute path for the file. RangeList RangeList is a list of length and offset pairs separated by commas. Use a colon to separate the offset value from the length value.Additional information
Token eof is a valid length value in offset and internal length pairs . It instructs the service to read to the end of the specified file.
Note: The AddFileWithRanges command will not work with the error message 0x8020002c, when the zero length range is specified with another scope of the same deviation, such as: C: bits> bitsadmin / addfilewithranges j2 http : //bitsdc/dload/1k.zip c: 1k.zip 100: 0,100: 5.
Error message: Unable to add file to job - 0x8020002c . List of byte ranges contains some overlapping ranges, not supported.
Alternatives: Don't specify zero first range of lengths. For example: bitsadmin / addfilewithranges j2 http:///bitsdc/dload/1k.zip c: 1k.zip 100: 5,100: 0.
For example
The following example requires BITS to convert 100 bytes from offset 0, 100 bytes from offset 2000 and the remaining bytes from 5000 offset to the end of the file.
C:> bitsadmin / addfilewithranges http:///downloadsrv/10mb.zip c: 10mb.zip "0: 100,2000: 100,5000: eof"
See more:
- Command bitsadmin addfileset in Windows
- Bitsadmin addfile command in Windows
- The bcdedit command in Windows
You should read it
- Bitsadmin getfilestransferred and bitsadmin commands getminretrydelay
- Order bitsadmin getnotifycmdline, getnotifyflags, getnotifyinterface
- The bitsadmin getbytestransferred and bitsadmin commands getcompletiontime in Windows
- Bitsadmin complete command in Windows
- Bitsadmin command getproxylist, getproxyusage and getreplydata
- The bitsadmin geterrorcount command and bitsadmin getfilestotal in Windows
- Bitsadmin command getaclflags and bitsadmin getbytestotal in Windows
- Bitsadmin create command in Windows
May be interested
- Bitsadmin cancel command in Windowsthe bitsadmin cancel command deletes the task from the queue and deletes all temporary files associated with that task.
- Knowledge of TCP / IP network protocolstcp / ip or transmission control protocol / internet protocol is a set of communication protocols used to connect network devices on the internet.
- What kind of SSL certificate does your website need?google is one of the most active. recently, they have managed the web strongly by adding ssl certificates (or https).
- Learn about Amazon EC2 serviceamazon elastic compute cloud (ec2) is the foundation for the cloud computing environment provided by amazon. ec2 makes it simple and easy to create, launch and backup virtual applications for individuals or businesses.
- Things to do after buying a new computerfor most conventional electronic devices, you only need to plug in the power to be used immediately without much adjustment. but with the computer you need to make some changes before putting it into everyday use.
- What is a third-party application?third-party applications are applications that are not created by the device's own manufacturer or its own unit.