Adobe 38040334 - Dreamweaver CS3 User Manual page 24

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

• The
callbackFunction
complete.
• The
argument is an absolute URL on a web server; if http:// is omitted from the URL, Dreamweaver assumes
URL
HTTP protocol.
• The
argument, which is optional, is a Boolean value that specifies whether to prompt the user to save the
prompt
file. If
argument specifies a location outside the Configuration/Temp folder, a
saveURL
ignored for security reasons.
• The
argument, which is optional, is the location on the user's hard disk where the file should be saved,
saveURL
which is expressed as a file:// URL. If prompt is a
the user can override
saveURL
• The
argument, which is optional, is the label that should appear in the title bar of the Save dialog
titleBarLabel
box.
Returns
An object that represents the reply from the server. The
location where the file was saved, which is expressed as a file:// URL. Normally the
object contains the status code that is received from the server. However, if a disk error occurs while Dreamweaver
is saving the file on the local drive, the
"MMHttp.getFile()" on page 17
MMHttp.getText()
Availability
Dreamweaver UltraDev 4, enhanced in Dreamweaver MX.
Description
Retrieves the contents of the document at the specified URL.
Arguments
URL, {serverScriptsFolder}
• The
argument is an absolute URL on a web server. If http:// is omitted from the URL, Dreamweaver assumes
URL
HTTP protocol.
• The
serverScriptsFolder
uration folder on the application server—from which you want to retrieve server scripts. To retrieve the scripts,
Dreamweaver uses the appropriate transfer protocol (such as FTP, WebDAV, or Remote File System). Dream-
weaver copies these files to the _mmServerScripts subfolder under the root folder for the current site.
If an error occurs, Dreamweaver reports it in the
MMHttp.getTextCallback()
Availability
Dreamweaver UltraDev 4, enhanced in Dreamweaver MX.
Description
Retrieves the contents of the document at the specified URL and passes it to the specified function.
argument is the name of the JavaScript function to call when the HTTP request is
true
in the Save dialog box.
property contains an integer that represents an error code. See
statusCode
for a list of possible error codes.
argument is an optional string that names a particular folder—relative to the Config-
statusCode
value or
is outside the Configuration/Temp folder,
saveURL
property of this object is a string that contains the
data
property of the returned object.
DREAMWEAVER CS3
value of
prompt
false
property of the
statusCode
19
API Reference
is

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents