Site.cancomparefiles(), Site.canconnect(), Site.candisplaysyncinfoforfile() – Adobe Dreamweaver API Reference CS5 User Manual
Page 527

522
DREAMWEAVER API REFERENCE
Enablers
Last updated 8/27/2013
Returns
A Boolean value:
true
if Dreamweaver can perform the Cloaking operation on the current site or the specified folder;
false
otherwise.
site.canCompareFiles()
Availability
Dreamweaver 8.
Description
This function checks whether Dreamweaver can perform the Compare function on selected files.
Arguments
None.
Returns
A Boolean value:
true
if two files (one local file and one remote file, two local files, or two remote files) are selected;
false
otherwise.
site.canConnect()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can connect to the remote site.
Arguments
None.
Returns
A Boolean value:
true
if the current remote site is an FTP site;
false
otherwise.
site.canDisplaySyncInfoForFile()
Availability
Dreamweaver CS3
Description
Determines whether Dreamweaver can perform the displaySyncInfoForFile operation.
Arguments
path, '
site
'
•
path is the URL to a local file.