How to increase the number of files viewable through FTP

ARUN Posted in FTP
0

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

ARUN Posted in CPANEL FRONTEND, FTP, WHM FRONTEND
0

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.

FTP command to transfer folders

ARUN Posted in FTP
0

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.comftp.domain.com wp-content ./

Updating FTP Server…Updates for “ftp” are disabled because “/etc/ftpdisable” exists

ARUN Posted in FTP, WHM BACKEND, WHM FRONTEND
0

Getting the error : Updating FTP Server…Updates for “ftp” are disabled because “/etc/ftpdisable” exists    while trying to run upcp

One solution that worked :

http://forum.webhostingdevelopment.com/index.php/2011/05/pure-authd-usrsbinpure-authd-s-varrunftpd-sock-r-usrsbinpureauth-running-as-root-with-pid/

[ERROR] Sorry, but that file doesn’t exist: [/etc/ssl/private/pure-ftpd.pem]

ARUN Posted in ERROR, FTP, WHM BACKEND
0

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 :

 

http://forum.webhostingdevelopment.com/index.php/2011/05/pure-authd-usrsbinpure-authd-s-varrunftpd-sock-r-usrsbinpureauth-running-as-root-with-pid/

pure-authd (/usr/sbin/pure-authd -s /var/run/ftpd.sock -r /usr/sbin/pureauth) running as root with PID

ARUN Posted in FTP, WHM BACKEND
0

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 custom FTP account in Cpanel server

ARUN Posted in CPANEL FRONTEND, FTP, WHM BACKEND
0

How to add an FTP account to have access outside the home folder for the user.

How to set passive ports in proftpd.conf

ARUN Posted in FTP
0

vi /etc/proftpd.conf

PassivePorts                    30000 50000

Make sure the same is added in firewall as well

================================================================
IG_TCP_CPORTS=”20,21,22,25,26,53,80,110,143,443,465,993,995,2082,2083,2086,2087,2095,2096,10000,30000_50000,8443,8447,5224,8880″
IG_UDP_CPORTS=”20,21,53,1040,30000_50000″
EG_TCP_CPORTS=”20,21,22,25,26,37,43,53,80,110,143,443,465,993,995,2082,2083,2086,2087,2089,2095,2096,10000,30000_50000,8443,5224,8880″
EG_UDP_CPORTS=”20,21,37,53,123,1040,30000_50000″
==================================================================
NOTE : if its  CSF then use port in csf.conf as mentioned below :
30000:50000

FTP error while in filezilla

ARUN Posted in ERROR, FTP
0

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.

Find FTP details

ARUN Posted in FTP, HACK
0

grep ftp /var/log/messages|grep UN|awk ‘{print $6}’|cut [email protected] -f2|sort|uniq -c|sort -n