How to download zip files directly from a private cloud Seletel?

There is a Laravel project.
Hosted on a virtual server Selectel.
In the project large (100MB-3GB) files are downloaded and stored in the cloud in Selectel.

Container Cloud storage, we private, because the files are private.
We need to organize the ability to download the desired folder from the cloud storage in the form of a zip archive. Because the files are huge, you need to generate them on the fly.

From Selectel has the ability to download a folder from the cloud as an archive, but unfortunately only from Public containers.

Maybe someone solved a similar problem.
March 12th 20 at 07:56
2 answers
March 12th 20 at 07:58
So, the answer is...

I really wanted and I checked the option to download the folder as a zip archive from a private repository, and I did the following:
1) Logged in (received, X-Storage-Token and X-Storage-Url)
2) attempts to download a file from the private repository:
wget --header="X-Auth-Token:0d7bf2ef92e39558e458XXXXXX"

And I did it. the needed folder is downloaded as a ZIP.
Now the question is:
1) This is a bug or a feature, or maybe I something misunderstood?
2) could we use this opportunity or not?

The Answer Of Technical Support:
Thank you for waiting.
Yes, You can use this functionality and for private containers.
Thank you for the comment about inaccuracies in the knowledge Base, the information in it will be updated soon.
March 12th 20 at 08:00
1) Or in the client to specify authentication parameters to access the repository. The outside access to the cloud repository is exactly the same as inside - only need to be authenticated. In this and in the other case.
2) Or temporary access to give
Do not understand.
It is about the "types" of files.
At the docks selectel written that download folder as zip only from public cloud (Proof)

You claim that you can log in and do the same with private storage? - candida.Williamson commented on March 12th 20 at 08:03
Surprisingly, it turned out to authenticate and pass authorization header to download the zip file from the private repository. Wrote in support of Selectel question, can I use this undocumented feature. - candida.Williamson commented on March 12th 20 at 08:06
@candida.Williamson, possible. You can even ask in a ticket to add documentation. - Tyso commented on March 12th 20 at 08:09
@Tyso, thanks, did just that. - candida.Williamson commented on March 12th 20 at 08:12

Find more questions by tags Selectel