Uploading the sample files
After specifying a folder to process dynamic pages, upload the sample files to the web server. You must upload the files even if the web server is running on your local computer.
If you dont upload the files, features such as Live Data view and Preview in Browser may not work properly with dynamic pages. For example, image links might be broken in Live Data view because the image files are not on the server yet. Similarly, clicking a link to a detail page while previewing a master page in a browser will cause an error if the detail page is missing from the server.
To upload the samples files to the web server:
- In the Files panel (Window > Files), select the root folder of the site in the Local View pane.
The root folder is the topmost folder in the list.
- Click the blue Put Files arrow icon in the Files panel toolbar, and confirm that you want to upload the entire site.
Dreamweaver copies all the files to the web server folder you defined in Defining a remote folder.
The Dreamweaver site is now defined. The next step is to connect to the sample database installed with Dreamweaver. (See Connecting to the sample database (PHP).)