chilkat - 问题 - sql 服务器 - 下载并在内存中解压缩而不创建任何 zip 文件

chilkat - problems - sql server - download and unzip in memory without any zip file created

我正在测试 chilkat 示例代码:(SQL 服务器)从 URL 和 OpenFromMemory 下载一个 Zip。 (没有创建 .zip 文件)/ https://www.example-code.com/sql/zip_openFromMemory.asp 。但我只收到一条错误消息,告诉我:

  Failed to find end-of-central-directory-record.
  Failed to get central dir locations.

有人能解决这个问题吗?

full ChilkatLog:
  OpenFromMemory:
    DllDate: Oct 28 2019
    ChilkatVersion: 9.5.0.80
    UnlockPrefix: XXXXXXXXXXX
    Architecture: Little Endian; 64-bit
    Language: ActiveX / x64
    VerboseLogging: 0
    Component successfully unlocked using purchased unlock code.
    oemCodePage: 850
    openFromMemData:
      Failed to find end-of-central-directory-record.
      Failed to get central dir locations.
    --openFromMemData
    Failed.
  --OpenFromMemory
--ChilkatLog

我修改了例子来避免这个问题。此外,它的性能应该更好,因为它不会尝试跨 COM 边界传递实际的二进制数据。 相反,它只使用 Chilkat BinData 对象。 (我们传递对 BinData 对象的引用而不是数据本身。)

请转至 https://www.example-code.com/sql/zip_openFromMemory.asp 查看更改。 (如果需要,请刷新页面。)

如果有帮助请告诉我。

Chilkat 已回复我的支持查询并对示例脚本进行了更改!

感谢您的快速回复!