Edit pure-ftpd.conf
vi /etc/pure-ftpd.conf
and change the value of the below field.
LimitRecursion
Remember to restart FTP service
Edit pure-ftpd.conf
vi /etc/pure-ftpd.conf
and change the value of the below field.
LimitRecursion
Remember to restart FTP service
Could not edit /home/username/etc/ftpquota
Check permission for : /home/username/etc/ftpquota
It should be username:mail /home/username/etc/
File “ftpquota” should have username:username permission.
Install ncftp and use the below command to download the folders using FTP
To install ncftp we need the epel repo
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm —> 32 bit
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm —> 64 bit
yum list *NCFTP*
yum install ncftp.i386
ncftpget -R -v -u “user@domain.com” ftp.domain.com wp-content ./
Getting the error : Updating FTP Server…Updates for “ftp” are disabled because “/etc/ftpdisable” exists while trying to run upcp
One solution that worked :
Getting the error [ERROR] Sorry, but that file doesn’t exist: [/etc/ssl/private/pure-ftpd.pem] in /var/log/messages
Solution is in the link below :
While trying to restart FTP via WHm we are getting the error :
=========
pure-authd (/usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/sbin/pureauth) running as root with PID
=========
Login to WHM >> Manage Service SSL Certificates >>
Reset the FTP ssl certificate.
Try restarting FTP.. it should work
make sure to run [/scripts/upcp --force] after that
If that dont work then go ahead and do :
cd /var/lib/rpm/
[ rm -f __db.* ]
[ rpm -vv --rebuilddb ]
How to add an FTP account to have access outside the home folder for the user.
vi /etc/proftpd.conf
PassivePorts 30000 50000
Make sure the same is added in firewall as well
Getting the following error while connecting FTP using Filezilla
Error: Connection timed out Error: Failed to retrieve directory listing
But I can connect FTP from command prompt without any issues.
SOLUTION
Check if firewall is present. If its disabled enable that and it worked fine for me.
Open Passive ports if not already opened.
grep ftp /var/log/messages|grep UN|awk ‘{print $6}’|cut -d@ -f2|sort|uniq -c|sort -n