Export (0) Print
Expand All

Create a Folder

Updated: October 9, 2012

Applies To: Windows Server 2012 Essentials

Creates a new folder in a path where the user has the required permissions.

URI Template

POST services/builtin/FileOperationService.svc/folder?path={path}

{path}
A network path that begins with the server name, in the format /ServerName/FolderPath.

Sample Request

POST https://www.contoso.com/services/builtin/FileOperationService.svc/folder?path=servername/Company/abc123 HTTP/1.1
Accept: application/xml
Cookie: ASP.NET_SessionId=********************
Canary: *********************
Host: domainname
Content-Length: 0

Sample Response

HTTP/1.1 200 OK

Error Codes

 

Error Code Error Message

400

The path is too long or has unsupported characters (such as *\|"<>).

401

Access is denied to the requested resource.

409

The folder already exists.

See Also

Show:
© 2014 Microsoft