Steve
Mon Mar 03 15:24:35 CST 2008
"Karl E. Peterson" <karl@mvps.org> wrote in message news:OWUSSjWfIHA.4056@TK2MSFTNGP06.phx.gbl...
> Hi Steve --
>
>>> I've googled all about, but haven't found a good reference to what the
>>> fpWebPublishFlags actually mean. Can anyone point me to such definitions?
>>> Specifically, I'm wondering about how to force an overwrite of remote files in
>>> the case of "conflict."
>>
>> got an answer from a MSFT programmer who says to use:
>>
>> WebPublishAddToExistingWeb
>> WebPublishNoDeleteUnmatched
>> WebPublishCopyAllFiles
>
> That just doesn't seem to be "it", or I'm not doing a good job of communicating what I'm after. For some
> reason, I have a web where if I publish manually (in FrontPage 2003), it tells me that some files are "in
> conflict" and asks me what to do. In this case, my response is to "overwrite remote" files. That's what
> I'm after. It doesn't send every file, just those that are in conflict. But when I do it in code, I try
> like this:
>
> .ActiveWeb.Publish m_PublicUrl, fpPublishIncremental Or fpPublishAddToExistingWeb, user, pass
>
> And those files that FrontPage finds "in conflict" are left unchanged on the remote system. I'd hoped there
> was a combination short of pushing *every* file that would still send these trouble files. I really, truly
> only want to publish the changed files. But it's not happening. Actually, I suppose I could test the idea
> with the CopyAll flag, but I'm almost betting that's not going to override the "in conflict" detection
> either, given the Incremental flag isn't.
>
>> and who also found me a link for the enumeration info
>>
http://msdn2.microsoft.com:80/en-us/library/bb258297.aspx
>
> That's the list I was looking for! :-)
>
> Sure as heck is a confusing set of flags, isn't it? I've yet to decipher the twisted "logic" behind that
> WebPublishAddToExistingWeb flag!
>
> Thanks... Karl
>
Karl,
The way I usually resolve conflicts is to open the local and then in folder view click "Remote web site,"
So I have them both open.
I then Ctrl + click the local file(s) for each remote file that shows a conflict and then right click and
select "Publish selected files."
--
Steve Easton