Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

download large files from external server

$
0
0

Hello.

I have a download site that user can register and pay for download(user should pay for subscription then download any files).

My files locate on other download server that it maps to my site server(dl.mysite.com).

Now I want to generate temporary link for user that when click file start downloading from other server.

For example I have dl.mysite.com/file.zip and I want to user see this link : mysite.com/download/anything.zip or like this.

Then I read that for this download I should stream the file and download, is this a good idea for large files? I think in this way file downloads(or buffer I dont know) on server and then downloads to user computer.

So y questions:

How to generate temp link?

How to download large files from external address but user see my site link?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>