Site.getappserveraccesstype(), Site.getappserverpathtofiles() – Adobe Dreamweaver API Reference CS5 User Manual
Page 235

230
DREAMWEAVER API REFERENCE
Site
Last updated 8/27/2013
site.getAppServerAccessType()
Availability
Dreamweaver MX.
Description
Returns the access method that is used for all files on the current site’s application server. The current site is the site
that is associated with the document that currently has focus. If no document has focus, the site that you opened in
Dreamweaver is used.
Note: ColdFusion Component Explorer uses this function; see “
site.getAppServerPathToFiles()
233.
Arguments
None.
Returns
One of the following strings:
•
"none"
•
"local/network"
•
"ftp"
•
"source_control"
site.getAppServerPathToFiles()
Availability
Dreamweaver MX.
Description
Determines the path to the remote files on the application server that is defined for the current site. The current site is
the site that is associated with the document that currently has focus. If no document has focus, the site that you
opened in Dreamweaver is used.
Note: ColdFusion Component Explorer uses this function; see “
233.
Arguments
None.
Returns
If the access type to the application server file is
local/network
, this function returns a path; otherwise, this function
returns an empty string.