[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pureftpd (testing) size breaks files under subdirs > 2.1gbs



Pureftpd uploads a file within it's subdir.

It starts the upload and creates .pureftpd files.

Once it gets to 2.1GBs it does a size on the file under the dir.

The dir has not been created by pureftpd.  The dir is still a .pureftpd
file.

So pureftpd restarts the transfer and I get a bunch of .pureftpd files
and no file in a sub dir greater than 2.1gbs.

Is there an option I am not aware of here?

Start line:
/usr/sbin/pure-ftpd -l puredb:/etc/pure-ftpd/pureftpd.pdb -l pam -u 1000
-E -A -Y 2 -R -O clf:/var/log/pure-ftpd/transfer.log -c 10 -C 5 -p
60000:61000 -j -K -L 400:4 -d -F /usr/share/games/fortunes/science -G -k
95 -H -I 1440 -B

Logs:
Sep  7 14:21:47 localhost pure-ftpd: (?@172.16.1.12) [INFO] New
connection from 172.16.1.12
Sep  7 14:21:47 localhost pure-ftpd: (?@172.16.1.12) [DEBUG] Command
[auth] [TLS]
Sep  7 14:21:47 localhost pure-ftpd: (?@172.16.1.12) [INFO] SSL/TLS:
Enabled TLSv1/SSLv3 with AES256-SHA, 256 secret bits cipher
Sep  7 14:21:48 localhost pure-ftpd: (?@172.16.1.12) [DEBUG] Command
[pbsz] [0]
Sep  7 14:21:47 localhost pure-ftpd: (?@172.16.1.12) [DEBUG] Command
[user] [jc]
Sep  7 14:21:47 localhost pure-ftpd: (?@172.16.1.12) [DEBUG] Command
[pass] [<*>]
Sep  7 14:21:47 localhost pure-ftpd: (?@172.16.1.12) [INFO] jc is now
logged in
Sep  7 14:21:48 localhost pure-ftpd: (jc@172.16.1.12) [DEBUG] Command
[pwd] []
Sep  7 14:22:26 localhost pure-ftpd: (jc@172.16.1.12) [DEBUG] Command
[cwd] [/data/storage/filedir]
Sep  7 14:22:26 localhost pure-ftpd: (jc@172.16.1.12) [DEBUG] Command
[type] [I]
Sep  7 14:22:26 localhost pure-ftpd: (jc@172.16.1.12) [DEBUG] Command
[size] [file.ISO] /* file > 4GBs */
Sep  7 14:22:26 localhost pure-ftpd: (jc@172.16.1.12) [DEBUG] Command
[cwd] [/data/storage/filedir/file.I
SO]
Sep  7 14:22:26 localhost pure-ftpd: (jc@172.16.1.12) [INFO] Can't
change directory to /data/storage/filedir/file.ISO: No such file or
directory
Sep  7 14:22:30 localhost pure-ftpd: (jc@172.16.1.12) [DEBUG] Command
[cwd] [/data/storage/filedir]
Sep  7 14:22:27 localhost pure-ftpd: (jc@172.16.1.12) [DEBUG] Command
[pbsz] [0]
Sep  7 14:22:27 localhost pure-ftpd: (jc@172.16.1.12) [DEBUG] Command
[prot] [C]
Sep  7 14:22:30 localhost pure-ftpd: (jc@172.16.1.12) [DEBUG] Command
[pasv] []
Sep  7 14:22:27 localhost pure-ftpd: (jc@172.16.1.12) [DEBUG] Command
[rest] [0]
Sep  7 14:22:27 localhost pure-ftpd: (jc@172.16.1.12) [DEBUG] Command
[stor] [file.ISO]
Sep  7 14:23:41 localhost pure-ftpd: (jc@172.16.1.12) [NOTICE]
/raid//data/storage/filedir/file.ISO uploa
ded  (80183296 bytes, 1100.34KB/sec)

Looking at /storage/filedir you see:

-rw-r--r--   1 jc jc 2147483647 Sep  7 10:43
.pureftpd-upload.413deccc.15.2049.a3079f35
-rw-r--r--   1 jc jc 2147483647 Sep  7 11:11
.pureftpd-upload.413df361.15.2057.854f5f57
-rw-r--r--   1 jc jc 2147483647 Sep  7 11:39
.pureftpd-upload.413df9ef.15.2061.8cdfca5
-rw-r--r--   1 jc jc 2147483647 Sep  7 12:07
.pureftpd-upload.413e0093.15.206c.c0272aa5
-rw-r--r--   1 jc jc 2147483647 Sep  7 12:36
.pureftpd-upload.413e0724.15.2075.2955a3ad
-rw-r--r--   1 jc jc 2147483647 Sep  7 13:04
.pureftpd-upload.413e0dc2.15.207f.6fa296ab
-rw-r--r--   1 jc jc 2147483647 Sep  7 13:32
.pureftpd-upload.413e1461.15.2088.11b36ad0
-rw-r--r--   1 jc jc 2147483647 Sep  7 14:00
.pureftpd-upload.413e1b01.15.2095.173aed6







Reply to: