Dreamweaver

Put files on a remote server

You can put files from the local site to the remote site, generally without changing the file’s checked out status.

There are two common situations in which you might use the Put command instead of Check In:

  • You’re not in a collaborative environment and you aren’t using the Check In/Check Out system.

  • You want to put the current version of the file on the server but you’re going to keep editing it.

    Note: If you put a file that didn’t previously exist on the remote site and you’re using the Check In/Check Out system, the file is copied to the remote site and is then checked out to you so that you can continue editing.

    You can use the Files panel or the Document window to put files. Dreamweaver creates a log of file activity during the transfer that you can view and save.

    Dreamweaver also records all FTP file transfer activity. If an error occurs when you are transferring a file using FTP, the Site FTP log can help you determine the problem.

    For a tutorial on putting files on a remote server, see www.adobe.com/go/vid0163.

    For a tutorial on troubleshooting publishing problems, see www.adobe.com/go/vid0164.

Put files on a remote or testing server using the Files panel

  1. In the Files panel (Window > Files), select the files to upload.

    Usually you select these in the Local view, but you may select the corresponding files in the Remote view if you prefer.

    Note: You can put only those files for which the local version is more recent than the remote version.
  2. Do one of the following to put the file on the remote server:
    • Click the Put button in the Files panel toolbar.

    • Right-click (Windows) or Control‑click (Macintosh) the file in the Files panel, then select Put from the context menu.

  3. If the file hasn’t been saved, a dialog box appears (if you set this preference in the Site category of the Preferences dialog box) allowing you to save the file before putting it on the remote server. Click Yes to save the file or No to put the previously saved version on the remote server.
    Note: If you do not save the file, any changes you’ve made since the last time you saved will not be put onto the remote server. However, the file remains open, so you can still save the changes after putting the file on the server if you want.
  4. Click Yes to upload dependent files along with the selected files, or click No to refrain from uploading dependent files. The default is to not upload dependent files. You can set this option at Edit > Preferences > Site.
    Note: It’s usually a good idea to upload dependent files when checking in a new file, but if the latest versions of the dependent files are already on the remote server, there’s no need to upload them again.

    To stop the file transfer, click Cancel in the status dialog box. The transfer may not stop immediately.

    A lock symbol appears beside the local file’s icon indicating that the file is now read-only.

    Important: If you check in the currently active file, the file may be automatically saved before it’s checked in, depending on the preference options you’ve set.

Put files on a remote server using the Document window

  1. Make sure the document is active in the Document window.
  2. Do one of the following to put the file:
    • Select Site > Put.

    • Click the File Management icon in the Document window toolbar, then select Put from the menu.

      Note: If the current file is not part of the current site in the Files panel, Dreamweaver attempts to determine which locally defined site the current file belongs to. If the current file belongs to only one local site, Dreamweaver opens that site, then performs the Put operation.

Display the FTP log

 Click the Options menu in the upper-right corner of the Files panel, then select View > Site FTP Log.
The Options menu is shown in the upper-right corner of the collapsed Files panel.