Either this file is not a zipfile it constitutes one disk of a multi- part archive. unzip: cannot find zipfile directory in one of sheetjs create_ tables. ' ' result' ' is the file input and truncate the format. Hi I was also facing similar issue, while importing. xlsx file " sheetjs Error: Corrupted zip : can' t find end of central directory". Error: Corrupted zip : can' t find end of central directory # end find 13.
In the latter case the sheetjs central directory and zipfile comment will be found on the last disk( s) of this archive. Open showlovel opened this Issue Dec 30, · 10 comments Open Porblem. Either end this file is not sheetjs a zip file it constitutes one disk of a multi- part archive. End- of- central- directory signature not found. Sheetjs can t find end of central directory. I tried following which solved the issue. Github didn' t store the attached docx ( I can' t get it).
The problem is Unzip can' t find the line of code that signals the end of the archive, so either:. End of Central Directory record could not be found. Scanning backwards to find the End of Central Directory is a possibility, but considering the fact that it has a variable- sized comment field of size 16- bits, you can have about 65k of comments that you need to read/ scan through, and if the comment contains the magic number your scanning will fail. That is pretty much it for the code.
sheetjs can t find end of central directory
I would have to think about whether the xls file can be shared. I upload one file which had about ten thousand lines of text, but it throw error. The error is " can' t find end of central directory".