aspxcombobox

Webclient.DownloadFile() .aspx file won't open

徘徊边缘 提交于 2019-12-10 20:41:15
问题 I'm using powershell for the first time. I've learned how to download files using a webclient, using the following code. $client = New-Object System.NET.Webclient $client.DownloadFile( $url, $path ) This seems to work nicely for what I am trying to eventually do, which is download multiple files from a web page at one time. I tried this on a site, which has its files formatted as .pfva files, which are opened as a PDF. no problem. This was a password protected site too. So moving to the site