# Offline

Offline licensing is critical for environments that lack direct internet connectivity or require secure, manual activation processes. This guide covers the procedures for generating an offline license request and uploading the license file using the Floating Server API.

## Generate Offline License Request

{% tabs %}
{% tab title="With API" %}
This operation initiates the process to obtain an offline license by generating a license request. For details, see [**Generate offline license request**](/floating-server/floating-server-v1/api-reference/license/generate-offline-license-request.md).
{% endtab %}

{% tab title="With User Interface" %}
A step-by-step guide is in [**Generate Offline License**](/floating-server/floating-server-v1/user-interface/ui-configuration/generate-offline-license.md).
{% endtab %}
{% endtabs %}

## Upload Offline License File

{% tabs %}
{% tab title="With API" %}
Once you have received the offline license file from our offline portal ([**https://offline.licensespring.com/**](https://offline.licensespring.com/)), use the [**Upload offline license file**](/floating-server/floating-server-v1/api-reference/license/upload-offline-license-file.md) endpoint to upload the file and activate the license.
{% endtab %}

{% tab title="With User Interface" %}
The offline license file can be uploaded in the Floating Server UI. See [**Products**](/floating-server/floating-server-v1/user-interface/ui-configuration/products.md).
{% endtab %}
{% endtabs %}

## How to Refresh Offline Licenses

Refreshing an offline license follows a similar process as online licenses, but with an additional step. First, generate a new license file (refresh file) through the offline licensing platform. More details are in [**Offline Licensing**](/sdks/tutorials/licensing-scenarios/offline-licensing.md).

Once the refresh file is ready, you can upload it to the Floating Server as you would with a normal license file. This process updates the license while maintaining offline functionality.


---

# Agent Instructions: 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:

```
GET https://docs.licensespring.com/floating-server/floating-server-v1/license-options/offline.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
