Jump to content

Is there a way to download something through the command line in a similar fassion to the wget apt-get command, but in windows? 

(IE if I have a file being hosted on 205.x.x.x how would I download it from the command prompt)

 

EDIT: I meant wget not apt-get

 

Breaking things 1 day at a time

Link to comment
https://linustechtips.com/topic/1236232-downloading-something-from-windows-cmd/
Share on other sites

Link to post
Share on other sites

2 minutes ago, James Evens said:

packages? don't think windows has such a thing

downloading stuff? curl

Might be able to pull curl off... will have to look into it

 

Edit: Meant WGET

 

 

Breaking things 1 day at a time

Link to post
Share on other sites

If it's wget you want then Windows can do it.

Open up PowerShell and type in wget.

 

Please note that wget is an alias for Invoke-WebRequest though. So it's not actually wget but will serve the same purpose.

 

 

PowerShell also includes a WebClient class which you can use to download stuff with:

$client = New-Object System.Net.WebClient
$client.DownloadFile("www.example.com/file.exe", "D:\TempFolder\Download\file.exe")

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×