Request content directly from the S3 storage
Use the following schema to request uploaded files:
http(s)://<bucket-name>.<location>.cloud.gcore.lu
You can find the hostname on the Storages tab in the Details section.
For example, your storage is in the Global-1 location. You've created a bucket mybucket and uploaded picture.png there:
/mybucket/picture.png
Global-1 location hostname:
s-ed1.cloud.gcore.lu
URL to request the file from the storage:
http://mybucket.s-ed1.cloud.gcore.lu/picture.png
S3 storages support both HTTP and HTTPS protocols.
Request content directly from the SFTP storage
Upload your files to the htdocs directory but don't specify the directory when requesting the content.
Use the following schema to form the URLs:
http://<storage name>.<hostname>/<file name>
You can find the storage name and hostname on the Storages tab in the Details section.
Path to the uploaded file in the storage:
sftp://12345-test@ams.origin.gcdn.co:2200/export/home/12345-test/htdocs/picture.png
Where:
- 12345-test is a storage name;
- ams.origin.gcdn.co is a hostname.
URL to request the file from the storage:
http://12345-test.ams.origin.gcdn.co/picture.png
SFTP storage works only via HTTP protocol.