Server Administration & Management

ProFTP Timeout Error

When FTP gets timed out or not responding without any errors, Then increase the value of the following variable in FTP configuration file and restart FTP.

MaxIdleTime (default 15) Increase it to 30 or more and try.

if this won’t fix the issue, try the following command also.

[/etc/proftpd]# modprobe ip_conntrack_ftp

This Should Fix the issue.

May 18, 2012 Posted by | FTP | | Leave a comment

cPanel not showing FTP user accounts

This issue was due to the missing entries in the /etc/proftpd/username file.

For fixing this just issue the following command:-

# /scripts/ftpupdate.

This will sync the passwords of all the accounts in the server.

November 30, 2011 Posted by | cPanel, FTP | , | Leave a comment

Unable to upload large files via ftp in Pro-FTP

1. Add the following lines to  lines to /etc/proftpd.conf

# vi  /etc/proftpd.conf

AllowRetrieveRestart on
AllowOverwrite on
AllowStoreRestart on

2. Restart ftp and this should fix the issue.

November 28, 2011 Posted by | FTP | | Leave a comment

How to Secure FTP by changing FTP Port number in Pure-FTP

In recent few months FTP brute force attacks increased on most the cPanel servers. To avoid such attacks, we can simple default FTP account or change FTP port. If you are shared server then client won’t be happy after disabling default FTP which is cPanel login details. There for simply change the FTP port number by using following steps.

1. Log in to server as root user and open default FTP configuration file.

# vi  /etc/pure-ftpd.conf

Search for following line and change it



Note: It means all ip will connect to FTP service on port 121 but make sure that you have opened a port 121 in server firewall and restart the FTP service.

November 26, 2011 Posted by | FTP, Pure-FTPd | , | Leave a comment

How to see more than 2000 files in FTP on a cPanel server

So, you have a lot of files on your website, so many that when you login via FTP, it can’t even list them all?  Here’s a quick fix. This only applies if you’re using Pure-FTPD

1. SSH into your server as root

2. Edit /etc/pure-ftpd.conf

# vi /etc/pure-ftpd.conf

3. Change LimitRecursion 2000 8 to LimitRecursion 4000 8

2000 8 –> 4000 8

4. Restart pure-ftpd in WHM or in SSH via service pure-ftpd restart

# /etc/init.d/pure-ftpd stop

# /etc/init.d/pure-ftpd start

You can increase 2000 to however many files you need to be displayed in the FTP Client window, but be aware that it may take longer to load, and your session may timeout.

May 15, 2011 Posted by | cPanel, FTP, Pure-FTPd | , , | 3 Comments

how to Create FTP account through Helm

Use the following steps to create FTP account on your sub domain in Helm :-

1) Open your domain
2) Click on FTP accounts
3) Click on Add New
4) Enter username
5) Password and confirm password
6) Enter FTP Folder Path wwwrootfiles
7) Click on save.

Now you can access your sub domain FTP account using the following details:

url: ftp://ftp.unixserveradmin.com
user: username
pass: password

May 13, 2011 Posted by | FTP, Helm | , | 3 Comments

How to disable FTP for a single account

You can disable FTP for a single account using the steps shown below:

# ll /etc/proftpd/username

# mv /etc/proftpd/username /etc/proftpd/username.bak

Restart FTP Service

# /etc/init.d/proftpd restart

Then try to login to the account. You can’t login to the account.

April 25, 2011 Posted by | cPanel, FTP | , , | 2 Comments

How to enable passive ftp in Pure-FTPd

For users that are behind a firewall it might be required that you enable passive ftp in your ftp server and client in Pure-FTp Software. We can enable passive ftp  by following steps as root user :-

1. Login to your server using a SSH

2. Open the Pure-FTPd configuration file in your favorite editor

# vi /etc/pure-ftpd.conf

3. Uncomment the line that starts with PassivePortRange and add:

PassivePortRange 61001 65535

4. Restart Pure-FTPd with the command:

# service pure-ftpd restart “OR” /etc/init.d/pure-ftpd restart

5. Please allow inbound connections  ports in firewall.

January 27, 2011 Posted by | FTP, Pure-FTPd | , | 1 Comment