S
S
SterhXXX2019-07-13 15:15:28
linux
SterhXXX, 2019-07-13 15:15:28

How to transfer a file over the Internet using a direct link?

Hello!
People, there is a stupid question, but I can’t figure it out on my own, so I ask you for help!
How to send a file over the Internet using a direct link??? So that I clicked on it, and the download began (I'm going to download on Linux using wget).

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
Sanes, 2019-07-13
@Sanes

The server with the file must have a web server or ftp.

V
Volodymyr Palamar, 2019-07-13
@GORNOSTAY25

use either serveo.net or ngrock

R
rPman, 2019-07-13
@rPman

Third-party cloud services, which are free, in one way or another try to limit the ability to download files via http, I believe that they should not be used as a technical storage, so that it would be difficult to automate, and also so that 100,500 accounts in free tariff plans would probably not be registered and not used through an auto-layer (and so use).
Try dropbox, google drive, microsoft onedrive, they all have a free limit (gigabytes) and somehow allow you to get this link (i.e. manually download in the interface, make a couple of clicks and get a link that you can feed wget).
If you need a large file, then either paid services (amazon s3, for example, are relatively cheap) or if you need it for a short time, use your own vps server, take from a couple of bucks a year (there is not enough space, a few gigabytes, you can find 40GB from $10 a year), set up any web server there (the same nginx or a one-liner in general, I like php -S, it does not consume memory) and go ahead.
By definition, your own service will be cheaper and more flexible, but you will also have to configure it yourself.

Z
Zzzz9, 2019-07-13
@Zzzz9

If linux-linux (unix) just copy scp, rsync
If on windows, it can ftp, http (https), torrent or some kind of tunnel services are needed.

D
Dmitry Aleksandrov, 2019-07-13
@jamakasi666

Personally, I currently use https://send.firefox.com/ for files up to 2gb.
If you need directly from Linux, then there are many options, as an example
1) Naturally, you must have a white ip, and the required port is open in the firewall on the router and in Linux
2) one of the following options:
-python -m SimpleHTTPServer & //shares the folder from which launched on port 8000
- for python 3 python3 -m http.server - another billion
options up to the nc utility

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question