我正在尝试从 marklogic 访问 excel 文件。当我尝试获取清单时,我收到了无效的 zip 文件错误。
const fileName = "https://www.cisco.com/c/dam/en/us/td/docs/cloud-systems-management/network-automation-and-management/dna-center/1-3/supported/devices/DNA1_3-Supported-Devices-List.xlsx";
var response = xdmp.httpGet(fileName, { "verifyCert": false, "encoding": "auto" }).toArray();
var excelFile = response[1];
xdmp.zipManifest(excelFile);
错误:
XDMP-INVZIP: >xdmp.zipManifest(Document(BinaryNode("e4ad90d0831406080021e5a29ee89dabc6ac00dc9f0013c888e48d9be6b9afe6..."))) -- 无效的 zip 文件