bitsadmin addfile

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/ c:\

Additional references

Command-Line Syntax Key