I think the issue are files with long file names. I have a few with
a full path of 271 chars and the file name is 152 chars long.
Is there a limitation regarding the length of the file path length in
zlib?
Alexandru <[email protected]> wrote:Thanks, Rich, indeed, it's the tar module.
I think the issue are files with long file names. I have a few with
a full path of 271 chars and the file name is 152 chars long.
Is there a limitation regarding the length of the file path length inNo, zlib does not know anything about filenames. zlib only compresses
zlib?
a blob of data.
Your error is from the tar module, and given the length you state
above, you might just be exceeding the max length for a filename in the header for the tar variant that the tcllib tar module generates. Which
makes the error message a bit confusing.
Rich schrieb am Sonntag, 25. September 2022 um 14:40:40 UTC+2:
Alexandru <[email protected]> wrote:
I think the issue are files with long file names. I have a few
with a full path of 271 chars and the file name is 152 chars long.
Is there a limitation regarding the length of the file path length
in zlib?
No, zlib does not know anything about filenames. zlib only
compresses a blob of data.
Your error is from the tar module, and given the length you state
above, you might just be exceeding the max length for a filename in
the header for the tar variant that the tcllib tar module generates.
Which makes the error message a bit confusing.
Thanks, Rich, indeed, it's the tar module.
How this be avoided in an application, that runs in Windows and where
the file paths can be longer?
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 741 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 50:24:33 |
| Calls: | 12,444 |
| Calls today: | 4 |
| Files: | 15,192 |
| Messages: | 6,537,155 |