File upload using BITS (Background Intelligent Transfer Service) and AJAX
does anyone know开发者_JAVA技巧 if it is possible to do a file upload using the BITS protocoll? The protocol is HTML1.1, so in theory it should be possible.
Any ideas are appriciated.
Thanks, . Ivar
Yes, it is possible ... that's what BITS is for. The BITS client machine can initiate one of 3 job types: 1) download, 2) upload, and 3) upload-with-reply.
Usually, people use this by setting up an IIS virtual directory with the BITS Server Extensions, which means IIS will play the server role in the BITS protocol. But the protocol is documented, which means you can write your own BITS server (and your own BITS client as well if you want).
Here's a link to the protocol documentation, and here's a link to the general BITS documentation.
精彩评论