A lightweight Windows command-line utility for downloading content from the web.
Built as a fully Windows-native C application using the WinINet API.
- Download files over HTTP, HTTPS, or FTP.
- Display file sizes in human-readable units and raw bytes.
- Real-time download progress with total file size display (when available).
- Real-time download speed calculation.
- Safe file overwrite verification.
- Defensive error checking with descriptive WinINet error reporting.
- Fully Windows-native C application.
.\windl.exe <URL>
# Examples
.\windl.exe https://www.example.com/file.zip
.\windl.exe ftp://user:password@ftp.example.com/file.zip
Using Makefile (recommended):
make clean
make windlManual compilation (MinGW GCC):
gcc -Wall -Wextra -Wpedantic windl.c -o windl -lwininet