Bitsadmin /addfile |
Applies To: Windows Server 2008 R2,Windows Server 2008,Windows Vista
Adds a file to the specified job.
Syntax
Copy Code |
|
bitsadmin /AddFile <Job> <RemoteURL> <LocalName> |
Parameters
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. |
Examples
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.
Copy Code |
|
C:\>bitsadmin /addfile myDownloadJob http://downloadsrv/10mb.zip c:\10mb.zip |