Installing an FTP server and configuring it (using the FileZilla Server program as an example). Methods for connecting to an FTP server

Installing an FTP server.

The FTP server is included with Internet Information Services. To install it, open Control Panel -> Programs -> Enable or disable Windows components. Expand the IIS Services section and check the boxes next to the following components: FTP Service and IIS Management Console.

Setting up an FTP server.

Open Control Panel -> System and Security -> Administration -> Computer Management (you can quickly: Start menu -> right click on Computer -> select Management from the menu). In the window that opens, expand the Services and Applications group and open IIS Service Manager. In the Connections window, select the Sites folder, then in the right Actions window click on the Add FTP site link.


In the FTP site creation wizard, specify its name and location (by default c:\inetpub\ftproot).


Next, specify the binding and SSL parameters. I leave the binding section unchanged. I disable the “Start ftp site automatically” option (I only need ftp from time to time). In the SSL section, I select the “Without SSL” option.


In the next window, leave everything unchanged and click Finish.


The site has been created. Now you can go to additional options for fine tuning(for example limit maximum quantity simultaneous connections). Select the newly created site, on the right in the Actions panel click on Additional options.


The next step is setting up the Windows Firewall. Open Control Panel -> System and Security -> Windows Firewall-> Additional options. In the “Rules for incoming connections” section, find and activate “FTP server (incoming traffic)” and “FTP Server Passive (FTP Passive Traffic-In)”. Final Rule allows you to connect to an ftp client in passive mode.



In the “Rules for outgoing connection” section, find and activate “FTP Server (FTP Traffic-Out)”.


If an additional firewall is installed on the system (Comodo, Outpost, etc.), then it also needs to open port 21 (TCP) for incoming connections and port 20 (TCP) for outgoing ones.

If you connect to the Internet using a router, and you want to make your server accessible to Internet users, then you need to configure port forwarding on the router. On my Dlink DI-804HV this is done in the Virtual Server section.


192.168.10.4 — IP address of the ftp server in local network.

Setting up user rights.

If you leave everything as it is, then any user can connect to the FTP server (anonymous access is enabled) with read-only rights (you can download, but you cannot write or change files). Let's assume that we need to make access for trusted users who would have write rights and file changes.

Open Control Panel -> System and Security -> Administrative Tools -> Computer Management (Start -> right click on Computer -> select Management from the menu). Next, expand the group Local users and groups ( this setting available only in Business and Ultimate editions). Right click on the Groups folder and select Create Group from the menu.


