Tag: wget
-
wget or curl on Windows
Hey everyone, Just a quick post on a Window’s equivalent to wget/curl. To start, you’ll need to open PowerShell (run > powershell.exe). To retrieve the page, you’ll just need to enter the following one liner: (new-object System.Net.WebClient).DownloadFile(‘http://www.whatibroke.com’,’C:my_output_file.txt’) The page contents will be stored in the output file provided as the second parameter to DownloadFile. To…