小编Foo*_*Foo的帖子

CURL 下载目录

我正在尝试使用 CURL 下载完整的网站目录。以下命令不起作用:

curl -LO http://example.com/
Run Code Online (Sandbox Code Playgroud)

它返回一个错误:curl: Remote file name has no length!

但是当我这样做时:curl -LO http://example.com/someFile.type它起作用了。知道如何下载指定目录中的所有文件吗?谢谢。

curl

56
推荐指数
4
解决办法
24万
查看次数

标签 统计

curl ×1