Enter the name of the group - FTP Users, a description (you don't have to enter it) and click the Create button.


Now you need to create a user. Right-click on the Users folder and select New User from the menu.


Enter the user name (for example ftp_user_1), password (at least 6 characters), check the boxes next to the options “Prohibit the user from changing the password” and “Password does not expire.”


The user has been created. Now you need to assign it the previously created group Ftp Users. To do this, open the user properties and go to the “Group Membership” tab. By default, a new user is assigned the Users group; delete it. Click the Add button -> Advanced -> Search. A list of user groups will open. Select the FTP Users group and click Ok. As a result we get:


Click Ok and move on to the next step.

At the stage of creating an ftp site, we needed to select a working directory (c:\inetpub\ftproot). Now you need to configure access rights to this directory for the FTP Users group. Open c:\inetpub in Explorer, open the properties of the ftproot folder, go to the Security tab and click the Edit button. In the window that opens, click the Add button and select the “FTP Users” group (as when creating a user). Set the permission level to “Full Control” and click OK.


The last stage. Open IIS Services Manager again and select our ftp server (Test FTP). In the FTP site control panel, select “FTP Authorization Rules”. Add an allowing rule. In the window that opens, select the “Specified roles or user groups” option. At the bottom in the text field, we manually write the name of our group (FTP Users), then check the boxes in the Permissions section opposite Read and Write and click OK.


This completes the setup.

At the beginning we did not select the option automatic start server, so don’t forget to start it manually (right click on the site name -> Manage FTP site -> Start).

How to connect?

Option using Windows Explorer.
Open Computer (Vista, Win 7) or My Computer (XP).
For anonymous access, simply enter in address bar server address (ftp://192.168.10.4).
To log in with a username and password, enter an address like: ftp://[username]:[password]@[ftp server address]. For example ftp://ftp_user_1: [email protected]- to connect from a local network. To connect from the Internet, replace the local address with an external one or with a domain name.

What haven't they come up with for convenient use computers and the Internet.


Each user can now install programs to create a full-fledged server at home, to which they can connect via FTP. It's not that hard to do, just use free program FTP FileZilla Server.

How to create an FTP server on your PC? Download the necessary program can be found on the website Filezilla-project.org.

After installing and configuring it, you can create as many users as you like so that they can connect to your computer via FTP and exchange information. This is convenient for data transfer.

Create an FTP server on Windows 7

We will not talk about how to install FTP program FileZilla Server, because everything is simple there. The most important thing is not to change anything and just click “Next”.

After installation and the first launch of the program, a window appears for local connection to your PC. In it you need to specify the server address 127.0.0.1 and port 14147:

All settings are made through the Edit>Settigns menu item. Go to it and the following window will open:

There are several settings available in the main menu; you don’t need to focus on them, but it’s better to understand:

  1. Port to connect to your server.
  2. Maximum number of connections.
  3. Number of threads.
  4. Timeout settings.

Just for fun, you can go to other sections of the settings to familiarize yourself with the functionality. For FTP creation server on your computer, you don’t need to change anything there.

To proceed to setting up the server, you will need to create profiles, and this is done through the same Edit item:

Available here too different settings, to create a new connection that people will use to access your files, you need to click Add:

A window will appear in which you will need to specify a user name and select a group (leave none):

When a profile is added, it will appear in the list, and when you select it, you can configure access (for example, set a password):

We are done with creating a connection profile; now we will configure the folders to which access will be available. To do this, go to the next settings section and click Add:

Having selected the folders, click OK and now everything is ready. Users can use or using any other file manager. What will they need for this? Let's look at the connection form.

Hello admin, Please explain to me what an FTP server is and can I create it myself on my computer?

In short, I have a regular one at home system unit and three laptops, all these machines are connected to the Internet via a router, can I from desktop computer make a real one FTP server, and directly from all laptops download and upload files to it? Just installed on a regular computer hard drive 3 TB and it turns out that no one uses it, all relatives prefer laptops that are already running out of disk space.

Hello friends! Our Ro8 wrote a great article for you on this topic, read it.

Firstly, FTP is a protocol for transferring files over the Internet using the client-server principle, and FTP server is a file storage on the Internet, that is - regular computer With installed Windows 7, 8.1 or Windows Server 2012 and several hard drives large volume, on which any of your files can be located. This computer has a program installed, for example - FileZilla Server, anyone else can connect to this computer using: command line , Windows Explorer And various programs, we will consider two in our article:FileZilla Client, And Total Commander . After connecting to Using an FTP server, you can upload any files (movies, music, etc.) to it and also download them.

ControlThe FTP server will be run by the administrator who installed the program - FileZilla Server. This is where you can assign different access rights to each user. (possibility of changing files on the server): Append (the ability to change files), Read (read only), Write (record), Delete (delete). Naturally, most users do not need to be given Delete rights.

  • Note: From almost any computer or laptop (even with just one hard drive) can be done FTP server and connect other computers to it to receive files, and it is not at all necessary that all computers be connected to one router,An FTP server can be created on the Internet and given access to hundreds and thousands of users.

How the work happens

As software implementation FTP server in the article we will consider the FileZilla Server program, which will be installed on a machine with Windows Server 2012

Also, as the machine from which the connection to the created FTP server computer with pre-installed Windows 8.1 Enterprise (x64)

In order for a machine with Windows 8.1 to connect to the FTP server, it will be installed FileZilla programs Client (one of the ways to connect using this program)

Go to https://filezilla-project.org and download FileZilla Server and FileZilla Client

Downloaded file We run FileZilla Server on a machine with Windows Server 2012, A FileZilla Client file on a Windows 8.1 machine. Both programs are installed the same way. First of all, let's install the FileZilla Server program.

Installing FileZilla Server

After launching the downloaded FileZilla file Server on Windows Server 2012 click next

Click Install

Install

FileZilla Server installation process

Installation complete

After installation, a window like this will open in which we enter the local address of the FTP server and click OK

After entering local address FTP server the main window of the FileZilla Server program will appear

Let's make some settings by selecting Edit-Users

On the General tab, to add a new user, click on the Add button

Enter your username. OK

Next to Password, check the box and enter the password of the added user

Go to the Shared Folders tab. On this tab we will add the folder FTP01 which will be available to the created user Ro8. Click Add

Specify the previously created folder FTP01. OK

Select the added folder and specify access rights for it: - Read (read only), Write (write), Delete (delete), Append (the ability to change files in this folder)

Determining the IP address of a machine running Windows Server 2012 (192.168.1.4)

Installing FileZilla Client

We switch to a machine with Windows 8.1 and install the FileZilla Client program

We accept the license agreement

Installation

Installation complete

We have a network represented in the diagram

Let's connect to the FTP server in various ways.

Connect to the FTP server using the command line

On a machine with Windows 8.1, launch the command line.

Specify the username (Ro8) and enter the password. The password is not displayed when entering

Logged on means that we have logged into the FTP server

Create a folder My_Backup_win8.1 on the FTP server by entering the command mkdir My_Backup_win8.1

Let's look at the list of folders on the FTP server by entering the ls command

As you can see, there is a folder My_Backup_win8.1 on the FTP server

Close the connection to the FTP server by entering the bye command

Connecting to an FTP server using the T program otal Commander

Let's launch the Total Commander file manager on a machine with Windows 8.1. To set up a connection to the FTP server, click on the button shown in the screenshot

Click Add

We specify the connection name (optional), server and port (server is the IP address of the FTP server, port 21). We also indicate the username and password. OK

Select what was created FTP connection and click Connect

Connection to FTP server established

To disconnect from the FTP server, click Disconnect

Disconnection from FTP server completed

Connecting to an FTP server using the program FileZilla Client

Let's launch the FileZilla Client program

The main program window will open

Continuing the topic of transferring files over the Internet, today I’ll talk about the FTP server. Although I gave my preference, you cannot lose sight of the FTP server, since it is very popular way file transfer. So, a little theory. What is FTP?

FTP (File Tranfser Protocol) translated from English means “File Transfer Protocol” and is used for exchanging files between computers via the Internet or local network. To log into the FTP server, a regular browser or even Windows Explorer is enough. The only condition is open port 21 (used by default, but can be replaced with your own), that is, it must be open. So, if you have a Firewall or a router, you will have to remember where you have the instructions to forward port 21.

So, let's move on to setting up an FTP server.

1) And the first thing we need is to add components to our operating system. To do this, go to “Control Panel” → “Programs” → “Programs and Features” and click the button on the left “Turn Windows features on or off”:

2) In the list that opens, we need to enable the group of components “IIS Services”, namely: “FTP Server”, “Internet Services” and “Website Management Tools”. It should look the same as in the screenshot:

