| Author |
Message |
dln
Guest
|
Posted:
Sun Oct 02, 2005 12:58 am Post subject:
Search for the existence of Public Folder via WebDAV |
|
|
Hello all,
I'm a real newb when using WebDAV so please excuse the simplicity of this
question. How do I query for the existence of a public folder using WebDAV?
I'm not interested in the contents of the folder itself (yet), just whether
or not it exists in the Exchange Server's public folder store. I'm thinking
I need to use the "SEARCH" method, but what SQL would I need to provide?
Thanks.
|
|
| Back to top |
|
 |
Henning Krause [MVP - Exc
Guest
|
Posted:
Sun Oct 02, 2005 12:58 am Post subject:
Re: Search for the existence of Public Folder via WebDAV |
|
|
Hello,
if you know exactly the url of the folder, you can simply do a PROPFIND on
the folder and see if it returns a 404 error, or a 207 status code with a
response code of 404.
If you do not know the exact url, you must stick to the SEARCH command. See
(http://msdn.microsoft.com/library/en-us/e2k3/e2k3/_webdav_methods.asp).
Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de
"dln" <dnadon_nospm@hotmail.com> wrote in message
news:ew1htusxFHA.4080@TK2MSFTNGP10.phx.gbl...
| Quote: | Hello all,
I'm a real newb when using WebDAV so please excuse the simplicity of this
question. How do I query for the existence of a public folder using
WebDAV? I'm not interested in the contents of the folder itself (yet),
just whether or not it exists in the Exchange Server's public folder
store. I'm thinking I need to use the "SEARCH" method, but what SQL would
I need to provide?
Thanks.
|
|
|
| Back to top |
|
 |
dln
Guest
|
Posted:
Sun Oct 02, 2005 4:58 pm Post subject:
Re: Search for the existence of Public Folder via WebDAV |
|
|
Great! Thanks.
"Henning Krause [MVP - Exchange]" <newsgroups.remove@this.infinitec.de>
wrote in message news:eYNu0auxFHA.2136@TK2MSFTNGP10.phx.gbl...
| Quote: | Hello,
if you know exactly the url of the folder, you can simply do a PROPFIND on
the folder and see if it returns a 404 error, or a 207 status code with a
response code of 404.
If you do not know the exact url, you must stick to the SEARCH command.
See
(http://msdn.microsoft.com/library/en-us/e2k3/e2k3/_webdav_methods.asp).
Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de
"dln" <dnadon_nospm@hotmail.com> wrote in message
news:ew1htusxFHA.4080@TK2MSFTNGP10.phx.gbl...
Hello all,
I'm a real newb when using WebDAV so please excuse the simplicity of this
question. How do I query for the existence of a public folder using
WebDAV? I'm not interested in the contents of the folder itself (yet),
just whether or not it exists in the Exchange Server's public folder
store. I'm thinking I need to use the "SEARCH" method, but what SQL
would I need to provide?
Thanks.
|
|
|
| Back to top |
|
 |
|
|
|
|