> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/storage/object-storage/how-tos/access-buckets-and-files-through-urls.md).

# Access buckets and files through URLs

***

Object storage instances in Falkenberg have the location code `dc-fbg1`. Object storage instances in Stockholm have the location code `dc-sto1`. These are used in URLs to access files.

There are two URLs to choose from when accessing files through URLs.

* <https://objects>.*\[location]*.glesys.net/*\[bucket]*/*\[path]*
* https\://*\[bucket]*.objects.*\[location]*.glesys.net/*\[path]*

{% hint style="info" %}
For files to become publicly available, you must first make them public or change the bucket's access control list. See [Make files publicly available](/products/storage/object-storage/how-tos/clients-and-tooling/use-s3cmd-with-object-storage.md#make-files-publicly-available) for instructions on how to make files public using `s3cmd`.
{% endhint %}

## Examples

A bucket named `example-bucket`, placed in Falkenberg, with the file `my-file.txt`, would be accessed using either of the URLs:

* <https://objects.dc-fbg1.glesys.net/example-bucket/my-file.txt>
* <https://example-bucket.objects.dc-fbg1.glesys.net/my-file.txt>

A bucket named `patient-credit`, placed in Stockholm, with the file `dog.jpg`, would be accessed using either of the URLs:

* <https://objects.dc-sto1.glesys.net/patient-credit/dog.jpg>
* <https://patient-credit.objects.dc-sto1.glesys.net/dog.jpg>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.glesys.com/products/storage/object-storage/how-tos/access-buckets-and-files-through-urls.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
