Daviid
Daviid

Reputation: 1586

Python HTTP Server to download files remotely

I want to make a python HTTP Server that runs on my machine, it will listen for me to send it urls and then it will take that url and download it to the computer.

Example:

Ideally this would be non-blocking so if I send 2 links one after the other it wouldn't wait for the first to finish before downloading the second.

I already have the download functions but I'm not sure how to put it together with an HTTP Server.

subprocess? threading? multiprocessing?

Thanks.

Upvotes: 0

Views: 143

Answers (1)

M Burak
M Burak

Reputation: 109

If you familiar with python, it can be easily done with Django and Celery.

Upvotes: 2

Related Questions