Search for the existence of Public Folder via WebDAV
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
Search for the existence of Public Folder via WebDAV

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
dln
Guest





Posted: Sun Oct 02, 2005 12:58 am    Post subject: Search for the existence of Public Folder via WebDAV Reply with 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
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 Reply with 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...
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 Reply with quote

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
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
New Topics Powered by phpBB