FTP servers

News

An FTP server is a server that uses the File Transfer Protocol. They are used to exchange various files between PCs connected to a local network or the Internet, as well as to create and maintain sites whose data and web resources are located on such a server.




What is an FTP server and where is it used

Technically, an FTP server is the software, application, or management system interface through which a user's server is logged in, like it works on the DeltaHost FTP server hosting here https://deltahost.com/ftp.html. So, should you buy FTP server (given there exist a number of cheap FTP storages) or not? Let's figure it out!

The most common purpose of using FTP servers is to exchange files between a site and its administrator's PC. Data, useful or entertaining content converted into files are stored exactly in FTP-storages. Its main purpose is remote file transfer. In addition to this main operation, you can delete files from the server, rename them, create folders.


How to choose a cheap FTP hosting

FTP server allows you to:

  • provide access by login and password to the necessary files;
  • show the user only those files and folders that he can view or download files to them;
  • control the quality of transmission and track the appearance of errors;
  • manage connection parameters in passive mode.

At the same time, FTP servers have a number of features - the need for authentication;

  • the ability to perform various operations with file systems;
  • using a separate channel for each connection; the ability to specify the types of transmitted files using MIME headers;
  • support of two data transfer modes - text and binary (binary); session mode of operation.



How the FTP protocol works

This name has a protocol focused on sending data in the form of files on the Internet and local computer networks. Its feature is multiple connection. One channel plays the role of a manager, through which the server receives commands and returns responses (as a rule, through port 21). Other channels are used to actually transfer files (most often through port 20).

Before starting to work with the protocol, the client device opens a session. Throughout all further work, it remains open - the server "remembers" the state of the session.




Setting up an FTP server

Just creating an FTP server is not enough - you need to configure it to get full use of it. Next, we'll take a look at the steps you need to take to do this in Windows 10.

Open the classic control panel as described above. Find the "Administration" section in it, enter it and find "IIS Manager" in the list of items. Double click to open the corresponding section of the settings.

Expand the list on the left side of the window, and then right-click on the Sites folder. In the context menu that appears, select the "Add FTP site ..." item.

In the dialog box that appears in front of you, you will need to specify the name of the FTP server you created, as well as the path to the data folder. Click the Next button to proceed to the next step in configuring your server.

Now you need to set the parameters of the FTP server. Pay attention to the field for entering the IP address. Enter in it one of those that will be offered to you in the form of a list. You will have a choice of two options - to bind to a specific address or to give client devices extended access. In the latter case, you will need to select the "All free" item. Make sure that the default port for server management is set to 21. Check the box next to "Start FTP site automatically" if you intend to use the FTP server in permanent mode.




By going to a new window, you can set the method for authorizing client devices. Pay attention to the section titled "Authentication". Here you can choose one of two options - allow access for regular clients (by name and password) or allow anonymous users to use the server. In addition, in the same section you can set certain user rights. Click "Finish" after finishing the setup.

The next step is to configure the operating system firewall. To do this, in the classic control panel, select the "Windows Defender Firewall" section, and in it - the "Advanced settings" section. Next, pay attention to the item "Rules for incoming connections". Using the right mouse button, enable the "FTP server (FTP inbound traffic)" rule.

Users should be able to log into the server you created. Connect them by opening the "Administration" section in the classic control panel. In it, open the item "Computer Management", then - "Local Users". Right-click on the "Groups" folder, and then left-click on the "Create group" item. Enter a name and a short description, and then click on the "Create" button.

Add specific users to the created group. Right-click on the "Local Users" folder, select "New User" from the context menu. Enter your username and password.

Expand the "Local Users" folder by double-clicking the left mouse button. Find the created user, right-click on it, select "Properties". In the window that appears, open the "Group Membership" tab. Click the "Add" button and enter the name of the group you have created in the field at the bottom of the window. Click the OK button.





Get Solution for free from DataCamp guru