5 Free Software To Download Files From Command Line In Windows
Here are 5 free software to download files from command line in Windows. In this article, I will talk about very powerful tools that you can use to download files using the Windows command line. Some of these software come with certain nice features such as VirusTotal lookup, resume downloads, BitTorent support, and many others. You can use all of these software right from the Windows command prompt.
Command line software make the use of system memory efficiently and even perform faster than the GUI based software. That’s why I have compiled the following list of free software to download files from Command line in Windows.
So, let’ find out what are 5 free software to download files from Command line in Windows.
5 Free Software To Download Files From Command Line In Windows
aria2
aria2 is a quite a unique free software to download files from command line in Windows. It comes with numerous powerful set of features that you will like. It supports a lot of protocols to download files, including HTTP, HTTPS, FTP, and lot more. While using aria2, you can download a file from multiple sources, you can use multiple connections per host, etc. Apart from a being a command line file downloader, aria2 is also a BitTorrent client with some features like Web-Seeding, DHT, Magnet URI, Encryption, Selective Downloads, and some others. While downloading files using aria2, you can see the progress, average speed, downloaded file size, and many other parameters.
Getting started with aria2 is fairly simple. After downloading the Windows Binary of aria2 from the above link, you can move that file to C:\Windows folder. Or, you can use the EXE of aria2 from the download directory as well. Now, all you have to do is execute the command and add the download link of the file as a parameter. The correct syntax is:
You can see the above screenshot, showing aria2 in action. It has successfully downloaded the target file and showing various parameters in the command window.
So, aria2 is also a very nice free software to download files from command line in Windows. I like various things about this software, for example, multiple connection per host. This feature of aria2 will help you accelerate the download speed.
Axel is a download accelerator as well as a command line download manager for Windows. It uses multiple connections to download a particular file. Using Axel, you can use multiple mirrors to download a file. Axel works very well over HTTP and FTP protocols to download files. And during downloading, you can see the progress of the downloaded file.
Getting started with Axel is pretty easy. Grab its executable file from the above link and then move it to the any directory of your choice. You can also copy-paste it to any windows path folder such as C:\Windows. After doing so, you can run it very easily using the command prompt. The basic syntax of the Axel command is as shown below.
After running the above command, the file will start downloading. And you can see the download file progress in the command window, as shown in the above screenshot.
Axel is really a very nice command line file downloader that you will find on the internet. I really like the way it downloads the given file and uses cascading lines to display the download file progress and download speed.
Curl is a cross-platform and a free software to download files from command line in Windows. Basically, it is a data transferring software which is also a backbone of thousands of applications and software. It supports a lot of protocols including HTTP, HTTPS, FTP, POP3, SMTP, IMAP, SCP and lot more, to transfer data in and out of a device. It is widely used in set top boxes, TV, Routers, Smartphone and in many devices to transfer data. Its binaries are also available for Windows operating system that you can use to easily upload and download files. And while downloading files, you can see various stats such as download speed, upload speed, average speed, time left, time spent, etc.
It’s pretty easy to get started with Curl to download files from command line. Download its Windows binaries from the above link. After that, extract the downloaded folder and locate “Curl.exe” file in the Src folder. Now, copy this file and paste it to the C:\Windows folder. After doing this, you will be able to use Curl from any location on your PC. To use it, open a particular folder where you want to save the downloaded file and open the command prompt in the same folder using the shift + right-click. After that, type the following command and hit the enter to start downloading a file.
So, in this way you can easily download a particular file using Curl in Windows. I really like Curl as it supports a lot of protocols to upload and download file. But, do remember that the link of the file that you will supply to Curl should be a direct link to the file.
Wget is another free software to download files from command line in Windows. This software supports HTTP, HTTPS, FTP, like protocols to download files. And the best part is it allows you to resume an incomplete download easily. Apart from downloading files, you can also use it to mirror a website for offline browsing and upload files to FTP (authentication required). While downloading a file using Wget, you can see its progress.
It’s pretty easy to download files using Wget. First download its Windows binary file from the above link and then move the downloaded Wget.exe file to the C:\Windows directory. Now, the Wget can be accessed from any location on your PC. To download a file using Wget, open the command prompt in any windows and type the following command.
wget [download file link]
You can use the above command to download any file whose direct link you have. And the downloaded file will be saved in the same directory in which you have open the command prompt.
So, it was the case with the Wget, a free software to download files from command line in Windows. I really like that this command line downloader can even download an entire website with just a few commands.
Nugget
Nugget is a free software specially for Windows to download files. The software can be used via Windows command prompt, but that’s not necessary. It also comes with its own command line interface in which you can copy paste a download link of a file. The best thing about Nugget is that after downloading compressed files or executables, it performs a VirusTotal lookup for those files. So, it also shows the VirusTotal look up stats for the downloaded file along with SHA1 and MD5 hash.
The process of using Nugget is very similar to what I have already shown you from above software. First, grab its EXE from the above link and then you can use it by just double clicking on its interface. Or you can copy-paste its EXE file to C:\Windows folder to use it from the Windows command line. The syntax for downloading a file using Nugget is shown below.
It’s clearly showing in the above screenshot that Nugget has successfully downloaded an EXE file and also included the VirusTotal look up stats.
All in all, I find Nugget to be a very good free software to download files from command line in Windows. As it is still in development, so you can hope for more features in the coming updates.
Closing Thoughts
These are some very good free software to download files from command line in Windows. All of these software work as they are supposed to do. Some of these software are quite simple and only focus on downloading a particular file. Also, I have mentioned some software which are very powerful and offer other features such as download resuming, FTP upload, VirusTotal lookup, etc. So, if you are looking for Command line file downloaders, then this list can come in handy to you.
Download a file from the command line in Windows
As a Linux user, I can’t help but spend most of my time on the command line. Not that the GUI is not efficient, but there are things that are simply faster to do with the keyboard.
Think about copy and paste. Select a text you want to copy, go to the edit menu, click, precisely move down to copy, click, then go to the destination, click where you want to paste, go to edit menu, click, move down to the paste option, then paste. Every time I see someone do this, I die a little inside. Sure you can save some time by right-clicking, copy, right-click, paste. But you can save some more time by pressing, ctrl-c then ctrl-v
My hands are already on the keyboard, and I would rather do the mundane things on the keyboard and not think about them.
One thing I do frequently is download files. They can be zip file, tgz, or jpg. On linux, all I have to do is open the command line, run wget with the file I want to download and it is done.
Straight to the point. But how do you do that when you are on a Windows machine? Let me introduce you to cURL, pronounced curl. (i don’t know why I wrote it the way I did)
curl is a very powerful tool with too many feature. But I just want to download the file on Windows so let’s just learn how to do that.
Open PowerShell. That’s Windows Key + R then type powershell and press enter.
Now run the curl command with the -O option to specify the file output.
Easy right? Now you can download files right from the command line all by simply using your keyboard.
OK. It is time I confess. This is not the curl tool you are using. It’s only an alias. In reality, we are calling the command Invoke-WebRequest . But hey! It works, so we don’t care. You can call it in its native format if you want to.
Either way, now you know how to download a file from the command line.
Did you like this article? You can subscribe to read more awesome ones. Share your insightful comments here.
Как скачать файлы из командной строки в Windows, как wget или cURL
Как я могу скачать что-то из интернета непосредственно без Internet Explorer или Firefox открытие Acrobat Reader / Quicktime / MS Word / что?
Я использую Windows, поэтому версия Windows Wget будет делать.
17 ответов
GNU Wget — бесплатная сетевая утилита для извлечения файлов из мира Широкая паутина используя HTTP и FTP, 2 наиболее широко используемый интернет протоколы. Он работает неинтерактивно, что позволяет фон, после выхода из системы.
с этот раздел FAQ, скачать ссылки предложил:
ссылка с учтивостью Ерней Simončič используется вместо этого.
альтернатива, которую я недавно обнаружил, используя PowerShell:
это работает также с GET запросов.
Если необходимо указать учетные данные для загрузки файла, добавьте следующую строку:
появится стандартный запрос учетных данных windows. Введенные там учетные данные будут использоваться для загрузки файла. Это нужно сделать только один раз за все время использования объекта $client.
Если у вас PowerShell > = 3.0, вы можете использовать Invoke-WebRequest
Windows имеет свою собственную утилиту загрузки командной строки -BITSAdmin:
BITSAdmin-это инструмент командной строки, который можно использовать для создания загрузки или загружать задания и следить за их ходом.
и полный bitsadmin пример:
Edit:15.05.2018 — оказалось, что можно скачать с файл с сертификатом тоже:
Certutil не устанавливается по умолчанию на XP / Win2003, но avaialble на новых версиях windows.Для XP/2003 вам понадобится Admin Tool Pack для windows server 2003
сохраните следующий текст в wget.js и просто позвонить
Я сделал быстрый myGet.bat-файл, который вызывает метод PowerShell, описанный выше.
есть родной завиток для Windows доступен здесь. Существует множество разновидностей-с поддержкой SSL и без нее.
вам не нужен дополнительный багаж Cygwin и любит, только один маленький EXE-файл.
также важно знать, что есть оба wget и curl псевдонимы, встроенные во все современные версии Windows Powershell. Они эквивалентны.
нет дополнительные файлы или загрузки требуется получить wget функции:
вы можете ввести команду cURL, как тот, который загружает файл из Репозитории GitHub.
и покажется как это работает, но то, что он на самом деле делает это просто использование cURL в качестве псевдонима. В приведенном выше примере, что произойдет, это что вы просто получите заголовки вместо самого файла.
псевдонимы в PowerShell позволяют создавать ярлыки для более длинных команд, так что вам не придется вводить их все время.
если ввести команду Get-Alias, появится список всех псевдонимов, используемых в PowerShell. Как видите, команда curl просто вызывает команду Invoke-WebRequest. Они похожи, но не то же самое, поэтому выше запрос не работает для нас.
для правильной работы в PowerShell проще всего использовать переменные и -OutFile аргументов, как показано ниже:
этот синтаксис загрузит полное содержимое целевого файла azuredeploy.json локальный файл newfile.json
основное преимущество заключается в том, что он встроен в Powershell сам по себе, так что этот код будет выполняться непосредственно без загрузки или каких-либо других дополнительных файлов, необходимых для его работы на любой современной версии Windows.
Я искал то же самое, и поскольку у меня не было привилегии установить любой из вышеперечисленных пакетов, я пошел на небольшой обходной путь (для загрузки 30+файлов):
- Я создал пакетный файл
- перечислены все файлы
- Put firefox.exe в начале каждой строки
- пошел в каталог firefox в Program Files
- запустил его.
If PowerShell Это вариант, это предпочтительный маршрут, так как вам (потенциально) не придется устанавливать ничего лишнего:
В противном случае, Wget для Windows, Как отметили другие, безусловно, второй лучший вариант. Как опубликовано в другом ответе, похоже, что вы можете скачать Wget все само по себе, или вы можете захватить его как часть Cygwin или MSys.
Если по какой-то причине, вы не найдете сами застряли в временной деформации, используя машину, которая не имеет PowerShell и у вас нет доступа к работающему веб-браузеру (то есть Internet Explorer является единственным браузером в системе, и его настройки повреждены), а ваш файл находится на FTP-сайте (в отличие от HTTP):
Если память служит он был там с Windows 98, и я могу подтвердить, что он по-прежнему существует в Windows 8 RTM (вы, возможно, придется перейти в appwiz.cpl и добавить/удалить компоненты, чтобы получить она.) Эта утилита может как загружать, так и загружать файлы на/с FTP-сайтов в интернете. его можно также использовать в сценариях для того чтобы автоматизировать любую деятельность.
этот встроенный инструмент был для меня настоящим спасателем в прошлом, особенно во времена ftp.cdrom.com — я загрузил Firefox таким образом однажды, на полностью сломанной машине, у которой было только подключение к интернету (когда максимальный размер пакета sneakernet все еще составлял 1,44 МБ, а Firefox все еще назывался «Netscape» / me делает trollface).
несколько советов: это собственный командный процессор, и у него свой синтаксис. Попробуйте ввести «помощь». Все FTP-сайты требуют имя пользователя и пароль; но если они позволяют «анонимные» пользователи, имя пользователя «анонимный» и пароль Ваш адрес электронной почты (вы можете сделать один, если вы не хотите, чтобы быть отслежены, но, как правило, есть какая-то логика, чтобы убедиться, что это действительный адрес электронной почты).