Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, I currently have 4 Linux Servers installed in a test lab that I have built for my job. I am in the process of trying to get FTP ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    38

    Setting Up FTP Client/Server

    Hi All,

    I currently have 4 Linux Servers installed in a test lab that I have built for my job. I am in the process of trying to get FTP to work (vsftpd is installed).

    I don't need a GUI or anything (and I don't have an internet connection, so I probably can't get one anyway).

    I bring up the terminal and I type FTP and I am presented with a few problems:

    1. If I try to FTP to one of the other Linux Servers on the network, I get "No route to host" error.

    2. If I try to FTP to the Server I am sitting on, then I am able to successfully connect, obviously. But when I do an "ls," I don't see any available files.

    I am assuming this is because I have not yet set up a folder for it (i.e. Windows uses "ftproot" folder).

    Can someone assist me in setting up vsftpd? Any help is most appreciated.

    I am running Ubuntu Gnome 9.04 Jaunty Jackalope for a GUI, and I am running Ubuntu Server underneath (Yes I need a GUI for what I am using the server for).

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    616
    so are you wanting to have just one area that people fetch files from? you want anonymous user access? or are you wanting to have like each user locked into their own directory?

    otherwise:
    Code:
    anonymous_enable=NO
    write_enable=YES
    local_umask=022
    anon_mkdir_write_enable=YES
    anon_upload_enable=YES
    connect_from_port_20=YES
    listen=YES
    should get the server up, but NOTE: DO NOT RUN THIS ON THE INTERNET OR YOU WILL SUFFER.

    Your 'no route to host' though may be a different story. Make sure they are on the same IP range, and you have checked all your cables.

    If you are connecting anonymously, you are probably being dumped into the vsftpd home directory by default.

    For further reading, maybe this will help:
    Paranoid Penguin - Secure Anonymous FTP with vsftpd | Linux Journal
    linux user # 503963

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...