提取 .tar 文件会返回“这看起来不像 tar 存档。”

发布于 2025-01-14 11:47:00 字数 1555 浏览 5 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

听你说爱我 2025-01-21 11:47:00

它不是一个 tar 文件。下载失败,您得到的“.tar”文件实际上是一个 html 失败文件,并显示:

403 Forbidden

禁止

您无权访问 /public/snake_toxins/SNAKE_ALL.tar
在此服务器上。


Apache/2.2.15 (Linux/SUSE) mod_ssl/2.2.15 OpenSSL/1.0.0 PHP/5.3.3 Server at www.cbs.dtu.dk Port 80
"

下次你得到类似的东西时,运行 commman:

file SNAKE_ALL.tar 看看它到底是什么类型的文件。

It's not a tar file. The download fails and the ".tar" file you get is really a html fail saying:

"

403 Forbidden

Forbidden

You don't have permission to access /public/snake_toxins/SNAKE_ALL.tar
on this server.


Apache/2.2.15 (Linux/SUSE) mod_ssl/2.2.15 OpenSSL/1.0.0 PHP/5.3.3 Server at www.cbs.dtu.dk Port 80
"

Next time you get something like this run the commman:

file SNAKE_ALL.tar to see what kind of file it really is.

路还长,别太狂 2025-01-21 11:47:00

它似乎已损坏。请注意,文件大小为 0 字节。

文件截图

It appears to be corrupted. Note that the file size is 0 bytes.

file screenshot

兮颜 2025-01-21 11:47:00

您必须使用curl -JLO来下载该文件。使用curl -O有时它只是下载一个HTML文件。

You have to use curl -JLO to download the file. With curl -O it just downloads an HTML file sometimes.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文