使用WinZip命令行从WebDAV映射网络驱动器压缩文件时触发WzZipAdd.c@1346致命断言错误求助
大家好,我最近碰到一个棘手的问题,折腾了好久都没解决,想请各位大佬帮忙支支招:
我尝试用WinZip的命令行工具,把一个映射网络驱动器里的文件夹打包成Zip文件,但每次运行都会弹出下面这个致命错误:
FATAL ERROR: assert failure (WzZipAdd.c@1346)
Please send the file wzCLine.rpt to the address below.
To help solve this problem, please include as detailed as possible a description of what you were doing before the problem occurred, so we can try to reproduce the problem here.
WinZip Computing EMail: support@winzip.com Web: http://www.winzip.com
我已经把wzCLine.rpt文件发给WinZip的支持团队了,但他们说解决不了这个问题,实在没办法了,只能来这里求助。
补充一下背景:这个映射的网络驱动器是我的Galaxy S8(Android 9 Pie系统)的内部存储,我是通过Olive Tree的WebDAV Server应用来实现共享的。
具体操作场景是这样的:我在一个exclude.txt文件里写了大概100个要排除的文件夹,格式是类似这样的:"\\ipaddress@8080\DavWWWRoot\sdcard\Android\data\org.telegram.messenger\*"
我的需求是排除这些文件夹,只保留其中一个文件夹打包到Zip里,但一执行命令就触发了上面的断言错误。
我用的WinZip命令行语法是:wzzip -a -r -P -yx -e0 -x@"C:\path\to\exclude list.txt" test.zip "\\ipaddress@8080\DavWWWRoot\sdcard\Android\data"
有没有人遇到过类似的问题?会不会是WebDAV的路径格式和WinZip命令行不兼容?或者是排除列表的写法有问题?麻烦各位帮忙分析一下,谢谢了!
备注:内容来源于stack exchange,提问作者ghostanime2001

