Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-23-2010, 11:00 AM   #1
LQ Newbie
Registered: Aug 2009
Posts: 7

Rep: Reputation: 0
Setting Up FTP client/server with vsftpd in Ubuntu 9.04

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 an FTP GUI or anything, I can use terminal (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).

Last edited by CircleDown; 02-23-2010 at 11:09 AM.
Old 02-23-2010, 11:18 AM   #2
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-30
Posts: 5,289

Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
i would first recommend not using ftp since it is antiquated and insecure.

instead consider sftp/ scp which work over ssh

make sure the ssh server is running
sudo service sshd status
for scp the command line is usually something like
scp <user-name>@<server>:</path/to/file> <user-name>@<server>:</path/to/file>
1. i dont know what to tell you; if the road doesnt exist you cant drive from point a to point b.
2. this is probably because the user you log in as doesnt have any files in there $HOME directory.
Old 02-23-2010, 11:31 AM   #3
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
What exactly are you typing in to the ftp console ?
A normal login would be
ftp <ipaddress>
ftp <>

Are you logging in as a user ?
Are the firewalls open to port 21 on the other machines ?
How have you assigned the ip addresses ?

Can you access the other machines over the network at all ?

If you ftp to another machine, i.e.


you will get a prompt asking for a username
enter a username that exists on that machine ( and you get a prompt asking for a password

enter a password successfully and you get a few messages then


type ls and you get a listing of that users files in their home directory.
(if you've created users on the other machines there is usually something in their home folder.
Try ls -al )

type pwd and it tells you where you are.

However, if you just type ftp without an address you will get a prompt

You then have to type
open <ip_address>

and do as I described above.

Sorry if this is too basic, but it's hard to know how much you already know.


Old 02-23-2010, 07:01 PM   #4
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,818

Rep: Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558Reputation: 2558
You may want to reference this


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help on setting up multiple FTP users on Ubuntu Server 9.04 with proFTPD Jamie Kugelmann Linux - Server 1 12-23-2009 03:31 AM
Help setting up an FTP Server on Ubuntu Server 9.10 Jamie Kugelmann Linux - Server 10 08-05-2009 04:49 AM
Ubuntu Server FTP issue (also not working on Desktop) - vsftpd Diablosblizz Linux - Server 0 08-23-2008 07:22 PM
Setting up secure FTP (trying vsftpd on RHEL 4) Xera Linux - General 11 11-07-2006 06:51 PM
ubuntu client to connect to vsftpd server icga Linux - Software 7 02-08-2006 08:22 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration