Site.open(), Site.put() – Adobe Dreamweaver API Reference CS5 User Manual
Page 244

239
DREAMWEAVER API REFERENCE
Site
Last updated 8/27/2013
Arguments
None.
Returns
Nothing.
site.open()
Availability
Dreamweaver 3.
Description
Opens the files that are currently selected in the Files panel. If any folders are selected, they are expanded in the Site
Files view.
Arguments
None.
Returns
Nothing.
Enabler
See “
site.put()
Availability
Dreamweaver 3.
Description
Puts the selected files and handles dependent files in one of the following ways:
•
If the user selects Prompt on Put/Check In in the Site FTP preferences, the Dependent Files dialog box appears.
•
If the user previously selected the Don’t Show Me Again option in the Dependent Files dialog box and clicked Yes,
dependent files are uploaded and no dialog box appears.
•
If the user previously selected the Don’t Show Me Again option in the Dependent Files dialog box and clicked No,
dependent files are not uploaded and no dialog box appears.
Arguments
siteOrURL
•
The siteOrURL argument must be the keyword
"site"
, which indicates that the function should act on the
selection in the Files panel or the URL for a single file.
Returns
Nothing.