The Dreamweaver JavaScript API > Enablers > site.canGet() |
Availability
Dreamweaver 3.0
Description
Determines whether Dreamweaver can perform a Get operation.
Arguments
siteOrURL
siteOrURL must be the keyword "site", indicating that the function should act on the selection in the Site window, or the URL for a single file.
Returns
If the argument is "site", Boolean value indicating whether one or more files or folders is selected in the Site window and a remote site has been defined. If the argument is a URL, a Boolean value indicating whether the document belongs to a site for which a remote site has been defined.