0

I tried to install and use a simples FTP server on my Pi.

I fallow this tutorial, but not success.

When I type service vsftpd restart it returns for me

     Stopping FTP server: No /usr/sbin/vsftpd found running; none killed.
      vsftpd.
     /etc/vsftpd.conf: listen disabled - service will not start 

Somebody know a tutorial for I create a simples FTP server. (can be an advanced too)

Thanks in advanced.

5
  • What are you actually trying to achieve? You can already use a FTP client to connect to the Pi.
    – Milliways
    Feb 12, 2016 at 23:01
  • Yes, I want to make my PI in a FTP server and shared files, upload, downloads, etc Feb 12, 2016 at 23:02
  • There is already FTP. Just connect from any client.
    – Milliways
    Feb 12, 2016 at 23:05
  • I can't. When I trying to ser in my firefox gives error, ou if I use filezilla it didn't Connect Feb 12, 2016 at 23:07
  • cat /etc/services | grep ftp should show if ftp is running
    – Milliways
    Feb 12, 2016 at 23:26

1 Answer 1

1

This thread may be interesting to you: https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=35661

It says: sftp is already available on your Pi because it is part of the ssh daemon. To get filezilla to connect, change the protocol from ftp to sftp and/or change port number to 22.

If you really do need an ftp server, try this: http://www.pibeginners.com/ftp-server/ It says you simply need to run sudo apt-get install proftpd and choose standalone mode.

For configuring it to allow anonymous ftp, take a look here: http://www.proftpd.org/docs/howto/ConfigFile.html In summary - you need to add an <anonymous> section to the /etc/proftpd/proftpd.conf file.

8
  • sftp is nothing more than transfering files via ssh Feb 13, 2016 at 9:49
  • @Flash Thunder It is, but its more subtle than that. sftp presents an interface which is similar to ftp, which is different from the interface provided by scp which is also provided by the ssh daemon. Both could be considered to be "transferring files by ssh" but the OP mentioned filezilla and firefox which implied he needed an ftp style interface.
    – lwr20
    Feb 13, 2016 at 9:54
  • but it's part of ssh implementation... even the name tells it: sftp = SSH File Transfer Protocol ... scp is like... older version of sftp :-) Feb 13, 2016 at 9:56
  • @Flash Thunder Yes - I think we both agree that it's provided by the ssh daemon.
    – lwr20
    Feb 13, 2016 at 9:58
  • 1
    It sounds like you want anonymous ftp setup. I'll add that to the answer.
    – lwr20
    Feb 13, 2016 at 11:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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