Geeks With Blogs
Blog Moved to http://podwysocki.codebetter.com/ Blog Moved to http://podwysocki.codebetter.com/
Update:  Put a comment in if you want the C# version of this code and I will get it to you

In the previous installment, I actually gave the source code which is available if you go to the Day 9 post.  Anyhow, what we're going to cover today is setting up your IIS to allow for BITS upload functionality.  Several things must be done in order for uploads to be supported on your machine.
 
First, we need to install the BITS Extensions for IIS.  In order to do so, you must do the following:
  1. Go to Add/Remove Programs from the Control Panel
  2. From the Add/Remove Programs and click on the Add/Remove Windows Components item on the left menu
  3. Click on Application Server and click Details
  4. Click on Internet Information Services (IIS) and click Details
  5. Check the Background Intelligent Transfer Service (BITS) Server Extensions and click OK.
  6. Make sure you have the Windows CD available in case it needs and, and most likely it will.
Step 5 should look like this:
 
 
Now that we got that installed, let's go and create a virtual directory in IIS for the upload location.  Go ahead and create your virtual directory much as you would for any other.  This virtual directory does not require Write capability, as BITS takes care of that for you, so it is best to turn it off.  If you are allowing anonymous access, the anonymous web user must have change permissions on that physical folder.     
 
Once you do have set up the virtual directory, right click on it and go to Properties.  You will now notice a BITS Server Extension tab.  Below is a screenshot of what it looks like:
 
 
As you can see, we can override some of the settings which includes notifications, size limits, deleting incomplete jobs, etc.  Most of the time, we really don't need to touch those values.
 
In the next post in this series, I'll do a simple program on how to upload a file to my local IIS instance.
 
 
Posted on Sunday, June 18, 2006 8:05 PM Microsoft , Background Intelligent Transfer Service , .NET , Windows | Back to top


Comments on this post: Day 10 of the Background Intelligent Transfer Service (BITS) Managed Wrapper

# re: Day 10 of the Background Intelligent Transfer Service (BITS) Managed Wrapper
Requesting Gravatar...
Regards.

Is your blog still "alive"? http://podwysocki.codebetter.com/ does not come up.

I am interested in the Managed BITS series of posts. Any new movement on that front? Could you share the latest code from those posts (whatever latest means)?

Thanks

Sanin
Left by Sanin on Aug 25, 2009 4:19 PM

# re: Day 10 of the Background Intelligent Transfer Service (BITS) Managed Wrapper
Requesting Gravatar...
Yes? No? I guess not...
In case you see this at a later date, please email me at dotnetguru@gmail dot com

Thanks

Sanin
Left by Sanin on Aug 27, 2009 8:33 AM

# re: Day 10 of the Background Intelligent Transfer Service (BITS) Managed Wrapper
Requesting Gravatar...
Hi, Where is the Sample program???
Left by Tanveer on Sep 06, 2011 3:24 AM

Your comment:
 (will show your gravatar)


Copyright © Matthew Podwysocki | Powered by: GeeksWithBlogs.net