put documents Method

Last modified: March 23, 2010

Applies to: SharePoint Foundation 2010

Writes files to a directory in an existing Web site.

This method is used when you save a document that contains other files, such as graphic files from an application such as Microsoft Word, directly to a directory in an existing Web site.

method=put documents:server_extension_version

POST /site_url/_vti_bin/_vti_aut/author.dll HTTP/1.0

Each file is put into the specified Web directory as a full binary file (octet-stream) that begins with a MIMEboundary statement. The first file begins at the end of the method statement. Note that each file is preceded by its meta-information.