0

我在我的 Windows PC 中使用 wget 从 ftp 服务器下载文件。但它会将文件下载到 wget.exe 所在的文件夹中。但我希望它将文件下载到另一个文件夹。它是如何完成的?(我看到了一些我猜想只在 linux 中有效的链接)。

4

2 回答 2

1

@WINMAN 请查看以下主题以获取您的查询,我希望这可能会对您有所帮助

如何使用 wget 指定位置?

于 2013-03-25T10:55:32.917 回答
1
−P prefix
−−directory−prefix=prefix
Set directory prefix to prefix. The directory prefix is the directory where all other files and subdirectories
will be saved to, i.e. the top of the retrieval tree. The default is . (the current directory).

取自 PDF,随文档一起提供:http: //gnuwin32.sourceforge.net/packages/wget.htm

所有其他命令行参数也在 pdf 中,因此您应该查看它。

于 2013-03-25T10:55:47.907 回答