View Single Post
  #4 (permalink)  
Old 06-05-2007, 09:00 AM
Justin Rich
Newsgroup Contributor
 
Posts: n/a
Re: redirecting to a webdav URL

I didnt really read over it too well, but the first code snipplet i used
seemed to work, kind of.

-----
<style>
a {behavior: url(#default#AnchorClick);}
</style>

<a href = "http://your_server.com/your_directory/your_file.htm"
folder = "http://your_server.com/your_directory/"
target = "_top"
>

Open in Web Folder View
</a>
-------

i changed the href and folder value to be the same (just wanted to view the
contents, not open a file) and that seemed to work ok but really all it did
was convert the http path i provided to a UNC path.

wasnt too impressive. everything else i saw basically bashed MS for how they
handled webdav with IE.

I know Sharepoint does this sort of thing so it must be possible... but i
also know that sharepoint basically uses webdav as explained above, ie it
converts it to a UNC..

Justin


"Andy Fish" <ajfish@blueyonder.co.uk> wrote in message
news:OfHxKg4pHHA.4496@TK2MSFTNGP06.phx.gbl...
> thanks justin - I would never have found that.
>
> I can't actually get it working at the moment. it seems to repeatedly ask
> for 401 authentication, and the one time I did get it working, it seemed
> to only be able to view folders and not directly open a word document.
>
> still, it's better than nothing :-)
>
> Andy
>
> "Justin Rich" <jrich523******.com.spam> wrote in message
> news:%23Xdtz$2pHHA.208@TK2MSFTNGP05.phx.gbl...
>> never realized this was such a problem
>> this was the best i could locate.
>>
>> http://msdn2.microsoft.com/en-us/library/ms531432.aspx
>>
>>
>> Justin
>>
>> "Andy Fish" <ajfish@blueyonder.co.uk> wrote in message
>> news:eqdXFS2pHHA.1776@TK2MSFTNGP05.phx.gbl...
>>> sorry for the blatent cross-posting but but there doesn't seem to be a
>>> webdav group anywhere.
>>>
>>> when I create webdav entries in "my network places" the URL shown is
>>> just a normal http url. if you click on it, it shows up in IE as webdav,
>>> but if you just type the same URL into IE it shows as a web page. There
>>> seems to be some magic going on behind the scenes so that explorer/IE
>>> knows the difference.
>>>
>>> my problem is this: inside a web application, I want to open up a word
>>> document at a specific url, but this must be done by webdav, not by a
>>> standard HTTP GET
>>>
>>> is there any way of doing this? maybe some javascript jiggery pokery or
>>> HTTP header i can send?
>>>
>>> failing that, let's assume I have a something installed in windows that
>>> wants to launch a word document as webdav. is there any way of achieving
>>> that ?
>>>
>>> sorry if I have got the terminology wrong but I'm sure you know what I
>>> am trying to achieve
>>>
>>> Andy
>>>
>>>

>>
>>

>
>



Reply With Quote

 
Old 06-05-2007, 09:00 AM