다음을 통해 공유


put_option Parameter

Applies to: SharePoint Foundation 2010

Data Type: String

Enables the server to overwrite an existing file if the value is set to overwrite and disallows overwrites if the value is set to edit. To create a directory, createdir can also be specified. Specify migrationsemantics to preserve the information about who created a document, who modified it, and when it was created. When used with the put documents Method method, this value also specifies to preserve check-in comments. Metadata for each of the other parameters for the method must be specified. The user must have administrative permissions or migrationsemantics is ignored. The following example specifies all three values for the put_option parameter:

&put_option=overwrite,createdir,migrationsemantics