Click OK and wait for the installation of components to complete. Depending on the edition of your operating system, you may need a Windows installation disc.

In the window that opens, in the left column, open the tree to the “Sites” tab and right-click on this tab. Select “Add FTP site”:

We indicate the name of the site and the directory that will be accessed via the FTP protocol:

Specify the parameters for launching the FTP server. If you do not want the server to start automatically when the system starts, uncheck the box. In the SSL subsection, check “Without SSL”:

On next page Check the box next to “Anonymous” and “Normal” and click done:

The FTP site has been created, let's continue with the setup.

4) Go to “Control Panel” → “System and Security” group → “Windows Firewall” and select “Advanced settings” in the left column:

Go to the “Rules for incoming connections” tab. You need to find and include two items:

— FTP server (incoming traffic);
— FTP server traffic in passive mode (incoming FTP traffic in passive mode).

To do this, right-click on the rule and select “Enable Rule”:

Then go to the “Rules for outgoing connections” tab and enable the “FTP server traffic ( outgoing traffic FTP)":

If you have a Firewall or router installed, you need to open port 21(TCP) for incoming connections and port 20(TCP) for outgoing ones.

5) It is necessary to create a user who will have full access to the server via FTP (write/delete). First you need to create new group users. Therefore, go to “Control Panel” → “System and Security” group → “Administration” → “Computer Management”. In the left part of the window, select the section “Local users and groups” → “Groups”. Right-click on empty space in the central part of the window and select “Create group...”:

Enter the name and description of the group and click the “Create” button:

