Dreamweaver after saving FTP automatic upload space server

Source: Internet
Author: User
Tags ftp relative dreamweaver root directory

We use DW to build a station when the basic use of FTP tools, and then on the local computer with DW , so there is a problem, when we modify a file, it will be uploaded to the space from the FTP software, such repeated operation. Work efficiency is very low.

At first, do not know how to set the save automatically uploaded to the server space, the Internet to find the next, DW has such a function. Share it with you!

First to understand Dreamweaver inside a built-in FTP automatic upload function, OK, we now configure.

Open Dreamweaver, click "Site" new site "advanced" Local Information "

Site Name: Name of your own site

Local root folder: A folder for files that host Web pages locally

Link relative to: that is, our web page source file inside the link is relative to the root directory, or first to the directory (Do you know the Web)

There are other options, do not introduce more, and see for themselves to understand OH.

Next, select remote information on the left

Select FTP

Fill in the FTP information inside

Here are 3 options to focus attention on:

Maintain synchronization information, which is to say that files in local and remote FTP are synchronized.

Save when you upload files to the server: When we point to save, or whether ctrl+s automatically upload files to FTP (very convenient, but there is a certain later will be mentioned)

Enable check in and take out: This is for teamwork, to avoid two or more people working on the same file at the same time. (Interested friends to understand, very useful, but also very troublesome)

Next, test the server:

Server type: Choose the script you developed

FTP host: And the following things look at this to write it. It's all very simple ....

Well, the configuration will probably work here.

At this time, when we create a new file locally, edit the file, save the time, will automatically upload files to. FTP on, is not very convenient?

But there is a problem here, when our source file contains links to other documents, (such as CSS background pictures) automatically uploaded, the relevant files will also be uploaded.

What if we don't want to do this, just want to upload the currently saved file?

We can select menu, edit-> preferences-> site-> related files

Check those two multiple options! OK, so when uploading files will prompt whether to upload related files.

This time we press save time, will not automatically upload the relevant documents , this time.

So do not want to automatically save it, in the first step of the configuration, do not check the save time automatically uploaded on the line,

This time, there is no tick, we can manually upload, shortcut keys for ctrl+shift+u is a bit more humane.

2: If you work in a collaborative environment, you can use the check in/Remove system to transfer files between local and remote sites. However, if you are the only person working at the remote site, you can use the Get and upload commands to transfer the files without having to save or retrieve the files.

It is usually a good idea to download related files when you remove new files, but you do not need to download them again if you have the latest version of related files on your local disk. This method also applies to uploading and saving files: You do not need to do this if you have an up-to-date copy on the remote site.

  displaying FTP Records

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.