Use network shared folders in the Site Definition

In the Remote Info section of the Site Definition dialog box, you have several choices for remote access, including Local/Network. With this type of access, you will also have to designate a Remote Folder, which is the folder where your site files are stored on the Web Server. The Web Server will either be mounted on a network drive or running on your local machine (for testing purposes). If the Remote folder is not enabled for sharing, however, you may not be able to transfer files to this folder.

This TechNote outlines the following steps to setup for Local/Network access. The steps assume that your machine is running Internet Information Server (IIS) on Windows NT or Windows 2000.

Setting the remote folder to be a shared folder in Windows

You must enable sharing for the remote folder on the machine hosting the remote folder.

  1. In Windows, browse to the Inetpub folder.



    This will set the sharing permissions for the Inetpub folder and any subfolders in the Inetpub folder (including the wwwroot folder). You could also set the sharing permissions for the wwwroot folder in the Inetpub folder.



    Note: This example uses the Inetpub folder that is installed with IIS or Personal Web Server and assumes that you have access to this remote folder. If you do not have access to this folder, you will have to contact the network administrator in charge of the remote server folder structure to have the correct sharing permissions set.
  2. Right click on the folder and select Sharing in the contextual menu. A dialog box simiar to the Inetpub Properties dialog box appears.

  3. Select the Share this Folder option. This selection will activate other settings on the dialog box.
  4. The Share Name text box will be populated with the name of the your folder. You can enter any name here that you wish. In this example, the name "moz" has been chosen as the share name.
  5. Click Permissions. A Permissions dialog box appears.

  6. The value Everyone in the Name section indicates that anyone who tries to access this folder will have access. You do not need to give the group Everyone Full Control;in the Permissions section of the dialog box, you can restrict the group Everyone's access to Change or Read.

    Furthermore, you can limit access to your shared folder to only a certain number of names.

  7. Click Apply.
  8. Click OK.

Defining the site with Local/Network access to a shared folder in Dreamweaver

You define the site on the machine which is running Dreamweaver.

  1. Choose Site > New Site



    For an existing site, choose Site > Define Sites, select the existing site, and then click Edit.
  2. Fill in the appropriate information in the Local Info category of the Site Definition dialog box.
  3. Click Remote Info.
  4. In the Access pop-up menu, select Local/Network.
  5. In the Remote Folder text box, type the network name of the machine hosting the shared folder (preceded by two back slashes '\\') and the name of the shared folder followed by the path to the root folder of your Web site. Here the default wwwroot folder is chosen.



  6. Click OK.
  7. Click OK on the message box indicating that Dreamweaver will create an initial site cache if one appears.
  8. In the Site window, click the Refresh icon.

Troubleshooting access difficulties

You should now be connected to your remote network folder. If the definition is set up incorrectly, then you will likely see an error message indicating that Dreamweaver cannot display the remote folder for the current site, as illustrated below:

If this message does appear, check to make sure that all of the above settings have been done correctly on your machine. Also, make sure the permissions are set correctly for the remote folder.

For more information about network and file permissions, please review the Windows documentation.

Additional Information

For more details, see How to define a site in Dreamweaver (Technote 14028) and Defining a site that uses PAS/IIS locally and FTP remotely (TechNote 15571).

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online