Go to the “Users” tab and, by analogy, click on an empty space and select “New User”:

We enter the data and come up with a password (at least eight characters). We also check the boxes for “Prohibit the user from changing the password” and “Password does not expire”:

Open the properties of the new user by right-clicking on it. Go to the “Group Membership” tab. Click the “Add” button → “Advanced” → “Search” and select the group that we created a few minutes ago. Click OK.

Click the “Add” button and add the group that we created. We give the group full access by checking the appropriate box at the bottom of the window:

Click OK to apply the changes.

Go to “Control Panel” → “Network and Security” group → “Administrative Tools” and open “IIS Services Manager” → “Sites” and select our site:

Select “Specified roles or user groups” and enter the name of our group. Give this group read and write permissions and click OK.

We return to the site and go to “FTP Logging”.

We indicate maximum size log or disable it completely. Click “Apply” on the right:

That's all. I hope you found this article useful, click one of the buttons below to tell your friends about it. Also subscribe to site updates by entering your e-mail in the field on the right.

Thank you for your attention:)

If you are referring to this kind of articles, then it most likely makes no sense to once again remind you about the essence and purpose of such servers, but for the sake of formality it is worth clarifying that File Transfer Protocol uses port 21 by default and can be used for viewing as an Internet browser and by the majority file managers which includes Windows Explorer.

Continuing with the obligatory introduction, let me remind you that for normal operation on the local network you will need to open port 21 in the Firewall server computer(obviously the one on which you will configure), and for access from external network it also needs to be forwarded this port on the router. The last reminders are necessary for the happy owners of firewalls and routers. So, if you use these programs and devices, it would be a good idea to read the instructions and complete the setup.

Let's start by making sure that our operating system generally knows how to do this kind of work. To do this, we simply look at the name of the assembly and consider everything above the Home version to be suitable for our needs.

Step one.

Find the “programs and features” item in the control panel and go to the “Turn Windows features on or off” option.

Step two

The menu that opens will offer us a list of components from which we must find and enable “IIS services” and all its subservices. It should turn out like this:

Click OK and wait for Windows to complete the installation.

Step three

Now we need to directly start our server. In the same control panel we find the “Administration” item, and in it “IIS service manager"

In the window that opens, in the left column, open the tree to the “Sites” tab and right-click on this tab. Select “Add FTP site”

Then we set the name of the site and the directory to which the ftp protocol will physically access

Next, the parameters for launching the server are determined and to simplify access, it is worth specifying launch without SSL. Whether to launch it at system startup and whether to bind it to a specific address is at your discretion.

On the next page, check the boxes next to “Anonymous” and “Plain” and click done.

On at the moment FTP - the server is ready, but in order for us to use it, we will continue to configure it.

Now let's configure the Windows Firewall

"Control Panel"→ “Windows Firewall”

Here we go to additional parameters.

Then you need to enable 2 rules for incoming connections

    FTP server (incoming traffic)

    FTP server traffic in passive mode (incoming FTP traffic in passive mode).

For outgoing connections, you need to enable the following rule in the firewall " FTP server traffic (outgoing FTP traffic)".

Step five

Now you need to create a user to work with the server. Why do we open it? system console. Press the Win+R key combination and enter “mmc” in the field

in the console that opens, press Ctrl+M or the “file” menu - “Add or remove snap-in”. A menu will open in which you need to add “Local users and groups”

If you did everything correctly, you will get a window that looks like this:

Now we create a group for the user of our FTP server.

Click right click mouse on “Groups” - “Create a new group”

We issue the “create” command and proceed to creating a user.

Now we need to bind our user to the previously created group. To do this, go to the user properties to the “group membership” tab. There we press the “add” and “advanced” - “search” button. Now we add the group that we created a couple of minutes ago.

Step six

We need to specify group permissions for the directory that we specified when creating the server. To do this, open its properties to the “Security” tab and click the “Change” button:

Click the “Add” button and add the group that we created. We give the group full access by checking the appropriate box at the bottom of the window:

Step seven

Let's go back to the FTP server settings

Go to “authorization rules” FTP "and create a allowing rule, where in Select “Specified roles or user groups” and enter the name of our group. Give this group read and write permissions and click OK.

Now your FTP server is configured and completely ready for use. Don't forget to check your Firewall and router for open ports for the site and you can safely get to work.