FTP: Filesize shown wrong for bigger files than 2GB
Moderators: white, Hacker, petermad, Stefan2
FTP: Filesize shown wrong for bigger files than 2GB
I tried to download a file I know with est. 9GB. But the TC shows me only a Size of "1,9G".
Nevertheless I started the download and now I've 1GB downloaded so far. But the TC say's I've just done 12%. So I assume that the client recognises the file size correctly but displays it wrong.
Maybe a 32bit-integer bug?
Regards and thanks for the create product!
Papst
Nevertheless I started the download and now I've 1GB downloaded so far. But the TC say's I've just done 12%. So I assume that the client recognises the file size correctly but displays it wrong.
Maybe a 32bit-integer bug?
Regards and thanks for the create product!
Papst
Hello, Papst01.
To the best of my knowledge the Total Commander 7.56a FTP client has got no problem whatsoever in displaying filesizes larger than 2 GB, provided the FTP server reports filesizes correctly.
I use the T.C. FTP client a lot on Unix servers which host large Oracle databases. Filesizes of about 20 GB are the rule rather than the exception. Total Commander displays the filesizes correctly.
So you might like to find out what the FTP server really displays in your case. While connected to the server using the T.C. built-in FTP client, put the cursor on any file and press <Alt><Enter>. This will return the complete folder listing in its raw format, i.e. the raw data which the server passes to T.C. Please, check what the filesizes look like.
Kind regards,
Karl
--
Total Commander 7.56a running on various Windows versions, 32-bit and 64-bit
To the best of my knowledge the Total Commander 7.56a FTP client has got no problem whatsoever in displaying filesizes larger than 2 GB, provided the FTP server reports filesizes correctly.
I use the T.C. FTP client a lot on Unix servers which host large Oracle databases. Filesizes of about 20 GB are the rule rather than the exception. Total Commander displays the filesizes correctly.
So you might like to find out what the FTP server really displays in your case. While connected to the server using the T.C. built-in FTP client, put the cursor on any file and press <Alt><Enter>. This will return the complete folder listing in its raw format, i.e. the raw data which the server passes to T.C. Please, check what the filesizes look like.
Kind regards,
Karl
--
Total Commander 7.56a running on various Windows versions, 32-bit and 64-bit
- ghisler(Author)
- Site Admin
- Posts: 48097
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed TC's FTP client can handle files >4GB without problems. Some servers report the wrong size, but still allow to download the entire file, so it's worth a try.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
OK I check it
I wanted to add a screenshot, but the forum doesn't allow me to... something like have to be member at least one day and wrote at least on post....
Ok back on topic: An ALT-RETURN reported me a size of 6676MB. I've downloaded 8,7GB and thats (I think) the correct size. But if I just see the file size on the server it tells me 1.9GB - Very confusing
Oh should say that the download yesterday finished with the correct size and the file was ok? So generally it works. But the user interface doesn't report me the correct size.
Maybe the problem is related with the proxy I'm behind?
regards
Papst
Ok back on topic: An ALT-RETURN reported me a size of 6676MB. I've downloaded 8,7GB and thats (I think) the correct size. But if I just see the file size on the server it tells me 1.9GB - Very confusing
Oh should say that the download yesterday finished with the correct size and the file was ok? So generally it works. But the user interface doesn't report me the correct size.
Maybe the problem is related with the proxy I'm behind?
regards
Papst
Hi Sob,
maybe I didn't make myself clear, I did what karlchen said.
Here is the Screenshot. As you can see it reports 6676MB, but I've downloaded 8,7GB and thats (I think) the correct size. Very confusing
regards
Papst
maybe I didn't make myself clear, I did what karlchen said.
Here is the Screenshot. As you can see it reports 6676MB, but I've downloaded 8,7GB and thats (I think) the correct size. Very confusing
regards
Papst
You're right, it's TC's fault. When the proxy is HTTP proxy with FTP support then all sizes above 2GB are reported by TC as 2147483647 bytes. Tested with squid/2.6.STABLE21. Complete file line:
Code: Select all
<A HREF="slackware-13.0-install-dvd.iso"><IMG border="0" SRC="http://proxy/squid-internal-static/icons/anthony-unknown.gif" ALT="[FILE]"></A> <A HREF="slackware-13.0-install-dvd.iso">slackware-13.0-install-dvd.iso</A> . Apr 25 22:25 3739M <A HREF="slackware-13.0-install-dvd.iso;type=a"><IMG border="0" SRC="http://proxy/squid-internal-static/icons/anthony-text.gif" ALT="[VIEW]"></A> <A HREF="slackware-13.0-install-dvd.iso;type=i"><IMG border="0" SRC="http://proxy/squid-internal-static/icons/anthony-box.gif" ALT="[DOWNLOAD]"></A>
- ghisler(Author)
- Site Admin
- Posts: 48097
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for the additional info regarding HTTP, I will check that.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com