The use of FileZilla and active mode and passive mode [FileZilla]

Table of contents

1. Introduction to FileZilla

2. Installation and preparation of FileZilla

3.FileZilla use

4. Active mode and passive mode

Active Mode:

Passive Mode:

How to select a mode in FileZilla:

                   That’s it for today! ! ! Hope this helps! ! !


1. Introduction to FileZilla

FileZilla is a free, open source, cross-platform FTP software for file transfer and management. It supports multiple file transfer protocols such as FTP, SFTP (SSH File Transfer Protocol), and FTPS (FTP Security Protocol), and provides an intuitive user interface and rich functions, allowing users to easily transfer files between local computers and remote servers. Transfer files.

Some of the main features and functions of FileZilla:

  1. Cross-platform support: FileZilla runs on multiple operating systems, including Windows, Linux, and macOS, making it a cross-platform file transfer tool.

  2. Graphical user interface: FileZilla provides an intuitive graphical user interface, and users can upload and download files through simple drag-and-drop operations.

  3. Supports multiple protocols: Supports common file transfer protocols, including FTP, SFTP, and FTPS. This allows users to choose a security level that suits their needs.

  4. File management: Provides intuitive management of local and remote files, including creation, deletion, and renaming of files and folders.

  5. Queue support: Allows users to add multiple files to the transfer queue to perform file transfer tasks in an orderly manner.

  6. Site Manager: Allows users to save and manage configurations for connecting to remote servers, simplifying the process of switching and connecting between multiple sites.

  7. File search: Provides a file search function to help users quickly locate the required content in a large number of files.

  8. Proxy support: Supports proxy servers, allowing users to transfer files through proxies.

  9. Speed ​​Limit: Allows users to set upload and download speed limits to avoid affecting other network activities.

  10. File comparison: Provides file and folder comparison functions to help users ensure the consistency of local and remote files.

  11. Remote file editing: Supports direct editing of files on remote servers through FTP protocol, simplifying file updates and maintenance.

FileZilla's open source nature and active community support make it a popular file transfer tool for both individual users and corporate environments.

2. Installation and preparation of FileZilla

Official download FileZilla icon-default.png?t=N7T8https://www.filezilla.cn/download

Here is the server download:

Select Download Now on the right side of the official website and install it for fools 

3.FileZilla use

Connect to server

 

Create a group 

 

 

After adding the group, add users 

 

You can add a few more 

 

 

 

 

 

 

Set it as the main directory. It is the same for other users. You can set your permissions to "Everyone can see it" by selecting the large file FTP_FileZilla.

 Then install the client also in a fool-proof way, and the page in the picture below will appear.

Fill in your IP address and the client password we just set to see the file. The same is true for other users, but the files they see are different. When others add files to it, the user who can see all the files can see the files added by other users. But other users can only see their own files, not other users' files. The one with the most authority can also add, delete, and modify files because it has the permissions used, but other users cannot.

 

The settings can be accessed externally. Click Settings to enter the page and click Passive Mode Settings. The configured port range value can only be after 4999.

 

 

Then configure the firewall, enter the advanced firewall settings, and create a new inbound rule

 

 

Then next step next step 

 

 

 Same as above, create a new one

 

 

 After setting up the above, you can access it.

4. Active mode and passive mode

'FileZilla, as a popular FTP client, supports two data transfer modes: Active Mode and Passive Mode. The choice of these two modes is crucial for successfully establishing an FTP data connection, especially when there are firewalls or Network Address Translation (NAT) devices in the network environment.

Active Mode:

  1. Establishment of data connection :

    • When a client attempts to download or upload a file, it connects to the FTP server's command port (usually port 21).
    • The client sends a PORT command to the server, which contains the IP address and port number used by the client for data connection.
    • After receiving the PORT command, the FTP server will try to send data from its port 20 (default data port) to the port specified by the client.
  2. Firewall and NAT issues :

    • Active mode may run into issues with firewalls or NAT devices because the data connection is initiated by the server, which means the firewall needs to allow data flow back from the FTP server.
    • If the client is also behind a firewall or NAT, the firewall or NAT device also needs to allow sending from the client's random port to port 20 of the FTP server.

Passive Mode:

  1. Establishment of data connection :

    • When a client attempts to download or upload a file, it connects to the FTP server's command port (usually port 21).
    • The client sends a PASV command to the server.
    • The FTP server listens on a random port and sends that port number back to the client as a response.
    • The client then connects to the server via the FTP command port and starts data transfer on a random port provided by the server.
  2. Firewall and NAT issues :

    • Passive mode is usually easier to work behind a firewall or NAT because the data connection is initiated by the client.
    • The client needs to be able to connect from its random port to a specified random port on the FTP server. Since this is a client-initiated connection, this mode is generally more reliable in firewall or NAT environments.

How to select a mode in FileZilla:

In FileZilla, you can find the option for connection mode in the "Edit" -> "Settings" -> "Connection" -> "FTP" or "SFTP" tab. Depending on your network environment and needs, you can choose active mode or passive mode.

Choosing the appropriate data transfer mode is crucial to successfully establishing an FTP connection, especially in complex network environments. Understanding how each mode works and possible issues can help you configure and use FileZilla for file transfer more efficiently.

 


                   That’s it for today! ! ! Hope this helps! ! !

 

Guess you like

Origin blog.csdn.net/m0_74915426/article/details/135297036