get document Method

Retrieves the specified document for viewing on the client computer.

Syntax

method=get document:server_extension_version
&service_name=/&document_name=service_relative_path/file_name
[&dir_name=directory_name][&effective_protocol_version=server_extension_version]
&old_theme_html=(true|false)&force=(true|false)[&doc_version=string]
&get_option=(none|0|1|2)&timeout=time_in_seconds[&validateWelcomeNames=(true|false)]

Parameters

service name

document_name

effective_protocol_version

old_theme_html

force

doc_version

get_option

timeout

validateWelcomeNames

Decoded

POST /site_url/_vti_bin/_vti_aut/author.dll HTTP/1.0
.
.
.
method=get+document:6.0.n.nnnn
&service_name=/
&document_name=file_name
&old_theme_html=false
&force=true
&get_option=none
&doc_version=
&timeout=0

Return Value

Success

message=successfully retrieved document 'file_name' from '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