i want to use both FTP and SFTP.but when i use this code in proftpd.conf to use SFTP i can't access server on FTP by FileZilla.can i config proftpd to use both FTP and SFTP at the same time. code in proftpd.conf: DefaultRoot ~ AllowOverwrite on Umask 002 <IfModule mod_sftp.c> SFTPEngine On SFTPHostKey /etc/ssh/ssh_host_rsa_key SFTPHostKey /etc/ssh/ssh_host_dsa_key </IfModule>
SFTP normally belongs to the SSH server and not to the FTP Server. You dont have to configure proftpd for it as sftp works out of the box if you installed your server as described in the perfect setup guide, just make sure that you enabled ssh access for the website and user.
when i do not use SFTP i still use FTP normally. but when i enable SFTP i cant use FTP. remember only with FileZilla. if i use putty it is Ok.