How Dreamweaver connects to a remote FTP server
Source: Shangpin China |
Type: website encyclopedia |
Time: July 24, 2015
The remote service is Dreamweaver's built-in FTP/SFTP file transfer tool. Remote service makes it easy to manage remote Website construction The file in the server can upload, download and modify the file in the remote server.
1. Remote server mode
To use remote services in Dreamweaver, set Remote Info in the created site. Dreamweaver supports six remote server modes, as shown in Figure 1-18.
In the Access drop-down list, select the type of remote access required. Details of each type are as follows.
2. Local service
Most individual users like to debug web applications on their site locally. Select [None] to set up the remote service in the local computer, and use the local computer to simulate the effect of the remote computer.
3. FTP
FTP (File Transfer Protocol) is the most typical and common network file transfer protocol. Most virtual host services and many managed servers rely on FTP to transfer files and update documents in the site.
After setting the remote service to FTP, you need to set the address, directory, login name, password and other related options for the FTP host. When setting FTP, you can also select the following special services.
Using Passive FTP
Passive FTP, that is, passive FTP. FTP protocol has two working modes, namely Standard FTP (or Port FTP, standard or port active FTP) and Passive FTP.
In active mode, the FTP client first establishes a connection with the TCP 21 port of the FTP server. When the client needs to receive data, it uses this port to send the Port command. The Port command contains the port used by the client to receive data.
When transmitting data, the server connects to the designated port of the client through its own TCP 20 port to send data. In the passive mode, the control channel is similar to the active mode, but the Pasv command is sent after the connection is established.
After the FTP server receives the Pasv command, it randomly opens a high-end port (the port number is greater than 1024) and notifies the client of a request to transmit data on this port. The client connects to this port of the FTP server, and then the FTP server will transmit data through this port. At this time, the FTP server no longer needs to establish a new connection with the client.
In the Internet, many firewalls are set to not allow external initiated connections, so many FTP servers behind firewalls or in the intranet do not support passive mode, because clients cannot open the high-end port of the FTP server through the firewall: however, many intranet clients cannot log in to the FTP server in Port mode, Because the TCP20 of the slave server cannot establish a new connection with the client of the internal network, it cannot work.
Before connecting to the FTP of a remote computer, you should first know which working mode the FTP uses, and then you can decide whether to use the passive mode.
Use IPv6 transport mode
To understand IPv6, you should first understand the concept of IP (Internet Protocol). The current protocol cluster used by the global Internet is TCP (Transmission Control Protocol) "P" protocol cluster.
IP is the network layer protocol in the TCP/IP protocol cluster and the core protocol of the TCP/IP protocol cluster. At present, the IP protocol used in the Internet is the second generation IP technology, namely IPv4, and the next generation version of IPv4 is IPv6.
IPv6 is a new generation of IP protocol standard that is constantly developing and improving. Dreamweaver CS3 can support, identify and use the remote server address of IPv6 protocol.
Use firewall
The servers of most commercial websites are under the protection of hardware firewalls. Many computer rooms hosting hosts also use hardware firewall devices. To ensure that Dreamweaver can legally pass the verification of the firewall, you can set firewall options for Dreamweaver. This option includes the 1P address of the firewall and the ports allowed to be opened.
Using Secure FTP (SFTP)
The biggest disadvantage of FTP protocol is that the data transmitted is unencrypted plaintext transmission, which is easy to be intercepted by some TCP monitoring software. In view of this shortcoming of FTP, NetScape Company has developed the SSL protocol. The data transmitted by FTP is encrypted through the SSL protocol built in SSH to ensure the security of file transmission. SFTP (Secure File Transfer Protocol) is an improved version of FTP using SSL encryption.
4. Local/network
The principle of the remote server mode with local network is to simulate the remote server by using the shared directory in the LAN or the directory of the local computer. Select the local/network remote server mode to set the local path or the shared folder address in the LAN as the remote folder.
5. WebDAV
WebDAV (Web based Distributed Authoring and Versioning) is a communication protocol based on HTTP1.1 protocol and an extension of HTTP1.1 protocol. In the HTTP 1.1 protocol, ordinary applications cannot write data in the Web Server. They must use some dynamic web applications (such as PHP or ASP.NET).
WebDAV adds some new methods in addition to several HTTP standard methods such as get, post, and head in HTTP 1.1, so that ordinary applications can directly read and write to the Web Server, and support write file locking and unlocking, as well as file version control.
Dreamweaver and many similar programs support the use of WebDAV to manage the content in the web server (for example, blog service).
6. RDS
RDS (Remote Data Services) is a general term for a series of services that allow users to process client data. This service allows programmers to develop native Windows distributed multi tier application systems, or to develop Web application systems with browsers as graphical user interfaces.
7. SourceSafe database
SourceSafe is one of Microsoft's Visual Studio series programming tools, which is mainly used for version management of software or Web programs during development. It is easy to manage and use.
SourceSafe usually uses a computer as the server, and stores the developed software or Web programs in the server for centralized management. Other client computers connect to the corresponding database on the server to achieve consistent versions between client computers.
Dreamweaver supports being the client of SourceSafe, so that the server can use SourceSafe to control the work progress of the entire website program.
Source Statement: This article is original or edited by Shangpin China's editors. If it needs to be reproduced, please indicate that it is from Shangpin China. The above contents (including pictures and words) are from the Internet. If there is any infringement, please contact us in time (010-60259772).