beautypg.com

Site.get() – Adobe Dreamweaver API Reference CS5 User Manual

Page 234

background image

229

DREAMWEAVER API REFERENCE

Site

Last updated 8/27/2013

servermodel="ColdFusion"
urlprefix="http://dreamweaver/kojak/"
serverscripting="CFML"
serverpageext=""
connectionsmigrated="TRUE"
useUD4andUD5pages="TRUE"
defaultdoctype=""
accesstype="ftp"
host="dreamweaver"
remoteroot="kojak/"
user="dream"
usefirewall="FALSE"
usepasv="TRUE" />




site.get()

Availability
Dreamweaver 3.

Description
Gets the specified files and handles dependent files in one of the following ways:

If the user selects Prompt on Get/Check Out 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 downloaded 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 downloaded 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.

Enabler
See “

site.canGet()

” on page 523.