I need to download a file through http from the command line on a windows server 2008. I am looking for something like wget, but it must be a built-in tool.
Is there such a tool?
If you have PowerShell installed...
you use curl also: http://curl.haxx.se/docs/manpage.html
curl -O http://domain.com/file.gz
I would liek to use the powershell way, however, when used to get at some pages, like those with erronous ssl code (self signed, or other) you need to set the expectations first before the call
This in turn will fail too, if it redirects to many times, f.ex. if it needs cookies to keep etc etc...
So sadly, without writing a small executable on my own there doesnt seem to be something besides wget that really can handle all situations so far... would love to be wrong.
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?