|
|
You can use IBackgroundCopyJob2::SetReplyFileName for this.
http://msdn.microsoft.com/library/en-us/bits/bits/ibackgroundcopyjob2_setreplyfilename.asp
--
Narayana Mahankali
Microsoft, BITS
This posting is provided "As Is" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
www.microsoft.com/info/cpyright.htm">http://www.microsoft.com/info/cpyright.htm
"Ed Klein" <egksf@xxxxxxxxxxxxx> wrote in message
news:eGxnxk7jFHA.3148@xxxxxxxxxxxxxxxxxxxxxxx
> I'm running into a serious problem related to this. If the file to be
> uploaded is on a read-only volume, BITS actually returns E_ACCESSDENIED
> when you call the Resume method to start the job. Is there any way to
> tell BITS to write the response file somewhere other than the original
> file's directory? Otherwise, I can't see any way to use an upload-reply
> job to transfer a read-only file.
>
> --
> Ed
>
>
>
> "Phil Wilson" <Phil.Wilson@xxxxxxxxxxxxxx> wrote in message
> news:OMGtxabgFHA.1416@xxxxxxxxxxxxxxxxxxxxxxx
>> Every upload job leaves a tmp file behind in the upload program's folder,
>> something like BIT740.TMP. Is there a setting that deletes these
>> automatically? The jobs transfer fine, they just leave these behind. The
>> jobs are upload reply.
>> --
>> Phil Wilson [MVP Windows Installer]
>> ----
>>
>>
>
>
|
|