中央目录的偏移量不能保存在 Int64 .net 核心中

Offset to Central Directory cannot be held in an Int64 .net core

我在 .NET CORE 中使用 ZipArchive 时遇到 "Offset to Central Directory cannot be held in an Int64" 异常。

注意:我没有在我的开发机器 (Windows 7) 中获取它,而是在生产服务器中获取它。 (Windows 服务器 2016)。请帮忙。

谢谢,

看南。

这是因为 Aws API 网关。抱歉没有提到它。 如果我跳过 API 网关并通过负载均衡器访问我的端点,我可以毫无问题地发送 zip 文件。