Like everything in IIS 7, the implementation of BITS service is totally different than in IIS 6. To enable it, open the Management console and click on Features:
Features Summary list will appears, click on Add Features link on the right:
On the Add Features wizard select the following elements:
- Background Intelligent Transfer Service (BITS)
- Compact Server
- IIS Server Extension
Click Next.
And Install.
When process is finished, click Close
Now, if you go to IIS Manager console and select your web site, you can see that you have a new feature installed above the Other section name BITS Uploads:
Double click on the BITS Uploads icon to enable and configure it
Select Allow clients to upload files to enable BITS on this web site, and select Customize settings if you want to modify the default ones. Additionally to the options that we have in IIS 6 we have some new ones like the maximum file size
Send notifications to a URL each time a job is completed
To limit the number of sessions per user
Or enable server farm support.
When you finished, click on Apply link. Like in IIS6 the BITS structure will be created on the web site:
Now you can to proceed in the same way than Windows 2003. You can create a new folder and grant access to it to the security groups than you wont. Then go to the IIS Manager console, click on your web site and select Add Virtual Directory link:
Type an alias for the Virtual Directory, point it to the folder created on the last step and click OK to add it to your site:
Now you can upload/download files to this folder using a URL similar to that:
Well, now we are ready to talk about how to upload/download files.
No hay comentarios:
Publicar un comentario