Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a LAMP web-server on Ubuntu 11.10, working perfectly. But now I want to develop my website from a Windows 7 system in the same network.

I want to set up an FTP connection to Ubuntu so I can put files in directories of my web-server. But when I try to connect with FileZilla, it fails. What am I doing wrong? Do I need to install something extra with the LAMP configuration?

share|improve this question

Short answer: try sftp instead of ftp.

Most likely, the problem is simply that you don't have an FTP service installed and configured. FTP service isn't installed by default on Ubuntu. I don't believe FTP service is considered part of the LAMP stack, and installing lamp-server via tasksel would not install FTP service.

However, sftp, secure ftp, is provided by sshd, the secure shell daemon, which I believe is installed by default. That works quite nicely for authenticated FTP, and you can configure it to use public key authentication, which is both more secure and more convenient. Not all FTP clients support sftp, but most current ones do, including Filezilla (or lftp on the Linux command line). If you want to use public key encryption on Windows, you'll want to install PuTTY to generate the keys. PuTTY is very useful for administering a Linux box from Windows. See the Ubuntu official page for more on SSH keys.

Alternately, if for instance you want to offer anonymous FTP as well as authenticated FTP, you could install and configure FTP service. vsftpd is quite good, and fairly easy to configure. See the official page on FTP servers.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.