Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a wget or cURL type command line utility native to Windows Vista? How does it work?

share|improve this question
    
Even Microsoft distributes wget.exe in the IIS Administration Pack. –  paradroid Jun 20 '11 at 19:41
    
Duplicates the mis-titled "DOS Downloaders / Downloads Managers (e.g. WGET) any more?". –  JdeBP Jun 21 '11 at 10:59

8 Answers 8

Native to Windows (comes preinstalled, and depends on "bits" Windows service):

bitsadmin

Can do what wget does, and prolly more (you can control an ongoing job via api like commands - for example you can get status speed and cancel if it is too slow)

http://msdn.microsoft.com/en-us/library/windows/desktop/aa362813(v=vs.85).aspx

Example usage from my own experience (you can do parallel downloads in the same .bat, or do sequencial downloads in the same job):

bitsadmin /create thisissomejobname

bitsadmin /addfile thisissomejobname http://kakao.ro/Pictures.iso C:\john_pictures.iso

bitsadmin /SetCredentials thisissomejobname Server BASIC somehttpuser somehttppassword

bitsadmin /resume thisissomejobname

REM how to get status:
bitsadmin /info thisissomejobname
share|improve this answer
    
check out /SetNotifyCmdLine option if you need to use this command sequentially in a .bat –  Tiberiu-Ionuț Stan Oct 26 '11 at 12:49
    
Running bitsadmin under Windows 7 displays the following warning: BITSAdmin is deprecated and is not guaranteed to be available in future versions of Windows. Administrative tools for the BITS service are now provided by BITS PowerShell cmdlets. Users beware. –  yop83 May 31 '12 at 17:36
    
"Administrative tools for the BITS service are now provided by BITS PowerShell cmdlets." Nothing much to be beware of. Only the BITS client is deprecated, while the BITS service will remain. It will be accessible with another, similar in functionality, client (PowerShell will come preinstalled with future versions of Windows). –  Tiberiu-Ionuț Stan May 31 '12 at 20:28

There is no wget alternative really, you can use Wget for Windows and assign the path in your Environment Variables to get it working how you want?

share|improve this answer
    
The problem is, the person I'm working with is getting a browser freeze on launch, and they have no access to another computer. –  Jordan Jun 20 '11 at 19:48
1  
If they're running through ethernet, get them to boot into safe mode with networking? –  Sandeep Bansal Jun 20 '11 at 19:56

Powershell v3 CTP1 comes with a command like wget/curl. It's called Invoke-Web-Request. To learn more, you can visit this post: http://rambletech.wordpress.com/2011/09/21/windows-powershell-v3-includes-command-like-wgetcurl/

share|improve this answer
2  
I see both superuser.com/a/25540/106977 and superuser.com/a/330754/106977 refer to Powershell commands. I have not tried either of them, but those links are related to this posting. –  bgoodr Jun 9 '12 at 0:42

It seams you only need to download a alternative browser. You can use this command to download Mozilla Firefox with the command prompt:

    explorer.exe http://releases.mozilla.org/pub/mozilla.org/firefox/releases/6.0.2/win32/en-US/Firefox%20Setup%206.0.2.exe

This launches also the internet explorer, but only with a basic feature set. This should work even if internet explorer is broken (in most cases).

You can also use the FTP-Command. Type into the command prompt following commands:

  1. FTP - Which opens the FTP-Client
  2. open ftp.mozilla.org - Which connects to Mozilla-FTP
  3. Just login as Anonymous and an empty password.
  4. cd /pub/mozilla.org/firefox/releases/4.0.1/win32/en-US/ -To change the directory
  5. recv "Firefox Setup 4.0.1.exe" - To Download Firefox Installer. The File is located in the current folder of the command prompt. (Usually your Profile-Folder)
  6. bye to close the FTP-Client
  7. exit to close the command prompt.
share|improve this answer
    
Nice answer, but completely unrelated to the question asked. –  Antimony Aug 14 at 6:09

Native cURL for Windows is available here. There are many flavors available- with SSL support, without SSL support. You don't need the extra baggage of cygwin and the likes, just one small exe file.

share|improve this answer

I often use PowerShell for simple things:

$wc = New-Object Net.WebClient
$wc.DownloadString('...')

or DownloadFile if you want something downloaded like wget does and package that off into a function. Of course, this is very rough and won't have any of the niceties like resumable downloads and similar.

share|improve this answer

I'd just use cygwin and install the wanted libraries... Always done that..

In the past, i searched for alternatives, yes. But cygwin is just the best tool for the job.

share|improve this answer

I've created my own. Check it out here: https://github.com/acarrilho/global (at the bottom of the page) Download the source and, using cmd.exe, navigate to the requester folder. from there just type http to see all the settings available. as an example:

http -u "http://www.example.com" -oc

hope you find it useful

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.