# downloads.freemdict.com能像FTP那样子下载文件夹么？

**URL:** <https://forum.freemdict.com/t/topic/23239>\
**Category:** 软件经验交流展望\
**Tags:** 求助\
**Created:** [2023 年9 月 8 日 00:47 UTC](https://forum.freemdict.com/t/topic/23239 "2023-09-08T00:47:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

作者： ![xiaoyuercxh](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/x/8edcca/32.png) [@xiaoyuercxh](https://forum.freemdict.com/u/xiaoyuercxh)\
发布日期： [2023 年9 月 8 日 00:47 UTC](https://forum.freemdict.com/t/topic/23239/1 "2023-09-08T00:47:56Z")

</div>

downloads.freemdict.com上的文件，如果是文件夹的话，怎么整个文件夹下载呢？现在貌似只能一个一个的下载文件。

---

<div class="post-metadata">

作者： ![hua](https://forumcdn.freemdict.com/user_avatar/forum.freemdict.com/hua/32/11090_2.png) [@hua](https://forum.freemdict.com/u/hua)\
发布日期： [2023 年9 月 8 日 00:50 UTC](https://forum.freemdict.com/t/topic/23239/2 "2023-09-08T00:50:39Z")

</div>

可以用 IDM 的整站下载，也可以用 `wget -r`。

---

<div class="post-metadata">

作者： ![xiaoyuercxh](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/x/8edcca/32.png) [@xiaoyuercxh](https://forum.freemdict.com/u/xiaoyuercxh)\
发布日期： [2023 年9 月 8 日 07:33 UTC](https://forum.freemdict.com/t/topic/23239/3 "2023-09-08T07:33:31Z")

</div>

这个还是没有用FTP方便

---

<div class="post-metadata">

作者： ![madcc](https://forumcdn.freemdict.com/letter_avatar_proxy/v4/letter/m/ecccb3/32.png) [@madcc](https://forum.freemdict.com/u/madcc)\
发布日期： [2023 年9 月 10 日 01:01 UTC](https://forum.freemdict.com/t/topic/23239/4 "2023-09-10T01:01:09Z")

</div>

刚好用到，参考（注意加 -np参数）：

### **如何使用 wget 下载一个目录下的所有文件**

> wget -r -np -nH -R index.html [http://url/including/files/you/want/to/download/](https://link.zhihu.com/?target=http%3A//url/including/files/you/want/to/download/)

各个参数的含义：

-r : 遍历所有子目录  
-np : 不到上一层子目录去  
-nH : 不要将文件保存到主机名文件夹  
-R index.html : 不下载 index.html 文件
