Hi friends,
i am facing the BITS Security problem.
I am creating the application where i am using t BITS to upload and download the file to the IIS server. Now, my requirement is that i want to make my Virtual Directory password protected. i have done it through IIS>Directory Security i disallow the anonymous access. But from the client side i m not able to set the ID and password. my code is:
SharpBits.Base.BitsCredentials credz = new SharpBits.Base.BitsCredentials();
credz.UserName = "[email protected]";
credz.Password = "ad_10ots";
credz.AuthenticationScheme = SharpBits.Base.AuthenticationScheme.Digest;
credz.AuthenticationTarget = AuthenticationTarget.Server;
BitsJob newJob = manager.CreateJob("vv", JobType.Upload);
newJob.AddFile("http://192.168.1.48/upload/abc.txt", @"C:\Temp\xyz.txt");
newJob.AddCredentials(credz);
newJob.Resume();
But its not working... Please, Help it really urgent.