installing an older version of pureftpd


Apr 7, 2006
Hello and thanks for any guidance.

Can anyone suggest the best way to revert to an older version of pure-ftpd. I am currently using the "latest" of course.. but there is an issue where uploading stops after 10 minutes when the pure-ftpd server says "disconnected : Jul 18 16:22:04 dl12 pure-ftpd: () [INFO] Timeout (no new data for 900 seconds)" the server thinks that it has been 'idle' for 15 minutes. Actually it will do this at 10 minutes no matter what value the -I idle time is set to in the pure-ftpd.conf file.

I have tried two different boxes with pure-ftpd 1.21 and I would like to try version 1.20 to see if there is any difference.

Cpanel wants to update to the latest each night and therefore I am looking for a way to have ftpup update to an older version ?

thanks for any help

Jack Mullen


Well-Known Member
May 6, 2004
cPanel Access Level
Root Administrator
Do you use apf firewall? If so, temporarily disable and see if you are still disconnected at 10 minutes.

If that does not fix it, please post your pureftpd conf file


Well-Known Member
May 20, 2003
cPanel Access Level
Root Administrator
You might also try uploading a compressed file instead of directories of files. Timeout like this seems to occur most often when someone attempts to upload a directory of files they unpacked locally.

Unpack it on the server instead using cPanels File manger. (Once you've uploaded it via FTP)


Apr 7, 2006
pure-ftpd conf file.

Dear Sir:

I have no firewall.

Here is my config file . I have tried (-I ) lengths of 100 minutes and 0 minutes with no difference.

All other features seem to work and I have located at least one other comment on the net regarding large files failing to upload . I am also unable to get any response from the list servers at pure-ftpd . So Thank you very much for the help.

I really have invested a lot of time into getting the virtual users and uploadscripts functioning properly so I would like to continue to use pure-ftpd

### had to shorten the config file so i removed the header####

ChrootEveryone yes

# TrustedGID 100

# Turn on compatibility hacks for broken clients

BrokenClientsCompatibility no

# Maximum number of simultaneous users

MaxClientsNumber 50

# Fork in background

Daemonize yes

# Maximum number of sim clients with the same IP address

MaxClientsPerIP 8

VerboseLog no

# List dot-files even when the client doesn't send "-a".

DisplayDotFiles yes

# Don't allow authenticated users - have a public anonymous FTP only.

AnonymousOnly no

# Disallow anonymous connections. Only allow authenticated users.

NoAnonymous yes

# Syslog facility (auth, authpriv, daemon, ftp, security, user, local*)
# The default facility is "ftp". "none" disables logging.

SyslogFacility ftp

# Display fortune cookies

# FortunesFile /usr/share/fortune/zippy

DontResolve yes

# Maximum idle time in minutes (default = 15 minutes)

MaxIdleTime 15

# LDAP configuration file (see README.LDAP)

# LDAPConfigFile /etc/pureftpd-ldap.conf

# MySQL configuration file (see README.MySQL)

# MySQLConfigFile /etc/pureftpd-mysql.conf

# Postgres configuration file (see README.PGSQL)

# PGSQLConfigFile /etc/pureftpd-pgsql.conf

# PureDB user database (see README.Virtual-Users)

PureDB /etc/pureftpd.pdb

# Path to pure-authd socket (see README.Authentication-Modules)

ExtAuth /var/run/ftpd.sock

# If you want to enable PAM authentication, uncomment the following line

# PAMAuthentication yes

# If you want simple Unix (/etc/passwd) authentication, uncomment this

# UnixAuthentication yes

LimitRecursion 2000 8

# Are anonymous users allowed to create new directories ?

AnonymousCanCreateDirs no

# If the system is more loaded than the following value,
# anonymous users aren't allowed to download.

MaxLoad 4

# Port range for passive connections replies. - for firewalling.

# PassivePortRange 30000 50000

# ForcePassiveIP

# Upload/download ratio for anonymous users.

# AnonymousRatio 1 10

# UserRatio 1 10

# Disallow downloading of files owned by "ftp", ie.
# files that were uploaded but not validated by a local admin.

AntiWarez yes

# IP address/port to listen to (default=all IP and port 21).

# Bind,21

# Maximum bandwidth for anonymous users in KB/s

# AnonymousBandwidth 8

# Maximum bandwidth for *all* users (including anonymous) in KB/s
# Use AnonymousBandwidth *or* UserBandwidth, both makes no sense.

# UserBandwidth 8

# File creation mask. <umask for files>:<umask for dirs> .
# 177:077 if you feel paranoid.

Umask 011:000

# Minimum UID for an authenticated user to log in.

MinUID 100

# Allow FXP transfers for authenticated users.

AllowUserFXP no

# Allow anonymous FXP for anonymous and non-anonymous users.

AllowAnonymousFXP no

# Users can't delete/write files beginning with a dot ('.')
# even if they own them. If TrustedGID is enabled, this group
# will have access to dot-files, though.

ProhibitDotFilesWrite no

# Prohibit *reading* of files beginning with a dot (.history, .ssh...)

ProhibitDotFilesRead no

# Never overwrite files. When a file whoose name already exist is uploaded,
# it get automatically renamed to file.1, file.2, file.3, ...

AutoRename no

# Disallow anonymous users to upload new files (no = upload is allowed)

AnonymousCantUpload yes


# If you want to add the PID to every logged line, uncomment the following
# line.

#LogPID yes

AltLog xferlog:/usr/local/apache/domlogs/ftpxferlog

# Create an additional log file with transfers logged in a format optimized
# for statistic reports.

# AltLog stats:/var/log/pureftpd.log

# Create an additional log file with transfers logged in the standard W3C
# format (compatible with most commercial log analyzers)

# Disallow the CHMOD command. Users can't change perms of their files.

#NoChmod yes

# Allow users to resume and upload files, but *NOT* to delete them.

#KeepAllFiles yes

# Automatically create home directories if they are missing

#CreateHomeDir yes

# Enable virtual quotas. The first number is the max number of files.
# The second number is the max size of megabytes.
# So 1000:10 limits every user to 1000 files and 10 Mb.

#Quota 1000:10

# If your pure-ftpd has been compiled with standalone support, you can change
# the location of the pid file. The default is /var/run/

#PIDFile /var/run/

CallUploadScript yes

MaxDiskUsage 99

# Set to 'yes' if you don't want your users to rename files.

#NoRename yes

CustomerProof yes

# PerUserLimits 3:20

# NoTruncate yes


# Listen only to IPv4 addresses in standalone mode (ie. disable IPv6)
# By default, both IPv4 and IPv6 are enabled.

# IPV4Only yes

# Listen only to IPv6 addresses in standalone mode (ie. disable IPv4)
# By default, both IPv4 and IPv6 are enabled.

# IPV6Only yes

# UTF-8 support for file names (RFC 2640)
# Define charset of the server filesystem and optionnally the default charset
# for remote clients if they don't use UTF-8.
# Works only if pure-ftpd has been compiled with --with-rfc2640

# FileSystemCharset big5
# ClientCharset big5


Apr 7, 2006
thanks for the look

By no fire wall .. i mean i have disabled the firewall trying to fix this problem.

There is no difference in behavior with or without firewall.

thanks - Jack


Well-Known Member
May 6, 2004
cPanel Access Level
Root Administrator
So just download the old version from the official website and install it over the new one. Setup the config, and there you go. Of course, the next cpanel update will reinstall the newest one again... but if you are determined, some chattr +i can put upcp in its place :)