Showing posts with label FTP. Show all posts
Showing posts with label FTP. Show all posts

Wednesday, July 20, 2011

FTP server in Linux

Linux comes with various type of ftp server:
                  proftpd
                  vsftpd
                  ftpd
                  wu-ftpd
                  pure-ftpd

i tried vsftpd

so first of all you have to install it on your computer
#sudo apt-get install vsftpd

you can find its configuration file at  /etc/vsftpd.conf
if you want to change something in this file you can change
#vi /etc/vsftpd.conf

you will get lot of option there like
       local_enable=YES
remove comments from the option that you want to use

if u want to enable upload a file on your server
          write_enable=YES

if u want to restrict user to their home directories
          chroot_local_user=YES

start your FTP server
#/etc/initd/vsftpd restart

at ftp client to connect to server type:
#ftp 10.100.98.91

if you want some help then type help to know command to work on FTP..

to get more help  

working of FTP