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. To view or save this log, see Managing file transfers.
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.
To 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
To put only those files for which the local version is more recent than the remote version, see Synchronizing the files on your local and remote sites.
- Do one of the following to put the file:
- 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 may appear (depending on your preference setting in the Site category of the Preferences dialog box) allowing you to save the file before putting it on the remote server.
- If a dialog box appears, 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.
The Dependent Files dialog box appears.
- To upload dependent files, click Yes; to skip them, click No.
NOTE
If the remote site already contains copies of the dependent files, click No.
To stop the file transfer click the Cancel button in the status dialog box. The transfer may not stop immediately.
To 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 pop-up 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.
To display the FTP log:
Source: livedocs.adobe.com
0 comments:
Post a Comment