Opened 15 years ago

Last modified 15 years ago

#808 closed Bug report

ASCII file transfer truncates all files

Reported by: thewind Owned by:
Priority: normal Component: Other
Keywords: Cc: thewind, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

When you upload a file using ASCII as transfer method,
all the files over 15700 bytes are truncated to
aproximately between 15750 and 18900 bytes long, the
remaining is lost.

I've cheked it and applies to every file I upload, even
a 19Kb long file full of 'a', but every binary transfer
works correct.

The bug applies to 2.2.9,2.2.10 and probably to
versions prior.

Change History (7)

comment:1 Changed 15 years ago by Tim Kosse

I can't reproduce this, it's most likely caused by some
broken servers of firewalls.

comment:2 Changed 15 years ago by thewind

Doubt it, cheked against proftpd in a local netwrok without
any firewall or router involved.

comment:3 Changed 15 years ago by thewind

Btw cheked with pureftpd too and without any firewalls, the
failure still exists... gonna try with guildftpd to check in
local...

comment:4 Changed 15 years ago by Tim Kosse

Still cannot verify this problem. Are you using normal ftp
or sftp? Are you using MODE Z compression?

comment:5 Changed 15 years ago by thewind

The problem shows up when using ftp, haven't had the chance
if it fails also with sftp.
The problem persists regardless of the compression mode
chosen, every file over 15800 bytes is truncated if using
ASCII mode transfer, if you use binary, the file is uploaded
correctly.
I'll do a loopback test today if I've the time against a
guildftpd server on the same machine.

comment:6 Changed 15 years ago by Tim Kosse

I finally found the problem, does only happen if speed
limits are enabled. Problem will be fixed in 2.2.11 which
will be released in a few hours.

comment:7 Changed 15 years ago by thewind

Ok, didn't notice I had the upload limit activated...tested
without and works fine

Note: See TracTickets for help on using tickets.