On 2006-12-15 17:23 +0100, Jonas Fonseca wrote: > Andre Majorel <[EMAIL PROTECTED]> wrote Thu, Dec 14, 2006: > > Package: elinks > > Version: 0.11.1-1.2 > > Severity: normal > > > > A 3 GB-file in a directory on an FTP server does not appear in the > > directory listing. The same file shows with ftp(1) and IceWeasel. > > Is it possible that you can give the name of this FTP server either in > this bug report or privately, so I can test it?
Hi Jonas. I could but it's not accessible from the outside. Here's a similar setup on a publicly accessible server : ftp://www.arkeia.com/pub/arkeia-4.2/aix/aix3.2/rs6000/ Galeon, Firefox, lynx and ftp(1) all see the file and report the correct size : client.tar 1100 KB 07/28/03 00:00:00 dontlook 3073024 KB 12/15/06 19:08:00 Elinks 0.11.1 from Debian testing shows only : client.tar 1100 KB 07/28/03 00:00:00 The 3-GB file was created with : dd if=/dev/zero of=dontlook bs=1024k count=1 seek=3000 The FTP server is a Debian 3.1 running psa-proftpd 1.3.0-debian3.1.build81061129.22. The original (inaccessible) server was a Debian testing running proftpd 1.3.0-16. > > I suspect that Elinks uses 32-bit arithmetic, sees a file between > > 2 GB and 4 GB as having a negative size and choses to sweep it > > under the carpet for fear of looking ridiculous. > > "Large file" support and use of off_t was something that we worked hard > to improve during the 0.11 development cycle, however it is entirely > possible that we did not weed out all bugs. Also, the FTP directory > listings parser was also rewriten due to license issues, so it can also > be caused by the FTP server giving ELinks a line that it chooses to > discard (it will only warn about this if you build with --enable-debug). > Asking you to do this is too much to ask so I'd rather have the > possibility to test it myself. In case it's of any use to you, here's what I see from home : $ wget -q --no-remove-listing ftp://www.arkeia.com/pub/arkeia-4.2/aix/aix3.2/rs6000/ $ cat .listing -rw-r--r-- 1 root root 1126400 Jul 28 2003 client.tar -rw-r--r-- 1 root root 3146776576 Dec 15 19:08 dontlook -- André Majorel <URL:http://www.teaser.fr/~amajorel/> Thanks to the Debian project for keeping my email address secret and keeping me from being spammed.

