Learn how to use the Files panel to manage, transfer, and synchronize files and folders between local and remotes sites in Dreamweaver. Also learn how the auto-recovery feature works in Dreamweaver.
The Files panel in Dreamweaver allows you to access and manage files associated with your site. You can toggle between the FTP View and the Git View in Files panel, to manage the files using an FTP server or Git repositories.
To open the Files panel, click Window > Files, or press F8 (on Windows) or Shift-⌘-F (on Mac).
If you don't set up a site, the Files panel works simply lists all the drives or folders in your system. You can only use it to view files. You cannot transfer files back and forth from a remote system to your local system.
To learn more about the benefits of setting up a site, and for instructions on how to create a site, see About Dreamweaver sites.
Read on to know how to use the Files panel in each of these views.
You can use the FTP view to view files and folders, check whether they are associated with a Dreamweaver site or not, and perform standard file maintenance operations, such as opening and moving files. The Files panel also helps you manage and transfer files to and from a remote server.
After you set up a site in Dreamweaver, you can use the Files panel in the following ways:
Read on to learn how to use the Files panel in the FTP View.
At its simplest, the Files panel displays a list of only the local files in your computer. As you work more with the Files panel - setting up a site, setting up connections to remote servers, enabling check in and check out, more options appear in the Files panel.
Here's what the Files panel looks like:
For information on defining a site and server, see About Dreamweaver sites.
When you define a Dreamweaver site, the files within your site are displayed. The Files panel also includes a button - Define servers, which is a prompt to start defining connections to remote and testing servers.
All options on the Files panel are available for you to use after you define a site, and server. If you enable check-in and check-out, these options are also available to use.
Read on to find out more about what you can do with the Files panel.
For information on enabling check-in and check-out, see Check in and check out files.
A. Site pop-up menu B. File view C. Connect to remote server D. Get files from remote server E. Put files to remote server F. Check out files G. Check in files H. Synchronize with remote server I. Expand/collapse J. Refresh K. File Activity
You can move the Files panel as necessary and set preferences for the panel.
The Site Files view, Testing Server view, and Synchronize buttons appear only in the expanded Files panel.
Site pop‑up menu
Lets you select a Dreamweaver site and display that site’s files. You can also use the Site menu to access all the files on your local disk, much like Windows Explorer (Windows) or the Finder (Mac).
Lets you view files present in your local site root, remote server, or testing server. Select an option from the pop-up menu to see files in the respective view.
Connect to remote server
(FTP, RDS, and WebDAV protocol) Connects to or disconnects from the remote site. By default, Dreamweaver disconnects from the remote site if it has been idle for more than 30 minutes (FTP only). To change the time limit, select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh), then select Site from the category list on the left.
Get files from remote server
Copies the selected files from the remote site to your local site (overwriting the existing local copy of the file, if any). If Enable File Check In And Check Out is enabled, the local copies are read-only; the files remain available on the remote site for other team members to check out. If Enable File Check In and Check Out is disabled, the file copies have both read and write privileges.
Put files to remote server
Copies the selected files from the local site to the remote site.
Check out files
Transfers a copy of the file from the remote server to your local site (overwriting the existing local copy of the file, if any) and marks the file as checked out on the server. This option is not available if Enable File Check In and Check Out is disabled for the current site.
Check in files
Transfers a copy of the local file to the remote server and makes the file available for editing by others. The local file becomes read-only. This option is not available if Enable File Check In and Check Out is disabled for the current site.
Synchronize with remote server
Synchronizes the files between the local and remote folders.
Expands or collapses the Files panel to display one or two panes. In the Expanded view, an additional option - View site FTP log is also available. When the Files panel is collapsed it displays the contents of the local site, the remote site, or the testing server as a list of files. When expanded, it displays the local site and either the remote site or testing server.
Refreshes the local and remote directory lists. Use this button to manually refresh the directory lists if you deselected either Refresh Local File List Automatically or Refresh Remote File List Automatically in the Site Definition dialog box.
Displays the background file activity.
The View Site FTP log is available if you expand the Files panel by clicking the Expand/collapse icon.
View Site FTP log
Displays the file structure of the remote and local sites in the panes of the Files panel. (A preference setting determines which site appears in the left pane and which appears in the right pane.) Site Files view is the default view for the Files panel.
The files Dreamweaver copies are the files you select in the active pane of the Files panel. If the Remote pane is active, the selected remote or testing server files are copied to the local site; if the Local pane is active, Dreamweaver copies the remote or testing server version of the selected local files to the local site.
The files Dreamweaver copies are the files you select in the active pane of the Files panel. If the Local pane is active, the selected local files are copied to the remote site or testing server; if the Remote pane is active, Dreamweaver copies the local versions of the selected remote server files to the remote site.
If you are putting a file that doesn’t already exist on the remote site, and Enable File Check In and Out is enabled, the file is added to the remote site as “checked out.” Click the Check In Files button if you want to add a file without the checked out status.
You can view files and folders in the Files panel, whether they are associated with a Dreamweaver site or not. When you view sites, files, or folders in the Files panel, you can change the size of the viewing area, and, for Dreamweaver sites, you can expand or collapse the Files panel.
For Dreamweaver sites, you can also customize the Files panel by changing the view—either your local or remote site—that appears by default in the collapsed panel. Or, you can switch the content views in the expanded Files panel using the Always Show option.
Use Live Search to locate files based on filename or text present in files. The site selected in the Files panel is used for search. If there is no site selected in the panel, the search option does not appear. For more information, see Search files based on filenames or content.
In the Files panel (Window > Files), with the panel expanded, drag the bar that separates the two views to increase or decrease the view area of the right or left pane.
You can use the Files panel to view files present in your local site root, remote server, or testing server.
In the collapsed Files panel (Window > Files), select Local View, Remote Server, or Testing Server from the Site View pop‑up menu.
By default, Local View appears in the Site View menu.
Navigate your computer using the Site pop‑up menu, much as you would if you were using Windows Explorer(Windows) or the Finder (Macintosh).
You can open or rename files; add, move, or delete files; or refresh the Files panel after you make changes.
For Dreamweaver sites, you can also determine which files (on either the local or remote site) have been updated since the last time they were transferred.
Double-click the file’s icon.
Right-click (Windows) or Control‑click (Macintosh) the file’s icon, then select Open.
Dreamweaver opens the file in the Document window.
Dreamweaver creates the new file or folder inside the currently selected folder, or in the same folder as the currently selected file.
Click in the filename, pause, then click again.
Right-click (Windows) or Control‑click (Macintosh) the file’s icon, then select Edit > Rename.
Copy the file or folder, then paste it in a new location.
Drag the file or folder to a new location.
To refresh the view in the Files panel, do one of the following:
Dreamweaver refreshes the Files panel when you make changes in another application, then return to Dreamweaver.
Dreamweaver makes it easy to find selected, open, checked out, or recently modified files in your site. You can also find files that are newer in your local or remote site.
Dreamweaver selects the file in the Files panel.
If the open file in the Document window is not part of the current site in the Files panel, Dreamweaver attempts to determine which of your Dreamweaver sites the file belongs to; if the current file belongs to only one local site, Dreamweaver opens that site in the Files panel, then highlights the file.
Dreamweaver selects the files in the Files panel.
Right-click (Windows) or Control‑click (Macintosh), then select Locate in Local Site or Locate in Remote Server (depending on where you selected the file).
Dreamweaver selects the file in the Files panel.
Dreamweaver selects the files in the Files panel.
Dreamweaver selects the files in the Files panel.
To report on all files modified in the last several days, select Files Created or Modified in the Last and enter a number in the box.
To report on all files modified within a specific time frame, click the Files Created or Modified Between radio button, then specify a date range.
This option is only available for reports on Contribute sites.
if the site contains static pages.
if the site contains dynamic pages.
if you want to enter a path in the text box.
This option assumes you defined a Testing Server in the Site Definition dialog box. If you have not defined a Testing Server and entered a URL prefix for that server, or if you are running the report for more than one site, this option is not available.
Dreamweaver highlights the files that were modified within the selected time frame in the Files panel.
You can identify and delete files that are no longer used by other files in your site.
Select Site > Site Options > Check Links Sitewide.
Dreamweaver checks all the links in your site and displays the broken ones in the Results panel.
Dreamweaver displays all the files with no incoming links. This means that no files in your site link to these files.
Although no other file in the site links to these files, some of the listed files may link to other files. Use caution when deleting the files.
You can access, modify, and save files and folders in your Dreamweaver sites, as well as files and folders that are not part of a Dreamweaver site. In addition to Dreamweaver sites, you can access a server, a local drive, or your desktop.
Before you can access a remote server, you must set up Dreamweaver to work with that server.
The best way to manage your files is to create a Dreamweaver site. For information on the benefits of creating a site, and information on how to create a site see About Dreamweaver sites.
Server names appear for servers you’ve configured Dreamweaver to work with.
To move a file that Dreamweaver copies by default, hold down the Shift key (Windows) or the Command key (Macintosh) while you drag. To copy a file that Dreamweaver moves by default, hold the Control key (Windows) or the Option key (Macintosh) while you drag.
When you view a Dreamweaver site in the Files panel, by default only the files and folder structure is displayed. However, you can customize the appearance of the Files panel to show the following details:
In the Manage Sites > Advanced Settings > File View Columns panel, select a column name, and then click the up or down arrow button to change the position of the selected column.
You can change the order of any column except Name, which is always the first column.
Select a column and click the Plus (+) button to add a column.
You must associate a new column with a Design Note, so that there is data to display in the Files panel.
To delete a column, select it and click the Minus (-) button.
The column is deleted immediately and without confirmation, so make certain that you want to delete the column before clicking the Minus (–) button.
In the Files panel, click the heading for the column you want to sort.
Click the heading again to reverse the order (ascending or descending) by which Dreamweaver sorts the column.
If Dreamweaver shuts down unexpectedly because of system errors, power outages, or other problems, then you can recover any unsaved changes made to files you were working on.
The auto-recovery feature automatically backs up any unsaved files in Dreamweaver. If a crash occurs, the following dialog box is displayed during subsequent launches of Dreamweaver.
You must have saved your file at least once for Dreamweaver to be able to recover it.
When you open a crashed Dreamweaver, you recover or discard last changes to a file:
In Dreamweaver, auto-save happens approximately every five seconds (depending on the operating system).
The Git view in Files panel allows you to connect with Git repositories, and manage files using Git. The Files panel works as an interface for you to perform various operations like commit, stage, unstage, add to gitignore and so on.
You can use the Git View to perform the following actions:
You can also initialize a Git repository from this panel, if it has already not been done. When you create a site in Dreamweaver, you can associate a Git repository with your site. If you have not done this during site creation, you can Initialize a Git repository using the Files panel.
To initialize a repository, click Initialize Git from the Files panel. The files associated with your site are immediately visible in the Git view, along with their status.
You can view the status of the files associated with a Git repository, from the Files panel. When you initialize a Git repository, the files are displayed in green. This means that the files are untracked and do not exist in Git yet.
When you commit a file, the file appears in white in the Files panel. This means that the file has been committed in the Git repository that you have chosen.
Now, when you edit and save a file after commit, the color of the file changes to yellow in the Files panel. This indicates that the files in your local repository and in the Git repository are not in sync.
To learn about the version control workflow in Git, see Using Git for version control.
You can create and manage branches locally, using the Files panel. To create a branch, select the drop-down list at the top of the panel. Click Manage Branches, and click the + sign from the Manage Branches dialog box.
You can choose your origin branch and create a new branch. You can also remove a branch and merge one branch with another.
To know more about managing local branches using the Files panel, see Create and manage branches.
Apart from initializing and managing branches, you can also perform various Git actions from the Files panel. From the files panel, select a file, right-click, and do one of the following:
To know more about each of these actions, and about Git in Dreamweaver, read Using Git in Dreamweaver.