put documents Method
put documents Method

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
&service_name=/&put_option=(edit|overwrite,createdir,
   migrationsemantics)&listFiles=(true|false)
&listLinkInfo=(true|false)

Parameters

service_name Parameter

put_option Parameter

listFiles Parameter

listLinkInfo Parameter

Decoded

POST /site_url/_vti_bin/_vti_aut/author.dll HTTP/1.0
.
.
.
method=put+documents:6.0.n.nnnn
&service_name=/
&put_option=overwrite
&listFiles=true
&listLinkInfo=true
Remarks

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.

Return Value

Success

successfully put documents

Error

Returns an error message in standard format. For more information, see Error Message Format for FrontPage 2002 Server Extensions.

See Also

Other Resources

Server Versions for Windows SharePoint Services

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View