小编Bro*_*ven的帖子

Powershell下载整个目录内容

http://gisdata.nd.gov/NAIP/2012/zGeoTiffs/

\n\n

我想下载整个目录,每个链接都包含另一系列的链接。

\n\n

这是我到目前为止所拥有的,它可以工作(返回 200 状态),但它无法下载

\n\n
import-module bitstransfer\ninvoke-webrequest \xe2\x80\x9chttp://gisdata.nd.gov/NAIP/2012/zGeoTiffs/\xe2\x80\x9d\nselect -exp links|where{$_.href -like "*.tif"}\nselect -exp href|foreach{start-bitstransfer $_ F:\\GIS\\2012GeoTiff}\n
Run Code Online (Sandbox Code Playgroud)\n

powershell recursion download

4
推荐指数
1
解决办法
2万
查看次数

标签 统计

download ×1

powershell ×1

recursion ×1