Jeff,
I'm using the MS wrapper for BITS (Microsoft.MSDN.Samples.BITS) and I
don't see any way to upload a file. Does anybody know of how to do that?
I'm not familiar with the managed code wrapper you mentioned, but BITS
(Background Intelligent Transfer Service) does support uploads since version
1.3. Here's the documentation on MSDN:
http://msdn.microsoft.com/library/de...start_page.asp
Whenever you create a new BITS job, you specify the job type. Normally this
is BG_JOB_TYPE_DOWNLOAD (I'm talking about native code here), but you could
also specify BG_JOB_TYPE_UPLOAD and then continue from there. If your
managed code wrapper doesn't support this, them you might need to call the
APIs directly.
Note that the BITS upload protocol is non-standard, although this shouldn't
be a problem if you use IIS with the BITS ISAPI extension installed. The
upload protocol itself is described here:
http://msdn.microsoft.com/library/en...d_protocol.asp
Hope this helps.
--
Regards,
Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi http://www.saunalahti.fi/janij/