我正在尝试使用 CURL 下载完整的网站目录。以下命令不起作用:
curl -LO http://example.com/
它返回一个错误:curl: Remote file name has no length!。
curl: Remote file name has no length!
但是当我这样做时:curl -LO http://example.com/someFile.type它起作用了。知道如何下载指定目录中的所有文件吗?谢谢。
curl -LO http://example.com/someFile.type
curl
curl ×1