Generate an Unused Name for a New Folder


Updated: October 9, 2012

Applies To: Windows Server 2012 Essentials

Generates an unused name to use for a new folder.

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

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

The language/region code (such as en-us) of the new folder name.

Accept: application/xml  
Cookie: ASP.NET_SessionId=********************  
Canary: *********************  
Host: domainname  
Content-Length: 0  

HTTP/1.1 200 OK  

<string xmlns="">New Folder</string>  

Error CodeError Message
400The language/region code is not valid, or the path is too long or has unsupported characters (such as *\&#124;"<>).
401Access is denied to the requested resource.
404The path does not exist.

Web Service Methods