问题
I am getting "Offset to Central Directory cannot be held in an Int64" exception while using ZipArchive in .NET CORE.
NOTE: I am not getting it in my developement machine (Windows 7), but getting it in production server. (Windows Server 2016). Please help.
Thanks,
Kannan.
回答1:
This is because Aws API Gateway. Sorry for not mentioning it. If i skip API Gateway and hit my endpoint through the load balancer i can send the zip files without any issues.
来源:https://stackoverflow.com/questions/52555736/offset-to-central-directory-cannot-be-held-in-an-int64-net-core