Unable to run vsftpd command
vsftpd
needs to be in your PATH
If it's not in your PATH, it will not run nor will you be able to find it with the which
command.
You can add it two ways:
- Append your PATH to include the directory
/usr/local/Cellar/vsftpd/3.0.3/sbin
- Make a symlink to
vstpd
in your/usr/local/bin
directory
I would choose the second option as you have less items to modify (.bash_profile
for example):
sudo ln -s /usr/local/Cellar/vsftpd/3.0.3/sbin/vsftpd /usr/local/bin/vsftpd
That said...I wouldn't be using an insecure protocol like FTP to transfer files - scp
is a much better option. See this blog for details