16
HFS ~ HTTP File Server / Re: .tar doesn't support files of size above 8gb
« on: November 16, 2020, 01:19:55 PM »i just had a look at the encoding of filesize in TAR, and it uses 12 octal digits, it means 8^12=68GB.According ustar specification for TAR - there is only 11 octal digits for size + 1 space = 8GB
Are you sure it's the TAR corrupted, and not the program you use to open it that isn't able to handle it?
what softwares did you use for your tests?
But most programs should support POSIX specification for TAR, that uses binary size and therefore can easily save Int64 size.
Please have a look: https://github.com/drapid/rnq/blob/aaac45aae47ed632e17c5dae129bff713baea7eb/for.RnQ/RnQNet.Uploads.pas#L731
I'm not sure that I've made ALL necessary changes though...