FTP Server Setup - gHacks Tech News

FTP Server Setup

Being able to activate a ftp server when needed can be an efficient way of providing file access and file upload capabilities to customers, coworkers and friends. Most users shy away from setting up an ftp server fearing that the setup is complicated and that they might overlook an important setting that will give the connected users access to their whole system and not on the selected virtual directories.

Setting up an ftp server is actually not complicated at all. The process can be broken down in the following parts: Downloading the ftp server software, installing the software, configuring the ftp server and starting it. The biggest part will be the ftp server configuration where the ftp server admin has to share directories and add user accounts to the system.

Filezilla Server is an Open Source ftp server that can be used to setup a ftp server in Windows. A good advise would be to use the default parameters that are shown during ftp server setup. If you have followed the advice you should see a small window after installation that's called Connect To Server. A click on OK should connect to the ftp server interface as an administrator.

ftp server connect

FileZilla uses User Accounts and Groups to determine access rights of the ftp server. Groups can be used to configure settings for multiple users which are simply assigned to a group. The only thing that has to be done to get the ftp server up and running is to add at least one user account to the server.

This is done by clicking on Edit > Users in the top menu.

ftp server setup

The first step is to click on the Add button on the right beneath users. Pick any username and leave the group setting as is.

add user account

The new user should now appear in the Users pane on the right side. Now check the Password box and enter a password for that user. You cannot leave that box empty unless you set the username to anonymous.

Now that we have created a first user and assigned a password to that user we need to setup the access rights for that user. A click on Shared Folders loads the menu where the ftp server administrator can enable access to local drives for the selected user.

ftp server shared folders

A click on the Add button beneath Shared Folders will open the file browser in Windows. The first directory will be the Home directory of the user. The access rights are displayed on the right. The user can by default only download (read) files and list directories. If you want to enable file uploads you should create a specific directory for that purpose and set the access flags accordingly (write and create).

If you want to provide access to different hard drives you need to enable so called aliases. The ftp server will always display the home directory to the connected user with no option to switch to another drive.

The only way to provide access to multiple partitions and drives on the ftp server is to create aliases. They basically tell the ftp server to create an alias directory in the home directory that will point to the other partition or drive.

This can be done by right-clicking a folder that has been added to the shared folder list and selecting Edit Aliases from the menu. Now enter the full path of the alias directory. If your home ftp directory is located in d:\ and you want to add f:\ as another shared folder you need to pick an alias that uses the path d:\aliasfolder, for example d:\fshare. When a user connects to the ftp he will see the contents of drive d and the alias folder fshare in the directory structure that will display the contents of the f drive.

And that's it. Congratulations, you setup an ftp server in a few minutes. The settings can be used to change various aspects of the server, including:

  • Banning IP addresses
  • Enabling logging
  • Setting global speed limits
  • Enabling compression
  • Enabling SSL
  • Setting a welcome message

Setting up a ftp server is not complicated. The most important security aspect is to always update the ftp server to the latest version and only enable the ftp server when needed.

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:

Comments

  1. Gennadiy said on October 10, 2008 at 8:23 pm
    Reply

    Very useful article. Thank you very much. I will definitely use FileZilla server for my work.

    1. 4 article ftp server said on September 10, 2009 at 2:43 am
      Reply

      Ftp server untuk my phone

  2. MDR JEGADEESH said on October 29, 2008 at 1:02 pm
    Reply

    pl. provide an offer to setup a FTP server for a particular project with DSL of 1MB

  3. Anonymous said on December 21, 2008 at 6:59 pm
    Reply

    help me for server setup my phone

    1. hyder said on April 24, 2010 at 11:41 am
      Reply

      dear do you want to develop a ftp server?

  4. Anonymous said on September 27, 2009 at 1:01 am
    Reply

    Iki

  5. Mark endee said on September 28, 2009 at 2:56 am
    Reply

    Please i need the settings of ftp server 4 my phone

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.