Bitsadmin /addfile

 

Updated: April 17, 2012

Applies To: Windows Vista, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows 8

Adds a file to the specified job.

bitsadmin /AddFile <Job> <RemoteURL> <LocalName>

Parameter

Description

Job

The job's display name or GUID

RemoteURL

The URL of the file on the server.

LocalName

The name of the file on the local computer. LocalName must contain an absolute path to the file.

Add a file to the job. Repeat this call for each file you want to add. If multiple jobs use myDownloadJob as their name, you must replace myDownloadJob with the job's GUID to uniquely identify the job.

C:\>bitsadmin /addfile myDownloadJob http://downloadsrv/10mb.zip c:\10mb.zip
Show: