C# – How to create folder in Sharepoint on specified url using web services

csharepoint-2007

Currently i am using DWS CreateFolder function to create folder on Sharepoint (using C#).
But problem i am facing is that:

As per CreateFolder Defination:

http://msdn.microsoft.com/en-us/library/ms774480.aspx

(Def: Creates a subfolder in the document library of the current Document Workspace site)

It is creating folder in current workspace i.e not on url path i am giving.(in my case it is creating folder in Style Library)

My Previous post:

DWS CreateFolder() files are getting created on shareppoint "Style Library"

Is there any other way to createfolder?

Regards,
Jene

Best Answer

Use "MKCOL" method of "HttpWebRequest" .