How to install FTP in Linux and Windows

  • Linux Server :
  1. Install vsftpd

yum install vsftpd

  1. Edit the vsftpd configuration file

nano /etc/vsftpd.conf

Replace the contents with the text below:

# Standalone mode

listen=YES
max_clients=200
max_per_ip=4

# Access rights
anonymous_enable=YES
local_enable=NO
write_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=NO
anon_other_write_enable=NO

# Security
anon_world_readable_only=NO
connect_from_port_20=YES
hide_ids=YES
pasv_min_port=50000
pasv_max_port=60000

# Features
xferlog_enable=YES
ls_recurse_enable=NO
ascii_download_enable=NO
async_abor_enable=YES

# Performance
one_process_model=YES
idle_session_timeout=120
data_connection_timeout=300
accept_timeout=60
connect_timeout=60
anon_max_rate=50000
anon_mkdir_write_enable=NO
anon_other_write_enable=NO

Press CTRL+O and hit enter, then CTRL+X to save and quit the text editor.

  1. Test the connection with root:

Open a new terminal window locally, and don't connect to the server over SSH.

Input:

ftp {{form.Server_IP}}
You'll be asked for your username at the next prompt.

Connected to 192.168.1.9.
220 (vsFTPd 3.0.3)
Name (192.168.1.9:user): {{form.Server_root_username}}
331 Please specify the password.
Password:
230 Login successful.
Seeing the Login successful confirmation, you can now navigate around the FTP sever using cd and ls.

  • Windows Server :

Although Windows 10 includes support to set up an FTP server, you need to add the required components manually.

To install the FTP server components, do the following:

  1. Open Control Panel.
  2. Click on Programs.
  3. Under "Programs and Features," click the Turn Windows features on or off link.
  4. Expand the "Internet Information Services" feature, and expand the FTP server option.
  5. Check the FTP Extensibility and FTP Service options.
  6. Check the Web Management Tools option with the default selections, but making sure that the IIS Management Console option is checked.
  7. Click the OK button.
  8. Click the Close button.

Once you've completed the steps, the components to set up an FTP server will be installed on your device.

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

HOW VPS HOSTING PROVE TO BE ECONOMICAL FOR ENTERPRISES

We see many businessmen, saying that they want the best and cheap VPS hosting plan there is, for...

THE ULTIMATE GUIDE TO WEB HOSTING

Planning to create your own website? The first thing you need to decide is what type of web...

IS LINUX OR WINDOWS VPS HOSTING RIGHT FOR YOU?

Virtual Private Server (VPS) is a new great hosting option that is available for the website...

ROLE OF COLOCATION SERVER TO YOUR WEBSITE

Colocation is basically a process that allows you to purchase our own hardware and software while...

DEDICATED OR VPS SERVER HOSTING – WHICH IS THE BEST HOSTING OPTION?

Determining what is preferable between IndiaVPS server and dedicated server India when...