ProFTPD 2GB file size limitation

Versions of ProFTPD prior to 1.2.6rc1 do not officially support files larger than 2GB. Upgrade to the latest release of ProFTPD for > 2GB file support.

More information:
http://marc.theaimsgroup.com/?l=proftpd-users&m=105130416102608&w=2


Solaris 7 example:

# mount -v | grep FTP
/dev/dsk/c1t4d0s6 on /FTP type ufs read/write/nosuid/largefiles/noatime/logging on Mon Mar 17 13:01:50 2003

To prove that /FTP can store a file larger than 2GB, I'll create a 3GB file with dd:
# dd if=/dev/zero of=3_GB_file bs=1000000 count=3000

# ls -l 3_GB_file
-rw-r--r--   1 root     other    3000000000 Jul 16 14:26 3_GB_file

Then I'll try sending that file to the ProFTPD server (version < 1.2.6rc1):
ftp> put 3_GB_file 3_GB_file_xfer

The connection eventually times out with the following error message:

netout: Bad file number
421 Service not available, remote server has closed connection

Only 2 GB of the file was transferred via ProFTPD:

-rw-r--r--   1 ftp      ftp      2147483647 Jul 16 14:50 3_GB_file_xfer

Back to brandonhutchinson.com.
Last modified: 07/17/2003