Setup FTP Server step by step in CentOS 6.5

40 Responses

  1. auliasabri says:

    thanks, very brief tutorial. Really helpful

  2. SirCasey says:

    Great tutorial, but you forgot to tell us to turn the firewall back on at the end 🙂 (Or add the FTP ports to it)

  3. Moulay says:

    Thanks you.
    i would like to know to to specify the public Upload and Download folder for authonticated users.

  4. Gaurav says:

    Thank you… very helpful tutorial… Can i also change the port instead of default 21 or 22???

    • SK says:

      Hi Gaurav!

      $ vi vsftpd.conf

      Find the following lines

      listen_port=21

      Change the port number whatever you want and restart the vsftpd service.

      Hope it helps.

  5. Ziko says:

    Thank You very much! Its work. But I’ve one question: When I edit file.txt then automatiacally created file.txt~ and this file shown only from web browser. This is problem or not? If problem how can I fix it?

  6. Wook says:

    How can I have the banner displayed also for users coming in using a browser ? My Security Polilcy requires it, but seems that banner is only displayed when accessing FTP via CLI . Using banner only username/password is required, but then no banner is shown.. : /

  7. Wook says:

    Sorry I meant: “Using browser only username/password is required, but then no banner is shown.. : /”

  8. Nigam Raval says:

    thanks very brief tutorial

  9. Rick Ovens says:

    Excellent! Clear, concise and accurate. Thank you

  10. pawan says:

    How to restrict some IP’s not use my ftp servers.

  11. RedneckBob says:

    DUDE, why did you leave the firewall disabled? That is a terrible idea.

  12. david says:

    THANK YOU SO MUCH! If I could, I would kiss you. This is by far one of the BEST tutorials I’ve come across in a very long time. I have spent the last 3 hour trying to setup vsftpd and log in remotely, but nearly all the tutorials on the web are ill illustrated and very confusing. Your tut got me up and running in 4 minutes.

    One more thing, If I want to ftp over ssh, that is sftp to be more secure, how would I go about?

    Thank you once again

  13. Tony says:

    Very good tutorial 🙂
    BTW how to change $HOME directory for particular user who do ftp? can you help me for that?

  14. rahul jangam says:

    hey friends when I am doing ftp via browser it wont ask me for password.
    i did all these settting its its really nice brief explanation good work.

  15. Gerald says:

    this is a great tutorial, but how do you configure the firewall to allow ftp ? so that you don’t have to leave the firewall turned off ?

  16. Mohamed says:

    the default folder where the users are connected is /var/ftp/pub.

  17. Arun says:

    Thanks Brother…Really Helpful…!!!

  18. ajit ranjan deb says:

    thanks for clear concept

  19. Farhaaz says:

    It is very simple and nice explanatio….Thank you very much!
    .

  20. Harsha says:

    very good tutorial. Thanks a lot

  21. Mohammad Rizwan says:

    bundle of Thanks

  22. siraj says:

    Nice one bro..worth reading it..simple and clear..

  23. kookin says:

    Awesome, thanks so much!!

  24. Jthera says:

    Many thanks for such a nice doc.

  25. Prabath says:

    Its a very nice tutorial and really helpful. Thank you very much.

  26. Serge says:

    Very nice tutorial, the only problem i have is that i can connect to my ftp server with Filezilla or any other GUI ftp, command line is working fine

  27. Serge says:

    Sorry this what i meant
    Very nice tutorial, the only problem i have is that i can’t connect to my ftp server with Filezilla or any other GUI ftp, command line is working fine.
    Filezilla
    Error: The data connection could not be established: ECONNREFUSED – Connection refused by server
    CrossFtp:
    [L] UTF-8 encoding is recommended (Sites -> Site Manager -> Options -> Server Encoding)
    [L] PWD
    [L] 257 “/home/serge”
    [L] PASV
    [L] 227 Entering Passive Mode (192,168,1,10,41,74).
    [L] Opening data connection IP: 192.168.1.10 PORT: 10570
    [L] Connection refused
    [L] Socket is closed

    Any help ???

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.