One of the easiest và most convenient way for transferring files between computers locally or on the internet is by way of FTP. FTP stands for tệp tin Transfer Protocol và runs on the following ports: 21 for standard FTP, 22 for SFTP, và 990 for FTPS.

Bạn đang xem: How To Connect Ftp Over Ssl/Tls In Filezilla

Standard FTP

By default, standard FTP operates on port 21. However this can be changed. The only downside is there’s no secure authentication and encryption going between the client & server so it is highly recommended that this be used in an LAN network or local server( và localhost).


SFTP is a secure FTP protocol, dependent on SSH (Secure Shell) allows for the transfer of files over an encrypted connection. SFTP is capable of remote management of the server’s tệp tin system, tệp tin transfers that have been interrupted by an connection issue can be easily resumed without having lớn start all over again. For authentication, SFTP uses something called a Public Key for the server & Private Key for the client. Think of the Private Key as the keys to lớn your house and a Public Key as the door, you can make it so that only the person with the right keys can enter sans needing a username/password. This is considered lớn be the most secure of the three available.


FTPS stands for FTP secure & is sort of like SFTP, but not quite. This type of protocol uses a certificate-based system such for as those used in internet websites for secure-based authentication. Encryption is done using TLS between the two endpoints(client và server) & can be configured as Implicit or Explicit. Implicit is recommended for security as it forces the connection to lớn be encrypted. But if the files transferred are not of sensitive nature, Explicit can be used which, depending on user configuration, encrypts either the data passing through the connect or just your authentication details(username or password).

Choosing the best FTP vps Software

There are many different factors that go into picking the right one. Whether its pricing, functionality, ease of use there’s so many out there for the Windows platform. Here are a few:

Microsoft IIS – Available on certain editions of Windows under Features. FTP/FTPS component configurable as well as WebDAV(think FTP on HTTP).

For this guide, we will be installing FileZilla Server. You can get it from here. Run the installer & click on “I agree”.


Here we will be doing a Standard install for FileZilla which includes the vps itself as well as the administration interface for management. Click Next & Next again.


By default, FileZilla hệ thống will be installed as Windows Service, it will start-up every time Windows boots. Also as you can see the admin port is set khổng lồ 14147, this is the port used to access the hệ thống through the administration interface. Make sure “Start vps after setup completes” & click Next. And then click Install. Wait for cài đặt to complete và then click Close.


You will be asked lớn connect to the server through the administration interface. Click the checkbox to check it và make up a password that you will be using from here on as your login. Click Connect.


In the admin console you will see the following 2 messages printed in red “You appear to be behind a NAT router. Please configure the passive mode settings và forward a range of ports in your router.” and “Warning: FTP over TLS is not enabled, users cannot securely log in”. If you’re planning lớn run your FTP hệ thống on the internet, then we will need to configure passive mode in order to lớn bypass your router’s firewall.

At the top of the menu, click on Edit->Settings.

Xem thêm: Mã Trường Đại Học Văn Hóa Nghệ Thuật Quân Đội Thông Báo Tuyển Sinh 2020


You are now at Options. On the left hand side navigate to “passive mode settings”. Click the checkbox labeled “Use custom port range” và lets use values 53020 – 53120. This will give FileZilla vps 100 ports to utilize for data connections. Please note that you will need khổng lồ forward these same ports on your router as well as the FTP port that you will be using for incoming connections. Next under IPv4 specific click on the option that says “Retrieve external IP address from:” and leave it on the default URL.


On the left side click on “FTP over TLS settings”. This is where you will configure encryption over TLS. Click on “Enable FTP over TLS support (FTPS)”. Next, click on “Generate new certificate…”.


We are now going khổng lồ generate our own certificate in order for our FTP vps to accept TLS connections for encryption. Mix the key kích thước to 2048-bit and your 2-Digit country code, the rest is optional. Click Browse lớn save your pre-generated certificate to a specific location on your storage drive. Click on “Generate Certificate”. Under FileZilla hệ thống Options click OK lớn save everything.

In the administration interface menu, go lớn Edit->Users.


You will now add users that will be accessing this server. Click the “Add” button on the right hand side. Enter a username and click OK. With your first user selected in the user box, click on “Password:” under account settings và enter one. Under the page section click on “Shared folders”.


You will define a directory thư mục for your users to access. Here you can make almost any directory on your drive accessible. For now you will want khổng lồ create a new folder on your desktop. Feel không tính phí to name it what you want. Next, head back lớn the FileZilla Server và under “Shared folders” click on “Add”. Go khổng lồ “Desktop” & select the folder that you’ve just created. By default, this directory will become a home directory on your server and to the right you will be able khổng lồ grant certain users permissions khổng lồ it. Under “Files” click on Write and Delete. After click OK to lớn close the Users window.

Open up your website browser & enter into the address bar. You will be asked lớn provide the username and password that was created earlier.


You will see a website page displaying the contents of your directory. Here you are only able to download the files stored on the server. There is another way khổng lồ access the server.

FileZilla Client

FileZilla also has an client available. Download the FileZilla Client from here. Installation is straightforward, after completion run it.


For now we will be doing a simple local connection. Near the đứng đầu right next to lớn “Host” type, enter your username & password created earlier on your server. For the port type 21. Click on “Quickconnect” and you should see the connection initializing in the status box. You will be prompted to confirm the unknown certificate. This is normal as you can see our Subject of Certificate và Certificate Issuer is same as the one we’ve generated. Click on the checkbox “Always trust certificate in future sessions” & click OK. Under the Remote site box, you should see your configured directory displayed và all of the files inside it.

FileZilla has been successfully configured khổng lồ start accepting incoming connections. Don’t forget khổng lồ forward all passive mode ports 53020-53120, FTP port 21, và 990 on your router. You can also configure a static IP address khổng lồ avoid problems later on.