How to install FTP in Linux and Windows Print

  • 0

  • 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.

 


Was this answer helpful?

« Back