I have a raspberry pi 4 (2gb) set up as a file server. I was wondering if it was possible to create a tool, where when I paste a link into some sort of prompt, my raspberry Pi would download the file to it's hard drive.

Basically, it would have a input, where I paste a file link (https://example.com/example.zip) and it would download the file to a specific folder, then I could move it to my main computer when it was done, at a much higher speed.

Does this exist? / Would it be possible to create my own?

Edit: I used https://github.com/fredthedoggy/Web-PHP-Download-Manger for downloading

  • 1
    Have you tested FileRun? – Recently, I have installed and It's really geat.
    – M. Rostami
    Feb 8, 2020 at 23:22
  • @M.Rostami I tried FileRun, but do you know If I can give it a link, and it will automatically download that file? Feb 9, 2020 at 23:06
  • Honestly, it just a file server as you said ("I have a raspberry pi 4 (2gb) set up as a file server") but I think you mean something else. The thing you are looking for is much related to download manager.
    – M. Rostami
    Feb 10, 2020 at 6:46

1 Answer 1


sudo apt install lynx

Then use

lynx https://example.com/example.zip

Or without installing anything extra

wget https://example.com/example.zip


curl https://example.com/example.zip

  • 1
    curl will output to stdout by default. You should correct it to curl https://example.com/example.zip -o example.zip or curl https://example.com/example.zip > example.zip
    – Ingo
    Feb 9, 2020 at 15:00
  • or curl -O https://example.com/example.zip Feb 9, 2020 at 15:44
  • Is it possible to make a PHP page, that asks for a link, and then when I paste one in, it executes the curl command? Feb 9, 2020 at 23:10
  • Take a look here: php.net/manual/en/curl.examples-basic.php
    – Dougie
    Feb 10, 2020 at 0:02
  • @Dougie that just opens the file in my web browser, it doesn't download it to the server Feb 10, 2020 at 0:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.