E
E
egorlisss2019-08-05 19:16:58
In contact with
egorlisss, 2019-08-05 19:16:58

How can I implement the download of files to the device?

I am doing a service on VK Mini Apps, there was a need to download an image via a
direct link from the site to the device (it can be windows, androis, ios).
How can such a function be implemented?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2019-08-05
@egorlisss

You need to give EMNIP a file with the necessary headers and it will start downloading automatically.
Something like this:

Content-Disposition: attachment; filename="MyFileName.ext"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question