This project is read-only.

AddFile and the result mean no file are added

Feb 12, 2014 at 7:53 PM
   string jobDisplayName = "DownlaodJob";
                jobDisplayName = jobDisplayName + Guid.NewGuid().ToString();
                BitsJob job = m_bitsManager.CreateJob(jobDisplayName, JobType.Download);
                job.Priority = JobPriority.High;
                job.MinimumRetryDelay = 60;  //Retry delay: 1 minutes
                job.NoProgressTimeout = 60 * 30; // No progress timeout: 30 minutes;

                job.NotificationFlags = NotificationFlags.JobTransferred | NotificationFlags.JobErroroccurred;

                jobId = job.JobId;
                job.AddFile(remoteName, localName);

after Added file, and the FileTotal is still 0, which should be incorrect. 

not sure what's going on? anybody know?

Thanks,T