首页 > 解决方案 > 从 Bintray 下载整个存储库

问题描述

尝试使用 wget 从 jcenter-bintray 下载整个存储库不起作用。我有一个私人存储库,我正在尝试在 jcenter 日落之后下载它的所有工件。

运行命令:$wget --recursive -e robots=off --no-parent --reject "index.html*" --user=<MY_USERNAME> --password=<MY_PASSWORD> "https://dl.bintray.com/nanorep/"

递归调用以下载所有工件但每个工件的 url 错误的结果。每个工件都有一个“/:”前缀,导致 404 错误:

--2021-04-26 12:51:11-- https://dl.bintray.com/<PATH_TO_ARTIFACT>.zip Reusing existing connection to dl.bintray.com:443. HTTP request sent, awaiting response... 404 Not Found 2021-04-26 12:51:11 ERROR 404: Not Found.

为什么我将“/:”添加到工件 url 中,我该如何避免它?

标签: curldownloadwgetbintrayjcenter

解决方案


推荐阅读