> ## Documentation Index
> Fetch the complete documentation index at: https://gcore-doc-1256a.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Request content directly from the storage

## Request content directly from the object storage

Use the following schema to request uploaded files:

```sh theme={null}
http(s)://<bucket-name>.<location>.cloud.gcore.lu
```

You can find the hostname on the [Storages](https://portal.gcore.com/storage/storages/list) tab in the "Details" section.

<Frame>
  <img src="https://mintcdn.com/gcore-doc-1256a/zU-Vpxi_ehZUP3s9/images/docs/storage/request-content-directly-from-the-storage/10275919634193.png?fit=max&auto=format&n=zU-Vpxi_ehZUP3s9&q=85&s=0fbd5b1a13def53133965bf1893c027b" alt="Details section" width="1900" height="879" data-path="images/docs/storage/request-content-directly-from-the-storage/10275919634193.png" />
</Frame>

For example, your storage is in the Luxembourg location. You've created a bucket *mybucket* and uploaded *picture.png* there:

```sh theme={null}
/mybucket/picture.png
```

The Luxembourg location hostname is:

```sh theme={null}
s-ed1.cloud.gcore.lu
```

URL to request the file from the storage is:

```sh theme={null}
http://mybucket.s-ed1.cloud.gcore.lu/picture.png
```

Object 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:

```sh theme={null}
http://<storage name>.<hostname>/<file name>
```

You can find the storage name and hostname on the [Storages](https://portal.gcore.com/storage/storages/list) tab in the "Details" section.

Path to the uploaded file in the storage:

```sh theme={null}
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:

```sh theme={null}
http://12345-test.ams.origin.gcdn.co/picture.png
```

SFTP storage works only via HTTP protocol.
