How To Connect To Cloud Storage Using HTTP/HTTPS

How To Connect To Cloud Storage Using HTTP/HTTPS

HTTP/HTTPS порт: 80, 443

Public access:

Normal public access (data to be taken directly from disk, bypassing caches):

storage-eu.eudc.cloud/v1/AUTH_IDXXXXX/public/

High-speed public access (cached data):

fast-storage-eu.eudc.cloud/v1/AUTH_IDXXXXX/public/

If you need to ensure high-speed data retrieval from the storage, such as images for a website, you can use a high-speed cache for the storage:

http://fast-storage-eu.eudc.cloud/v1/AUTH_IDXXXXX/public/НАЗВАНИЕ_ФАЙЛА

For example:

http://fast-storage-eu.eudc.cloud/v1/AUTH_IDXXXXX/public/index.html

Data is requested from the cache at speeds up to 10 Gbit/s.

The time for storing data in the cache is 2 hours.

ATTENTION! Do not try to use cache for files larger than 8MB. This will not increase the speed.

Downloading files and directories from storage in one archive:

To download files and / or directories from the storage as a single zip file, you can use the download service: https://upload-storage-eu.eudc.cloud/

To use it, you need to provide public access to the container that you want to make public in the web control panel of the cloud storage https://storage.eudc.cloud. If the container is not made public, you will be unable to use the service.

After the container from which you plan to download files in one archive is made public, you need to follow the link: https://upload-storage-eu.eudc.cloud/?project_name=ProjectName&path=/public/folder&include=filename*&exclude=filename*

Available options:

  • project_name - required, only one parameter;
  • path - must start with the container name (required, only one parameter);
  • include - name template. If the template worked, then this object will be included in the selection. If there are nested objects in the list of objects, for example, template 1*, and the name of the object 1/2/3/test.txt, then the name aaa.txt will be compared according to the template, and the path will be discarded (optional, there may be many of them);
  • exclude - name template. If the template worked, then this object is not included in the selection. The principle of operation is like that of include (optional, there may be many of them);
  • name - archive name (optional, only one parameter);
  • no_cache - do not use a fast file cache to generate an archive.

Example:

  • Download the entire public container as a single archive: https://upload-storage-eu.eudc.cloud?project_name=ProjectName&path=/public
  • Download the TEST folder as a single archive: https://upload-storage-eu.eudc.cloud?project_name=ProjectName&path=/public/TEST
  • Download the entire public container, including php files, but exclude ini.php https://upload-storage-eu.eudc.cloud?project_name=ProjectName&path=/public&include=*php&exclude=*ini.php

If you have any questions, please contact technical support at: support@host-telecom.com

Spelling error report

The following text will be sent to our editors: