beautypg.com

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

Page 235

background image

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()

” on page

230 and

site.getLocalPathToFiles()

” on page

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 “

site.getAppServerAccessType()

” on page

230 and

site.getLocalPathToFiles()

” on page

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.