
button connects to the remote or testing server assuming the connection, login, and password are valid. To connect, Testing Server or Remote view must be selected from the View menu first. Furthermore, the testing and/or remote servers must be configured in the Site Definition dialog. Refresh: Assuming the Refresh Local File List Automatically option on the Advanced tab is not checked, you can click this button to refresh the folder and file list. Get/Put: Allows you to quickly upload and download files from and to the remote or testing server. We'll discuss this option later in the chapter. Check In/Check Out: Allows you to quickly check in and check out filesassuming that this option was enabled when the site was defined. If it wasn't, selecting this option now provides you with a dialog that asks you to enable it. Expand/Collapse: Expands the Site File list to its advanced and more detailed state. We'll discuss this option next. Folder/File window: Lists all folders and files in the defined site. Status bar: Subtly located at the bottom of the Files panel, the status bar displays the title of the page as your cursor rolls over it. After a file has been selected, the status bar displays the size of the file in bytes. Also available in the status bar is a small globe icon and Log button. Clicking the Log button opens the FTP log and displays detailed messages about the status of activity on the FTP server. Clicking the globe icon (which animates when file activity is present) displays the File Activity window, which provides a detailed list of files currently being transferred. Now that you've seen the feature list in this panel, let me offer a taste of the power behind site management in Dreamweavermore specifically, link validation. To see this in action, try selecting an important file from our list (such as index.htm) and drag it into the Assets folder. Immediately, the Update Files dialog appears similar to Figure 4.21. Figure 4.21. Dreamweaver detects that a file is being moved to a new folder and immediately asks you to update all references to and from that file. As you can see from the dialog, Dreamweaver detects that you're trying to move a file from one location to another. Because references exist to and from that file, Dreamweaver detects this and asks you to update all files that make references to and from index.htm. Because all these files assume that index.htm is in the root directory, if this feature didn't exist, references to this file would be broken or we'd have to manually open all files in our site, search for all references on each page, and manually correct them. By clicking the Update button, Dreamweaver scans all the files in the list and fixes all the references to and from that file automatically. To move the file back to the root, simply drag it back from the Assets folder into the root of the defined site. The same process of detecting and fixing the references occurs. CAUTION After you've defined a site, it's important that file movement be done through the Site File list as opposed to the operating system's file explorer. Doing so ensures that file references are automatically updated by Dreamweaver. If you move files using the operating system's file explorer, Dreamweaver never gets a chance to detect reference changes and you'll ultimately end up with broken links/references in your files. Of course, this is only the tip of the iceberg. You can see more options available from the Site Management window by selecting the Expand/Collapse icon to expand the Files panel into the Site Management window. As you can see from the callouts in Figure 4.22, new features become available.