Dreamweaver CS4 Resources
|
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.
Note: You cannot
turn background file transfer off. If you have the detail log open in
the Background File Activity dialog box, you can close that to improve
performance.
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- 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.
- 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.
- 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.
- 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 at any time, click
the Cancel button in the Background File Activity dialog box.
Put files on a remote server using the Document window- Make sure the document is active in
the Document window.
- 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.
- Select View > Site FTP Log.
Note: In the Expanded Files Panel, you can click the
FTP Log button to display the log.
|