Remote Site
After you have created a local site, you can then associate a remote site for deployment. A remote site can either be on a server that is on the local network (using a mapped drive) or on another server on the Internet (using FTP).
Your local site and your remote site should have the same folder hierarchy. If you use Dreamweaver to create the site and then deploy it to the remote site, Dreamweaver ensures that the local structure is duplicated on the remote site.
Use the Site, Define Sites dialog box to choose the local site to edit. When you receive the Site Definition dialog box, choose the Remote Info category.
Local/Network
Use the Local/Network Server Access option if your Web server is mounted as a network drive (Windows), an AppleTalk or NFS server (Macintosh), or if the Web server is running on your local machine in a separate directory from the local site.
Properties for setting up a local/network remote server are shown in Table 3.3.
Table 3.3 Attributes of a Local/Network Remote Site
Attribute |
Description |
Remote Folder |
Use the Browse button to find the folder on the remote machine for deployment. |
Refresh Remote File List Automatically |
Update the remote file list automatically as files are added and deleted. For increased speed when copying files to the remote site, leave this option unselected. Manually refresh the Site window at any time using the Site window's Refresh button. |
Check In/Out Settings |
These settings enable Dreamweaver to enable check in/out and automatically check out a file when you open it. Specifying your name in the Check Out Name attribute enables other team members to view who is working on the file. |
E-mail Address |
For sites designated as check in/out, input your e-mail address so that team members can e-mail you questions about files that you have checked out. |
FTP
By selecting FTP as your remote server access method, you are prompted for all the information necessary to connect to the FTP site. FTP settings are discussed next in Table 3.4:
Table 3.4 Attributes of an FTP Remote Site
Setting |
Description |
FTP Host |
Enter the hostname of the FTP host using the format ftp.domain.com. |
Host Directory |
Name of the host directory at the remote site in which documents visible to the public are stored. |
Login/Password [Save] |
FTP login information. You can uncheck the Save check box to tell Dreamweaver to prompt you for a password each time you connect to the remote server. |
Firewall Settings |
Check these settings if you are behind a firewall and if you want to use passive FTP, which lets your local software set up the FTP connection rather than requesting the remote server to do so. |
CAUTION
Dreamweaver's FTP implementation is different from some common FTP applications. In particular, you must connect to the remote system's root folder, and you cannot navigate through the remote file system.
TIP
Slow connections may cause FTP timeouts to occur. Increasing the timeout value in Site Preferences may alleviate some problems.
WebDAV and SourceSafe Integration
Dreamweaver lets you access source- and version-control applications from the Site window. You can connect to SourceSafe databases and servers or source-control systems that support the WebDAV protocol.
After you are connected, you can use Dreamweaver's file-sharing features, such as Check In/Out, Refresh, Get and Put, and Design Notes to access corresponding features found in your own source-control system.
NOTE
To use this feature, you must have Visual SourceSafe installed on your system or have access to a system supported by WebDAV.