This console application downloads files from URLs listed in a text file in parallel threads. The downloaded files are stored in a timestamped directory.
-
Clone the Repository
Clone this repository using the following command:
git clone https://github.com/atagaew/URLDownloader.git
-
Navigate to the Project Directory
cd URLDownloader
-
Build the Application
Execute the following command to build the application:
dotnet build -c Release
-
Run the Application
To use the program, execute the built executable file along with the file name containing the URLs:
dotnet run -- -f <file_name_with_urls> Replace <file_name_with_urls> with the path to your file containing URLs. Example: ```bash dotnet run -- -f links.txt Ensure the file contains one URL per line.
-
Check Downloads
After execution, the downloaded files will be saved in a newly created directory named with a timestamp in the format Download_yyyy-MM-dd-HH-mm-ss.