![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | How to download binaries via HTTP I am looking for a PowerShell script that shows how to download binaries like images or zip files from the internet via HTTP protocol. Can anyone point me to an example? Thanks in advance, Andreas |
My System Specs![]() |
| | #2 (permalink) |
| | Re: How to download binaries via HTTP I ran a search on my site: http://bsonposh.com/modules/wordpress/?page_id=13 The one that jump out at me is: http://www.leeholmes.com/blog/ADownl...agerInMSH.aspx Uses: http://msdn2.microsoft.com/en-us/lib...webclient.aspx "Andreas Guther" <Andreas Guther@discussions.microsoft.com> wrote in message news:CB2F7DFE-88F3-464F-AA8D-654D071C109D@microsoft.com... >I am looking for a PowerShell script that shows how to download binaries >like > images or zip files from the internet via HTTP protocol. > > Can anyone point me to an example? > > Thanks in advance, > > Andreas |
My System Specs![]() |
| | #3 (permalink) |
| | Re: How to download binaries via HTTP The provided link was very helpful Thank you. To summarize the usage, all you need to do is the following: ## Ensure the System.Net DLLs are loaded [void] [Reflection.Assembly]::LoadWithPartialName("System.Net") $url = "http://www.google.com/images/logo_sm.gif" $filename = Join-Path "$(get-location)" "google-logo.gif" write-host " Downloading: $url to $filename" $webClient = new-object System.Net.WebClient $webClient.DownloadFile($url, $filename) Andreas "Brandon Shell" wrote: > I ran a search on my site: http://bsonposh.com/modules/wordpress/?page_id=13 > > The one that jump out at me is: > http://www.leeholmes.com/blog/ADownl...agerInMSH.aspx > > Uses: > http://msdn2.microsoft.com/en-us/lib...webclient.aspx > > "Andreas Guther" <Andreas Guther@discussions.microsoft.com> wrote in message > news:CB2F7DFE-88F3-464F-AA8D-654D071C109D@microsoft.com... > >I am looking for a PowerShell script that shows how to download binaries > >like > > images or zip files from the internet via HTTP protocol. > > > > Can anyone point me to an example? > > > > Thanks in advance, > > > > Andreas > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| SP1 has killed http download speeds | General Discussion | |||
| Download installer from http://get.live.com in different languages | Live Messenger | |||
| Slow HTTP download in Vista SP1/Switching back to XP-I hope not | Vista General | |||
| Can't post binaries to newsgroups via Windows Mail | Vista mail | |||
| Access ALT.BINARIES | Vista mail | |||