| Subject: | AddFile Error |
|---|---|
| From: | "Mustafa B." |
| Date: | 13 Jun 2005 01:02:05 -0700 |
| Newsgroups: | microsoft.public.windows.backgroundtransfer |
Hi,
I am trying to transfer 2000+ tif documents from a remote file server.
When I try to add a file to the job I get an "The parameter is
incorrect" error. Any ideas,
thanks in advance
Mustafa.
here is a snippet from my code:
private void CreateJob(string jobName, string[] localFileName ,
string[] sourceFileName)
{
try
{
if(sourceFileName.Length > 0)
{
this._bitsjob =
this._bitsman.CreateJob(jobName + " started at " +
DateTime.Now.ToString());
// this._bitsjob.Priority =
JobPriority.Foreground;
// this._bitsjob.NoProgressTimeout =
this._job.NoProgressTimeout;
// this._bitsjob.MinimumRetryDelay =
this._job.MinimumRetryDelay;
for(int i=0;i<sourceFileName.Length;i++)
{
if(!this.DoesFileExists(localFileName[i]))
{
this._bitsjob.AddFile(localFileName[i],sourceFileName[i]);
}
}
this._bitsjob.ResumeJob();
}
}
}
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Send Message to Background window, Manoj |
|---|---|
| Next by Date: | Re: BITS Problem with WSUS, Rene Zimmermannn |
| Previous by Thread: | Send Message to Background window, Manoj |
| Next by Thread: | Re: AddFile Error, Phil Wilson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |