How to Publish Files to a Web Server with FTP in Dreamweaver

You can upload pages to your server and download pages from your server using the built-in FTP capabilities of Dreamweaver. To transfer files between your hard drive and a remote server, follow these steps:

  1. Make sure the site you want to work on is selected in the Files panel.

  2. In the top left of the Files panel, click the Connect to Remote Server icon.

    If you’re not already connected to the Internet, the Connect to Remote Server icon starts your Internet connection. If you have trouble connecting this way, try establishing your Internet connection as you normally would, and then return to Dreamweaver and click the Connect to Remote Server icon after you’re connected to the Internet. When your computer is online, Dreamweaver should have no trouble automatically establishing an FTP connection.

    image0.jpg
  3. After you establish a connection between your computer and your web server, click the Expand/Collapse icon.

    When you click this icon, Dreamweaver displays both the local folder with your site on your hard drive and the remote folder with the site on your server. The dual view allows you to see both side-by-side and makes moving files from one place to another easier. It also helps you visualize the structure of the site on the server, but it does take up more space on your screen.

    You can also view your local site folder by choosing Local View from the drop-down list at the top right. Or choose Remote View to see only the files on the server.

  4. To upload a file, select the file from the Local View panel and click the Put Files icon (the up arrow) in the Files panel.

    The Local View panel displays the files on your hard drive.

    The files are copied automatically from your hard drive to your web server when you transfer them. You can select multiple files or folders to be transferred simultaneously.

    After you upload files to your server, test your work by using a web browser to view them online. Sometimes things that look and work fine on your computer (such as links) won't work on the server.

  5. To download files or folders, select the files or folders from the Remote View panel and click the Get Files icon (the down arrow) in the Files panel.

    The Remote View panel displays the files on your server.

    The files are copied automatically from your web server to your hard drive when you transfer them.

    Be aware that when you copy files to or from your server, the files you're transferring overwrite the files already at the destination. Dreamweaver notifies you about the overwriting if it notices you're replacing a newer file with an older one, but it can’t always correctly assess the proper time differences.

    Take note of these warnings, but keep in mind that you can get warnings that aren’t always accurate when they’re based on the age of a file, especially if you use more than one computer to work on your website.

    When the transfer is complete, you can open the files on your hard drive.

  6. To close this dual-panel dialog box and return to Dreamweaver’s main workspace, simply click the Expand/Collapse icon again.

  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus
Advertisement

Inside Dummies.com