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 getdisplayname and bitsadmin geterror command in Windows
- Bitsadmin getmodificationtime and bitsadmin getnoprogresstimeout command
- 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
- Bitsadmin cancel command in Windows
- Bitsadmin command getowner, get priority and getproxybypasslist
Maybe you are interested
9 ways to fix the error of not being able to save files as JPEG or PNG in Photoshop
Download standard and beautiful Word file experience initiative cover template
How to use the file search command on Windows, find saved files
How to split sheet into multiple separate Excel files
How to merge PDF files, merge and join multiple PDF files into a single file
How to clean up iPhone junk, delete junk files to free up iPhone storage