put document Method

Writes a file to a directory in an existing Web site.

Syntax

method=put document:server_extension_version
&service_name=/&document=file_name_and_meta_info
[&put option=(edit|overwrite,createdir,migrationsemantics]&comment=text
&keep_checked_out=(true|false)[&validateWelcomeNames=(true|false)]

Parameters

service name

document

put option

comment

keep_checked_out

validateWelcomeNames

Decoded

POST /site_url/_vti_bin/_vti_aut/author.dll HTTP/1.0
.
.
.
method=put+document:6.0.n.nnnn
&service_name=/
&document=[document_name=global.asa;meta_info=[vti_modifiedby;SW|user_name;vti_timelastmodified;TW|23+Nov+1998+16:30:14+-0000]]
&put_option=edit
&comment=
&keep_checked_out=false

Return Value:

Success

successfully put document 'file_name' as 'file_name'

Error

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

Sample Return Code