4

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

Fredthedoggy
  • 161
  • 1
  • 1
  • 6

1 Answers1

6

sudo apt install lynx

Then use

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

Or without installing anything extra

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

or

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

Dougie
  • 5,381
  • 11
  • 22
  • 30