Share via


GrooveFilesBase64.UpdateFile Operation

The UpdateFile operation updates a file or a folder. For a file, it updates the file name and, optionally, the file contents. For a folder, it updates the folder name and the AutoDownload and DownloadSizeLimit elements.

HTTP Post URL

The HTTP Post URL targets the file or folder being updated. This URI is provided by the GrooveFilesBase64.Read operation and by other operations in the FileDescriptorURI element.

Input Message Header

GrooveRequestHeader specifies information common to all Groove Web Services, including the Groove Identity URL and the Groove Request key.

Input Message Parameters

<FileDescriptor />
<FileContents />
Element Data type Description

FileDescriptor

FileDescriptor

Specifies the new name of the file or folder. The DisplayName element specifies the new name; the Name element is ignored. For folders, the FileDescriptor element also specifies the updated values for AutoDownload and DownloadSizeLimit.

FileContents

xs:base64Binary

Specifies the updated file contents in base64 binary encoding. This element is optional, and, if omitted, the file contents will be left unchanged. If you are updating a folder, this parameter will be ignored.

Output Message Header

GrooveResponseHeader specifies the Response key.

Return Value

None.

See Also

Reference

GrooveFilesBase64 Web Service

Concepts

Creating, Updating, and Deleting Files