{"id":"JapUNu2Jj60f","url":"https://totaljs.es/docs/openfiles/1-0/guides/introduction/","project":"openfiles","version":"1-0","section":"guides","language":"en","title":"Introduction","summary":"What OpenFiles is, what it does and where to start.","markdown":"---\ntitle: Introduction\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/guides/introduction/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Introduction\n\n> What OpenFiles is, what it does and where to start.\n\nOpenFiles is a small file server for your other apps. Your apps upload files to it through a REST API, and OpenFiles gives each file a permanent link that anyone can open. You manage everything in a web interface: the storages that hold the files, the API tokens your apps use, and a few settings.\n\nOpenFiles is an official Total.js app under the MIT license. The code is on [GitHub](https://github.com/totaljs/openfiles).\n\n## What you can do\n\n- Keep files in separate **storages**, for example `photos` and `documents`.\n- Let each app upload with its own **API token**, limited to the storages you choose.\n- Upload files as `multipart/form-data` or as Base64 JSON.\n- Share every file through a public link, or as a download.\n- Browse, filter, sort, rename and remove files in the web interface.\n- Keep a searchable index of the files in PostgreSQL if you want one.\n\n## How it fits together\n\n1. You create a storage, for example `photos`.\n2. You create an API token for your app and allow it to upload to `photos`.\n3. Your app sends a file to `/upload/photos/` with the token.\n4. OpenFiles answers with the file ID and its link, for example `/files/photos/JapO3b1e961f-pn.png`. Your app saves that link and shows it to its users.\n\n## Where to go next\n\n- Install OpenFiles [from source](../install-source/) or [with Docker](../install-docker/).\n- Sign in for the first time: [First sign-in](../first-sign-in/).\n- Create your first [storage](../storages/) and [API token](../api-tokens/).\n- Connect your app: [REST API overview](../../reference/rest-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNu2Jj60f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/guides/introduction/","project":"openfiles","version":"1-0","section":"guides","language":"de","title":"Einführung","summary":"Was OpenFiles ist, was es macht und wo du anfängst.","markdown":"---\ntitle: \"Einführung\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/guides/introduction/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Einführung\n\n> Was OpenFiles ist, was es macht und wo du anfängst.\n\nOpenFiles ist ein kleiner Dateiserver für deine anderen Apps. Deine Apps laden über eine REST API Dateien hoch, und OpenFiles gibt jeder Datei einen dauerhaften Link, den jeder öffnen kann. Du verwaltest alles in einer Weboberfläche: die Speicher mit den Dateien, die API-Tokens deiner Apps und ein paar Einstellungen.\n\nOpenFiles ist eine offizielle Total.js-App unter der MIT-Lizenz. Der Code liegt auf [GitHub](https://github.com/totaljs/openfiles).\n\n## Was du tun kannst\n\n- Dateien in getrennten **Speichern** ablegen, zum Beispiel `photos` und `documents`.\n- Jede App mit ihrem eigenen **API-Token** hochladen lassen, beschränkt auf die Speicher, die du wählst.\n- Dateien als `multipart/form-data` oder als Base64-JSON hochladen.\n- Jede Datei über einen öffentlichen Link oder als Download teilen.\n- Dateien in der Weboberfläche durchsuchen, filtern, sortieren, umbenennen und entfernen.\n- Auf Wunsch einen durchsuchbaren Index der Dateien in PostgreSQL führen.\n\n## Wie alles zusammenspielt\n\n1. Du erstellst einen Speicher, zum Beispiel `photos`.\n2. Du erstellst ein API-Token für deine App und erlaubst ihm, in `photos` hochzuladen.\n3. Deine App schickt eine Datei mit dem Token an `/upload/photos/`.\n4. OpenFiles antwortet mit der Datei-ID und ihrem Link, zum Beispiel `/files/photos/JapO3b1e961f-pn.png`. Deine App speichert diesen Link und zeigt ihn ihren Nutzern.\n\n## Wie es weitergeht\n\n- Installiere OpenFiles [aus dem Quellcode](../install-source/) oder [mit Docker](../install-docker/).\n- Melde dich zum ersten Mal an: [Erste Anmeldung](../first-sign-in/).\n- Erstelle deinen ersten [Speicher](../storages/) und dein erstes [API-Token](../api-tokens/).\n- Verbinde deine App: [Übersicht der REST API](../../reference/rest-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNu2Jj60f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/guides/introduction/","project":"openfiles","version":"1-0","section":"guides","language":"es","title":"Introducción","summary":"Qué es OpenFiles, qué hace y por dónde empezar.","markdown":"---\ntitle: \"Introducción\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/guides/introduction/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Introducción\n\n> Qué es OpenFiles, qué hace y por dónde empezar.\n\nOpenFiles es un pequeño servidor de archivos para tus otras apps. Tus apps le suben archivos a través de una API REST, y OpenFiles da a cada archivo un enlace permanente que cualquiera puede abrir. Lo gestionas todo en una interfaz web: los almacenes que guardan los archivos, los tokens de API que usan tus apps y unos pocos ajustes.\n\nOpenFiles es una app oficial de Total.js con licencia MIT. El código está en [GitHub](https://github.com/totaljs/openfiles).\n\n## Lo que puedes hacer\n\n- Guardar los archivos en **almacenes** separados, por ejemplo `photos` y `documents`.\n- Dejar que cada app suba archivos con su propio **token de API**, limitado a los almacenes que elijas.\n- Subir archivos como `multipart/form-data` o como JSON en Base64.\n- Compartir cada archivo con un enlace público o como descarga.\n- Explorar, filtrar, ordenar, renombrar y eliminar archivos en la interfaz web.\n- Mantener en PostgreSQL un índice de los archivos en el que puedes buscar, si quieres uno.\n\n## Cómo encaja todo\n\n1. Creas un almacén, por ejemplo `photos`.\n2. Creas un token de API para tu app y le permites subir a `photos`.\n3. Tu app envía un archivo a `/upload/photos/` con el token.\n4. OpenFiles responde con el ID del archivo y su enlace, por ejemplo `/files/photos/JapO3b1e961f-pn.png`. Tu app guarda ese enlace y se lo muestra a sus usuarios.\n\n## Por dónde seguir\n\n- Instala OpenFiles [desde el código fuente](../install-source/) o [con Docker](../install-docker/).\n- Inicia sesión por primera vez: [Primer inicio de sesión](../first-sign-in/).\n- Crea tu primer [almacén](../storages/) y tu primer [token de API](../api-tokens/).\n- Conecta tu app: [Resumen de la API REST](../../reference/rest-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNu2Jj60f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/guides/introduction/","project":"openfiles","version":"1-0","section":"guides","language":"fr","title":"Introduction","summary":"Ce qu’est OpenFiles, ce qu’il fait et par où commencer.","markdown":"---\ntitle: Introduction\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/guides/introduction/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Introduction\n\n> Ce qu’est OpenFiles, ce qu’il fait et par où commencer.\n\nOpenFiles est un petit serveur de fichiers pour tes autres applications. Tes applications y envoient des fichiers par une API REST, et OpenFiles donne à chaque fichier un lien permanent que tout le monde peut ouvrir. Tu gères tout dans une interface web : les stockages qui contiennent les fichiers, les jetons d’API qu’utilisent tes applications et quelques réglages.\n\nOpenFiles est une application officielle de Total.js sous licence MIT. Le code est sur [GitHub](https://github.com/totaljs/openfiles).\n\n## Ce que tu peux faire\n\n- Ranger les fichiers dans des **stockages** séparés, par exemple `photos` et `documents`.\n- Laisser chaque application envoyer des fichiers avec son propre **jeton d’API**, limité aux stockages que tu choisis.\n- Envoyer des fichiers en `multipart/form-data` ou en JSON Base64.\n- Partager chaque fichier par un lien public, ou en téléchargement.\n- Parcourir, filtrer, trier, renommer et supprimer des fichiers dans l’interface web.\n- Garder un index des fichiers consultable dans PostgreSQL, si tu le souhaites.\n\n## Comment tout s’articule\n\n1. Tu crées un stockage, par exemple `photos`.\n2. Tu crées un jeton d’API pour ton application et tu l’autorises à envoyer vers `photos`.\n3. Ton application envoie un fichier à `/upload/photos/` avec le jeton.\n4. OpenFiles répond avec l’ID du fichier et son lien, par exemple `/files/photos/JapO3b1e961f-pn.png`. Ton application enregistre ce lien et le montre à ses utilisateurs.\n\n## Et ensuite\n\n- Installe OpenFiles [depuis les sources](../install-source/) ou [avec Docker](../install-docker/).\n- Connecte-toi pour la première fois : [Première connexion](../first-sign-in/).\n- Crée ton premier [stockage](../storages/) et ton premier [jeton d’API](../api-tokens/).\n- Connecte ton application : [Vue d’ensemble de l’API REST](../../reference/rest-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNu2Jj60f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/guides/introduction/","project":"openfiles","version":"1-0","section":"guides","language":"it","title":"Introduzione","summary":"Cos'è OpenFiles, cosa fa e da dove iniziare.","markdown":"---\ntitle: Introduzione\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/guides/introduction/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Introduzione\n\n> Cos'è OpenFiles, cosa fa e da dove iniziare.\n\nOpenFiles è un piccolo file server per le tue altre app. Le tue app vi caricano i file tramite una REST API e OpenFiles dà a ogni file un link permanente che chiunque può aprire. Gestisci tutto da un'interfaccia web: gli storage che contengono i file, i token API usati dalle tue app e alcune impostazioni.\n\nOpenFiles è un'app ufficiale di Total.js con licenza MIT. Il codice è su [GitHub](https://github.com/totaljs/openfiles).\n\n## Cosa puoi fare\n\n- Tenere i file in **storage** separati, per esempio `photos` e `documents`.\n- Far caricare a ogni app con il suo **token API**, limitato agli storage che scegli.\n- Caricare i file come `multipart/form-data` o come JSON in Base64.\n- Condividere ogni file tramite un link pubblico o come download.\n- Sfogliare, filtrare, ordinare, rinominare e rimuovere i file nell'interfaccia web.\n- Tenere un indice dei file consultabile in PostgreSQL, se ne vuoi uno.\n\n## Come funziona l'insieme\n\n1. Crei uno storage, per esempio `photos`.\n2. Crei un token API per la tua app e le permetti di caricare in `photos`.\n3. La tua app invia un file a `/upload/photos/` con il token.\n4. OpenFiles risponde con l'ID del file e il suo link, per esempio `/files/photos/JapO3b1e961f-pn.png`. La tua app salva quel link e lo mostra ai suoi utenti.\n\n## Dove andare dopo\n\n- Installa OpenFiles [dal codice sorgente](../install-source/) o [con Docker](../install-docker/).\n- Accedi per la prima volta: [Primo accesso](../first-sign-in/).\n- Crea il tuo primo [storage](../storages/) e il tuo primo [token API](../api-tokens/).\n- Collega la tua app: [Panoramica della REST API](../../reference/rest-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNu2Jj60f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/guides/introduction/","project":"openfiles","version":"1-0","section":"guides","language":"sk","title":"Úvod","summary":"Čo je OpenFiles, čo robí a kde začať.","markdown":"---\ntitle: \"Úvod\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/guides/introduction/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Úvod\n\n> Čo je OpenFiles, čo robí a kde začať.\n\nOpenFiles je malý súborový server pre tvoje ostatné aplikácie. Tvoje aplikácie doň nahrávajú súbory cez REST API a OpenFiles dá každému súboru trvalý odkaz, ktorý môže otvoriť ktokoľvek. Všetko spravuješ vo webovom rozhraní: úložiská, v ktorých sú súbory, API tokeny, ktoré používajú tvoje aplikácie, a niekoľko nastavení.\n\nOpenFiles je oficiálna aplikácia Total.js s licenciou MIT. Kód je na [GitHube](https://github.com/totaljs/openfiles).\n\n## Čo môžeš robiť\n\n- Uchovávať súbory v oddelených **úložiskách**, napríklad `photos` a `documents`.\n- Nechať každú aplikáciu nahrávať s vlastným **API tokenom**, obmedzeným na úložiská, ktoré vyberieš.\n- Nahrávať súbory ako `multipart/form-data` alebo ako Base64 v JSON.\n- Zdieľať každý súbor cez verejný odkaz alebo ako stiahnutie.\n- Prehliadať, filtrovať, triediť, premenovávať a odstraňovať súbory vo webovom rozhraní.\n- Ak chceš, viesť prehľadávateľný index súborov v PostgreSQL.\n\n## Ako to do seba zapadá\n\n1. Vytvoríš úložisko, napríklad `photos`.\n2. Vytvoríš API token pre svoju aplikáciu a povolíš mu nahrávať do `photos`.\n3. Tvoja aplikácia pošle súbor s tokenom na `/upload/photos/`.\n4. OpenFiles odpovie ID súboru a jeho odkazom, napríklad `/files/photos/JapO3b1e961f-pn.png`. Tvoja aplikácia si odkaz uloží a ukazuje ho svojim používateľom.\n\n## Kam ďalej\n\n- Nainštaluj OpenFiles [zo zdrojového kódu](../install-source/) alebo [s Dockerom](../install-docker/).\n- Prihlás sa prvýkrát: [Prvé prihlásenie](../first-sign-in/).\n- Vytvor svoje prvé [úložisko](../storages/) a [API token](../api-tokens/).\n- Pripoj svoju aplikáciu: [Prehľad REST API](../../reference/rest-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNs2Hj60f","url":"https://totaljs.es/docs/openfiles/1-0/guides/install-source/","project":"openfiles","version":"1-0","section":"guides","language":"en","title":"Install from source","summary":"Install OpenFiles with Node.js and start it on your computer or server.","markdown":"---\ntitle: Install from source\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/guides/install-source/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Install from source\n\n> Install OpenFiles with Node.js and start it on your computer or server.\n\nYou need [Node.js](https://nodejs.org) (a current LTS release) and Git.\n\n## Install and start\n\n**1.** Get the code and open its folder:\n\n```bash\ngit clone https://github.com/totaljs/openfiles.git\ncd openfiles\n```\n\n**2.** Install the dependencies (once):\n\n```bash\nnpm install\n```\n\n**3.** Start OpenFiles:\n\n```bash\nnpm start\n```\n\n**4.** Open `http://localhost:8000/` in your browser and sign in. See [First sign-in](../first-sign-in/).\n\nOpenFiles keeps running until you stop it with Ctrl+C in the terminal.\n\n## Use another port\n\n`npm start` uses port 8000. To use another port, start OpenFiles with Node.js and pass the port:\n\n```bash\nnode index.js 8080\n```\n\n## Where your data is saved\n\nFiles, tokens, settings and the admin account are saved in the `databases` folder inside the OpenFiles folder. See [The data folder](../../reference/data-folder/) and [Back up your data](../backups/).\n\nBefore you open OpenFiles to other people, read [Run in production](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNs2Hj60f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/guides/install-source/","project":"openfiles","version":"1-0","section":"guides","language":"de","title":"Aus dem Quellcode installieren","summary":"Installiere OpenFiles mit Node.js und starte es auf deinem Computer oder Server.","markdown":"---\ntitle: Aus dem Quellcode installieren\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/guides/install-source/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Aus dem Quellcode installieren\n\n> Installiere OpenFiles mit Node.js und starte es auf deinem Computer oder Server.\n\nDu brauchst [Node.js](https://nodejs.org) (eine aktuelle LTS-Version) und Git.\n\n## Installieren und starten\n\n**1.** Hol dir den Code und öffne seinen Ordner:\n\n```bash\ngit clone https://github.com/totaljs/openfiles.git\ncd openfiles\n```\n\n**2.** Installiere die Abhängigkeiten (einmalig):\n\n```bash\nnpm install\n```\n\n**3.** Starte OpenFiles:\n\n```bash\nnpm start\n```\n\n**4.** Öffne `http://localhost:8000/` in deinem Browser und melde dich an. Mehr dazu unter [Erste Anmeldung](../first-sign-in/).\n\nOpenFiles läuft, bis du es im Terminal mit Ctrl+C beendest.\n\n## Einen anderen Port verwenden\n\n`npm start` verwendet Port 8000. Für einen anderen Port startest du OpenFiles mit Node.js und gibst den Port an:\n\n```bash\nnode index.js 8080\n```\n\n## Wo deine Daten gespeichert werden\n\nDateien, Tokens, Einstellungen und das Admin-Konto werden im Ordner `databases` im OpenFiles-Ordner gespeichert. Mehr dazu unter [Der Datenordner](../../reference/data-folder/) und [Deine Daten sichern](../backups/).\n\nBevor du OpenFiles für andere Personen öffnest, lies [Im Produktivbetrieb](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNs2Hj60f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/guides/install-source/","project":"openfiles","version":"1-0","section":"guides","language":"es","title":"Instalar desde el código fuente","summary":"Instala OpenFiles con Node.js e inícialo en tu ordenador o servidor.","markdown":"---\ntitle: \"Instalar desde el código fuente\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/guides/install-source/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Instalar desde el código fuente\n\n> Instala OpenFiles con Node.js e inícialo en tu ordenador o servidor.\n\nNecesitas [Node.js](https://nodejs.org) (una versión LTS actual) y Git.\n\n## Instalar e iniciar\n\n**1.** Descarga el código y abre su carpeta:\n\n```bash\ngit clone https://github.com/totaljs/openfiles.git\ncd openfiles\n```\n\n**2.** Instala las dependencias (una sola vez):\n\n```bash\nnpm install\n```\n\n**3.** Inicia OpenFiles:\n\n```bash\nnpm start\n```\n\n**4.** Abre `http://localhost:8000/` en tu navegador e inicia sesión. Consulta [Primer inicio de sesión](../first-sign-in/).\n\nOpenFiles sigue funcionando hasta que lo detienes con Ctrl+C en el terminal.\n\n## Usar otro puerto\n\n`npm start` usa el puerto 8000. Para usar otro puerto, inicia OpenFiles con Node.js e indica el puerto:\n\n```bash\nnode index.js 8080\n```\n\n## Dónde se guardan tus datos\n\nLos archivos, los tokens, los ajustes y la cuenta de administrador se guardan en la carpeta `databases`, dentro de la carpeta de OpenFiles. Consulta [La carpeta de datos](../../reference/data-folder/) y [Hacer copias de seguridad](../backups/).\n\nAntes de abrir OpenFiles a otras personas, lee [Usar en producción](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNs2Hj60f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/guides/install-source/","project":"openfiles","version":"1-0","section":"guides","language":"fr","title":"Installer depuis les sources","summary":"Installe OpenFiles avec Node.js et démarre-le sur ton ordinateur ou ton serveur.","markdown":"---\ntitle: Installer depuis les sources\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/guides/install-source/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Installer depuis les sources\n\n> Installe OpenFiles avec Node.js et démarre-le sur ton ordinateur ou ton serveur.\n\nIl te faut [Node.js](https://nodejs.org) (une version LTS actuelle) et Git.\n\n## Installer et démarrer\n\n**1.** Récupère le code et ouvre son dossier :\n\n```bash\ngit clone https://github.com/totaljs/openfiles.git\ncd openfiles\n```\n\n**2.** Installe les dépendances (une seule fois) :\n\n```bash\nnpm install\n```\n\n**3.** Démarre OpenFiles :\n\n```bash\nnpm start\n```\n\n**4.** Ouvre `http://localhost:8000/` dans ton navigateur et connecte-toi. Consulte [Première connexion](../first-sign-in/).\n\nOpenFiles continue de tourner jusqu’à ce que tu l’arrêtes avec Ctrl+C dans le terminal.\n\n## Utiliser un autre port\n\n`npm start` utilise le port 8000. Pour utiliser un autre port, démarre OpenFiles avec Node.js et indique le port :\n\n```bash\nnode index.js 8080\n```\n\n## Où tes données sont enregistrées\n\nLes fichiers, les jetons, les réglages et le compte administrateur sont enregistrés dans le dossier `databases`, dans le dossier d’OpenFiles. Consulte [Le dossier de données](../../reference/data-folder/) et [Sauvegarder tes données](../backups/).\n\nAvant d’ouvrir OpenFiles à d’autres personnes, lis [Mettre en production](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNs2Hj60f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/guides/install-source/","project":"openfiles","version":"1-0","section":"guides","language":"it","title":"Installare dal codice sorgente","summary":"Installa OpenFiles con Node.js e avvialo sul tuo computer o server.","markdown":"---\ntitle: Installare dal codice sorgente\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/guides/install-source/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Installare dal codice sorgente\n\n> Installa OpenFiles con Node.js e avvialo sul tuo computer o server.\n\nTi servono [Node.js](https://nodejs.org) (una versione LTS attuale) e Git.\n\n## Installare e avviare\n\n**1.** Scarica il codice e apri la sua cartella:\n\n```bash\ngit clone https://github.com/totaljs/openfiles.git\ncd openfiles\n```\n\n**2.** Installa le dipendenze (una sola volta):\n\n```bash\nnpm install\n```\n\n**3.** Avvia OpenFiles:\n\n```bash\nnpm start\n```\n\n**4.** Apri `http://localhost:8000/` nel browser e accedi. Leggi [Primo accesso](../first-sign-in/).\n\nOpenFiles resta in funzione finché non lo fermi con Ctrl+C nel terminale.\n\n## Usare un'altra porta\n\n`npm start` usa la porta 8000. Per usare un'altra porta, avvia OpenFiles con Node.js e indica la porta:\n\n```bash\nnode index.js 8080\n```\n\n## Dove vengono salvati i tuoi dati\n\nFile, token, impostazioni e l'account amministratore vengono salvati nella cartella `databases` dentro la cartella di OpenFiles. Leggi [La cartella dei dati](../../reference/data-folder/) e [Fare il backup dei dati](../backups/).\n\nPrima di aprire OpenFiles ad altre persone, leggi [Usare in produzione](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNs2Hj60f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/guides/install-source/","project":"openfiles","version":"1-0","section":"guides","language":"sk","title":"Inštalácia zo zdrojového kódu","summary":"Nainštaluj OpenFiles s Node.js a spusti ho na svojom počítači alebo serveri.","markdown":"---\ntitle: \"Inštalácia zo zdrojového kódu\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/guides/install-source/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Inštalácia zo zdrojového kódu\n\n> Nainštaluj OpenFiles s Node.js a spusti ho na svojom počítači alebo serveri.\n\nPotrebuješ [Node.js](https://nodejs.org) (aktuálne vydanie LTS) a Git.\n\n## Inštalácia a spustenie\n\n**1.** Stiahni kód a otvor jeho priečinok:\n\n```bash\ngit clone https://github.com/totaljs/openfiles.git\ncd openfiles\n```\n\n**2.** Nainštaluj závislosti (stačí raz):\n\n```bash\nnpm install\n```\n\n**3.** Spusti OpenFiles:\n\n```bash\nnpm start\n```\n\n**4.** Otvor v prehliadači `http://localhost:8000/` a prihlás sa. Pozri si [Prvé prihlásenie](../first-sign-in/).\n\nOpenFiles beží, kým ho v termináli nezastavíš klávesmi Ctrl+C.\n\n## Iný port\n\n`npm start` používa port 8000. Ak chceš iný port, spusti OpenFiles cez Node.js a zadaj port:\n\n```bash\nnode index.js 8080\n```\n\n## Kam sa ukladajú tvoje dáta\n\nSúbory, tokeny, nastavenia a administrátorský účet sa ukladajú do priečinka `databases` v priečinku OpenFiles. Pozri si [Priečinok s dátami](../../reference/data-folder/) a [Zálohuj svoje dáta](../backups/).\n\nSkôr ako OpenFiles sprístupníš iným ľuďom, prečítaj si [Prevádzka v produkcii](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNr2Fj60f","url":"https://totaljs.es/docs/openfiles/1-0/guides/install-docker/","project":"openfiles","version":"1-0","section":"guides","language":"en","title":"Install with Docker","summary":"Build a Docker image from the OpenFiles code and run it with your data in a volume.","markdown":"---\ntitle: Install with Docker\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/guides/install-docker/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Install with Docker\n\n> Build a Docker image from the OpenFiles code and run it with your data in a volume.\n\nThe repository has a `Dockerfile`. You build the image yourself and run it with a volume, so your data survives when you recreate the container.\n\n## Build and run\n\n**1.** Get the code and open its folder:\n\n```bash\ngit clone https://github.com/totaljs/openfiles.git\ncd openfiles\n```\n\n**2.** Build the image:\n\n```bash\ndocker build -t openfiles .\n```\n\n**3.** Start a container. OpenFiles listens on port 8000 inside the container, and the volume `openfiles` keeps the data:\n\n```bash\ndocker run -d --name openfiles -p 8000:8000 -v openfiles:/www openfiles\n```\n\n**4.** Open `http://localhost:8000/`. The sign-in page shows the first-start account. See [First sign-in](../first-sign-in/).\n\n## Where the data lives\n\nInside the container the app runs from `/www/.src/`, and the data is in `/www/.src/databases/`. Both are inside the `openfiles` volume. When you remove the container and start a new one with the same volume, your storages, files, API tokens and account are still there.\n\nTo see what is in the data folder:\n\n```bash\ndocker exec openfiles ls /www/.src/databases\n```\n\nSee [The data folder](../../reference/data-folder/).\n\n## Stop and start\n\n```bash\ndocker stop openfiles\ndocker start openfiles\n```\n\nBefore you open OpenFiles to other people, read [Run in production](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNr2Fj60f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/guides/install-docker/","project":"openfiles","version":"1-0","section":"guides","language":"de","title":"Mit Docker installieren","summary":"Baue ein Docker-Image aus dem Code von OpenFiles und führe es mit deinen Daten in einem Volume aus.","markdown":"---\ntitle: Mit Docker installieren\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/guides/install-docker/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Mit Docker installieren\n\n> Baue ein Docker-Image aus dem Code von OpenFiles und führe es mit deinen Daten in einem Volume aus.\n\nDas Repository enthält ein `Dockerfile`. Du baust das Image selbst und startest es mit einem Volume, damit deine Daten erhalten bleiben, wenn du den Container neu erstellst.\n\n## Bauen und starten\n\n**1.** Hol dir den Code und öffne seinen Ordner:\n\n```bash\ngit clone https://github.com/totaljs/openfiles.git\ncd openfiles\n```\n\n**2.** Baue das Image:\n\n```bash\ndocker build -t openfiles .\n```\n\n**3.** Starte einen Container. OpenFiles lauscht im Container auf Port 8000, und das Volume `openfiles` behält die Daten:\n\n```bash\ndocker run -d --name openfiles -p 8000:8000 -v openfiles:/www openfiles\n```\n\n**4.** Öffne `http://localhost:8000/`. Die Anmeldeseite zeigt das Startkonto. Mehr dazu unter [Erste Anmeldung](../first-sign-in/).\n\n## Wo die Daten liegen\n\nIm Container läuft die App aus `/www/.src/`, und die Daten liegen in `/www/.src/databases/`. Beides befindet sich im Volume `openfiles`. Wenn du den Container entfernst und mit demselben Volume einen neuen startest, sind deine Speicher, Dateien, API-Tokens und dein Konto noch da.\n\nSo siehst du, was im Datenordner liegt:\n\n```bash\ndocker exec openfiles ls /www/.src/databases\n```\n\nMehr dazu unter [Der Datenordner](../../reference/data-folder/).\n\n## Beenden und starten\n\n```bash\ndocker stop openfiles\ndocker start openfiles\n```\n\nBevor du OpenFiles für andere Personen öffnest, lies [Im Produktivbetrieb](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNr2Fj60f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/guides/install-docker/","project":"openfiles","version":"1-0","section":"guides","language":"es","title":"Instalar con Docker","summary":"Construye una imagen de Docker a partir del código de OpenFiles y ejecútala con tus datos en un volumen.","markdown":"---\ntitle: Instalar con Docker\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/guides/install-docker/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Instalar con Docker\n\n> Construye una imagen de Docker a partir del código de OpenFiles y ejecútala con tus datos en un volumen.\n\nEl repositorio tiene un `Dockerfile`. Construyes la imagen tú y la ejecutas con un volumen, para que tus datos sigan ahí cuando vuelvas a crear el contenedor.\n\n## Construir y ejecutar\n\n**1.** Descarga el código y abre su carpeta:\n\n```bash\ngit clone https://github.com/totaljs/openfiles.git\ncd openfiles\n```\n\n**2.** Construye la imagen:\n\n```bash\ndocker build -t openfiles .\n```\n\n**3.** Inicia un contenedor. OpenFiles escucha en el puerto 8000 dentro del contenedor, y el volumen `openfiles` guarda los datos:\n\n```bash\ndocker run -d --name openfiles -p 8000:8000 -v openfiles:/www openfiles\n```\n\n**4.** Abre `http://localhost:8000/`. La página de inicio de sesión muestra la cuenta de primer arranque. Consulta [Primer inicio de sesión](../first-sign-in/).\n\n## Dónde están los datos\n\nDentro del contenedor, la app se ejecuta desde `/www/.src/` y los datos están en `/www/.src/databases/`. Las dos carpetas están dentro del volumen `openfiles`. Si eliminas el contenedor e inicias uno nuevo con el mismo volumen, tus almacenes, archivos, tokens de API y cuenta siguen ahí.\n\nPara ver qué hay en la carpeta de datos:\n\n```bash\ndocker exec openfiles ls /www/.src/databases\n```\n\nConsulta [La carpeta de datos](../../reference/data-folder/).\n\n## Detener e iniciar\n\n```bash\ndocker stop openfiles\ndocker start openfiles\n```\n\nAntes de abrir OpenFiles a otras personas, lee [Usar en producción](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNr2Fj60f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/guides/install-docker/","project":"openfiles","version":"1-0","section":"guides","language":"fr","title":"Installer avec Docker","summary":"Construis une image Docker à partir du code d’OpenFiles et lance-la avec tes données dans un volume.","markdown":"---\ntitle: Installer avec Docker\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/guides/install-docker/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Installer avec Docker\n\n> Construis une image Docker à partir du code d’OpenFiles et lance-la avec tes données dans un volume.\n\nLe dépôt contient un `Dockerfile`. Tu construis l’image toi-même et tu la lances avec un volume, pour que tes données survivent quand tu recrées le conteneur.\n\n## Construire et lancer\n\n**1.** Récupère le code et ouvre son dossier :\n\n```bash\ngit clone https://github.com/totaljs/openfiles.git\ncd openfiles\n```\n\n**2.** Construis l’image :\n\n```bash\ndocker build -t openfiles .\n```\n\n**3.** Démarre un conteneur. OpenFiles écoute sur le port 8000 dans le conteneur, et le volume `openfiles` garde les données :\n\n```bash\ndocker run -d --name openfiles -p 8000:8000 -v openfiles:/www openfiles\n```\n\n**4.** Ouvre `http://localhost:8000/`. La page de connexion affiche le compte du premier démarrage. Consulte [Première connexion](../first-sign-in/).\n\n## Où sont les données\n\nDans le conteneur, l’application tourne depuis `/www/.src/`, et les données sont dans `/www/.src/databases/`. Les deux se trouvent dans le volume `openfiles`. Quand tu supprimes le conteneur et en démarres un nouveau avec le même volume, tes stockages, fichiers, jetons d’API et ton compte sont toujours là.\n\nPour voir le contenu du dossier de données :\n\n```bash\ndocker exec openfiles ls /www/.src/databases\n```\n\nConsulte [Le dossier de données](../../reference/data-folder/).\n\n## Arrêter et démarrer\n\n```bash\ndocker stop openfiles\ndocker start openfiles\n```\n\nAvant d’ouvrir OpenFiles à d’autres personnes, lis [Mettre en production](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNr2Fj60f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/guides/install-docker/","project":"openfiles","version":"1-0","section":"guides","language":"it","title":"Installare con Docker","summary":"Crea un'immagine Docker dal codice di OpenFiles ed eseguila con i tuoi dati in un volume.","markdown":"---\ntitle: Installare con Docker\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/guides/install-docker/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Installare con Docker\n\n> Crea un'immagine Docker dal codice di OpenFiles ed eseguila con i tuoi dati in un volume.\n\nIl repository ha un `Dockerfile`. Crei tu l'immagine e la esegui con un volume, così i tuoi dati restano quando ricrei il container.\n\n## Creare ed eseguire\n\n**1.** Scarica il codice e apri la sua cartella:\n\n```bash\ngit clone https://github.com/totaljs/openfiles.git\ncd openfiles\n```\n\n**2.** Crea l'immagine:\n\n```bash\ndocker build -t openfiles .\n```\n\n**3.** Avvia un container. OpenFiles ascolta sulla porta 8000 dentro il container e il volume `openfiles` conserva i dati:\n\n```bash\ndocker run -d --name openfiles -p 8000:8000 -v openfiles:/www openfiles\n```\n\n**4.** Apri `http://localhost:8000/`. La pagina di accesso mostra l'account di primo avvio. Leggi [Primo accesso](../first-sign-in/).\n\n## Dove si trovano i dati\n\nDentro il container l'app gira da `/www/.src/` e i dati sono in `/www/.src/databases/`. Entrambi si trovano nel volume `openfiles`. Quando rimuovi il container e ne avvii uno nuovo con lo stesso volume, i tuoi storage, file, token API e account sono ancora lì.\n\nPer vedere cosa c'è nella cartella dei dati:\n\n```bash\ndocker exec openfiles ls /www/.src/databases\n```\n\nLeggi [La cartella dei dati](../../reference/data-folder/).\n\n## Fermare e avviare\n\n```bash\ndocker stop openfiles\ndocker start openfiles\n```\n\nPrima di aprire OpenFiles ad altre persone, leggi [Usare in produzione](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNr2Fj60f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/guides/install-docker/","project":"openfiles","version":"1-0","section":"guides","language":"sk","title":"Inštalácia s Dockerom","summary":"Zostav Docker image z kódu OpenFiles a spusti ho s dátami vo zväzku.","markdown":"---\ntitle: \"Inštalácia s Dockerom\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/guides/install-docker/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Inštalácia s Dockerom\n\n> Zostav Docker image z kódu OpenFiles a spusti ho s dátami vo zväzku.\n\nRepozitár obsahuje `Dockerfile`. Image si zostavíš sám a spustíš ho so zväzkom (volume), takže tvoje dáta prežijú, aj keď kontajner vytvoríš znova.\n\n## Zostavenie a spustenie\n\n**1.** Stiahni kód a otvor jeho priečinok:\n\n```bash\ngit clone https://github.com/totaljs/openfiles.git\ncd openfiles\n```\n\n**2.** Zostav image:\n\n```bash\ndocker build -t openfiles .\n```\n\n**3.** Spusti kontajner. OpenFiles v kontajneri počúva na porte 8000 a zväzok `openfiles` uchováva dáta:\n\n```bash\ndocker run -d --name openfiles -p 8000:8000 -v openfiles:/www openfiles\n```\n\n**4.** Otvor `http://localhost:8000/`. Prihlasovacia stránka ukazuje účet z prvého spustenia. Pozri si [Prvé prihlásenie](../first-sign-in/).\n\n## Kde sú dáta\n\nV kontajneri aplikácia beží z `/www/.src/` a dáta sú v `/www/.src/databases/`. Oboje je vo zväzku `openfiles`. Keď kontajner odstrániš a spustíš nový s tým istým zväzkom, tvoje úložiská, súbory, API tokeny a účet tam stále sú.\n\nAk chceš vidieť, čo je v priečinku s dátami:\n\n```bash\ndocker exec openfiles ls /www/.src/databases\n```\n\nPozri si [Priečinok s dátami](../../reference/data-folder/).\n\n## Zastavenie a spustenie\n\n```bash\ndocker stop openfiles\ndocker start openfiles\n```\n\nSkôr ako OpenFiles sprístupníš iným ľuďom, prečítaj si [Prevádzka v produkcii](../production/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNp2Dj60f","url":"https://totaljs.es/docs/openfiles/1-0/guides/first-sign-in/","project":"openfiles","version":"1-0","section":"guides","language":"en","title":"First sign-in","summary":"Sign in with the first-start account and replace it with your own credentials.","markdown":"---\ntitle: First sign-in\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/guides/first-sign-in/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# First sign-in\n\n> Sign in with the first-start account and replace it with your own credentials.\n\nOn its first start, OpenFiles creates one admin account with a random user name and a random password. You sign in with it and then change it.\n\n## Sign in\n\n**1.** Open OpenFiles in your browser, for example `http://localhost:8000/`.\n\n**2.** Until the first sign-in, the sign-in page shows a **Default account** box with the **User name** and **Password**. Select **Fill in the form** to copy them into the form.\n\n**3.** Select **Sign in**.\n\nAfter the first sign-in the **Default account** box is gone for good. The page then only shows the form:\n\n![The OpenFiles sign-in form](/files/JapUNo2Cj61f.webp)\n\nYour session lasts one month in that browser.\n\n## Change the first credentials\n\nAnyone who opens the sign-in page before you can read the first-start password. Change it right away: open the account menu at the top right, select **Change credentials** and set your own name, login and password. See [Your account](../account/).\n\n## What you see next\n\nAfter you sign in, OpenFiles opens **File Storage**. The menu on the left has three pages:\n\n- **File Storage**: your [storages](../storages/) and their [files](../browse-files/).\n- **API Tokens**: the [tokens](../api-tokens/) your apps use to upload.\n- **Settings**: the [app name](../settings/).\n\nIf you lose the password, see [Sign-in questions](../../faq/sign-in/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNp2Dj60f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/guides/first-sign-in/","project":"openfiles","version":"1-0","section":"guides","language":"de","title":"Erste Anmeldung","summary":"Melde dich mit dem Startkonto an und ersetze es durch deine eigenen Zugangsdaten.","markdown":"---\ntitle: Erste Anmeldung\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/guides/first-sign-in/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Erste Anmeldung\n\n> Melde dich mit dem Startkonto an und ersetze es durch deine eigenen Zugangsdaten.\n\nBeim ersten Start erstellt OpenFiles ein Admin-Konto mit einem zufälligen Benutzernamen und einem zufälligen Passwort. Du meldest dich damit an und änderst es dann.\n\n## Anmelden\n\n**1.** Öffne OpenFiles in deinem Browser, zum Beispiel `http://localhost:8000/`.\n\n**2.** Bis zur ersten Anmeldung zeigt die Anmeldeseite ein Feld **Default account** (Standardkonto) mit **User name** und **Password**. Wähle **Fill in the form**, um sie ins Formular zu übernehmen.\n\n**3.** Wähle **Sign in**.\n\nNach der ersten Anmeldung ist das Feld **Default account** für immer verschwunden. Die Seite zeigt dann nur noch das Formular:\n\n![Das Anmeldeformular von OpenFiles](/files/JapUNo2Cj61f.webp)\n\nDeine Sitzung dauert in diesem Browser einen Monat.\n\n## Die ersten Zugangsdaten ändern\n\nWer die Anmeldeseite vor dir öffnet, kann das Startpasswort lesen. Ändere es sofort: Öffne das Kontomenü oben rechts, wähle **Change credentials** und lege deinen eigenen Namen, Login und dein Passwort fest. Mehr dazu unter [Dein Konto](../account/).\n\n## Was du als Nächstes siehst\n\nNach der Anmeldung öffnet OpenFiles **File Storage**. Das Menü links hat drei Seiten:\n\n- **File Storage**: deine [Speicher](../storages/) und ihre [Dateien](../browse-files/).\n- **API Tokens**: die [Tokens](../api-tokens/), mit denen deine Apps hochladen.\n- **Settings**: der [App-Name](../settings/).\n\nWenn du das Passwort verlierst, schau unter [Fragen zur Anmeldung](../../faq/sign-in/) nach.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNp2Dj60f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/guides/first-sign-in/","project":"openfiles","version":"1-0","section":"guides","language":"es","title":"Primer inicio de sesión","summary":"Inicia sesión con la cuenta de primer arranque y cámbiala por tus propias credenciales.","markdown":"---\ntitle: \"Primer inicio de sesión\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/guides/first-sign-in/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Primer inicio de sesión\n\n> Inicia sesión con la cuenta de primer arranque y cámbiala por tus propias credenciales.\n\nEn su primer arranque, OpenFiles crea una cuenta de administrador con un nombre de usuario y una contraseña aleatorios. Inicias sesión con ella y luego la cambias.\n\n## Iniciar sesión\n\n**1.** Abre OpenFiles en tu navegador, por ejemplo `http://localhost:8000/`.\n\n**2.** Hasta el primer inicio de sesión, la página muestra un recuadro **Default account** (cuenta predeterminada) con el **User name** y la **Password**. Selecciona **Fill in the form** para copiarlos en el formulario.\n\n**3.** Selecciona **Sign in** (iniciar sesión).\n\nTras el primer inicio de sesión, el recuadro **Default account** desaparece para siempre. Desde entonces la página solo muestra el formulario:\n\n![El formulario de inicio de sesión de OpenFiles](/files/JapUNo2Cj61f.webp)\n\nTu sesión dura un mes en ese navegador.\n\n## Cambiar las primeras credenciales\n\nCualquiera que abra la página de inicio de sesión antes que tú puede leer la contraseña de primer arranque. Cámbiala enseguida: abre el menú de la cuenta arriba a la derecha, selecciona **Change credentials** y pon tu propio nombre, usuario y contraseña. Consulta [Tu cuenta](../account/).\n\n## Lo que ves después\n\nCuando inicias sesión, OpenFiles abre **File Storage**. El menú de la izquierda tiene tres páginas:\n\n- **File Storage**: tus [almacenes](../storages/) y sus [archivos](../browse-files/).\n- **API Tokens**: los [tokens](../api-tokens/) que usan tus apps para subir archivos.\n- **Settings**: el [nombre de la app](../settings/).\n\nSi pierdes la contraseña, consulta [Preguntas sobre el inicio de sesión](../../faq/sign-in/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNp2Dj60f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/guides/first-sign-in/","project":"openfiles","version":"1-0","section":"guides","language":"fr","title":"Première connexion","summary":"Connecte-toi avec le compte du premier démarrage et remplace-le par tes propres identifiants.","markdown":"---\ntitle: \"Première connexion\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/guides/first-sign-in/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Première connexion\n\n> Connecte-toi avec le compte du premier démarrage et remplace-le par tes propres identifiants.\n\nÀ son premier démarrage, OpenFiles crée un compte administrateur avec un nom d’utilisateur et un mot de passe aléatoires. Tu te connectes avec, puis tu le changes.\n\n## Se connecter\n\n**1.** Ouvre OpenFiles dans ton navigateur, par exemple `http://localhost:8000/`.\n\n**2.** Jusqu’à la première connexion, la page de connexion affiche un encadré **Default account** (compte par défaut) avec le **User name** et le **Password**. Sélectionne **Fill in the form** (remplir le formulaire) pour les copier dans le formulaire.\n\n**3.** Sélectionne **Sign in** (se connecter).\n\nAprès la première connexion, l’encadré **Default account** disparaît pour de bon. La page n’affiche alors que le formulaire :\n\n![Le formulaire de connexion d’OpenFiles](/files/JapUNo2Cj61f.webp)\n\nTa session dure un mois dans ce navigateur.\n\n## Changer les premiers identifiants\n\nToute personne qui ouvre la page de connexion avant toi peut lire le mot de passe du premier démarrage. Change-le tout de suite : ouvre le menu du compte en haut à droite, sélectionne **Change credentials** et choisis ton propre nom, ton identifiant et ton mot de passe. Consulte [Ton compte](../account/).\n\n## Ce que tu vois ensuite\n\nUne fois connecté, OpenFiles ouvre **File Storage**. Le menu de gauche contient trois pages :\n\n- **File Storage** : tes [stockages](../storages/) et leurs [fichiers](../browse-files/).\n- **API Tokens** : les [jetons](../api-tokens/) que tes applications utilisent pour envoyer des fichiers.\n- **Settings** : le [nom de l’application](../settings/).\n\nSi tu perds le mot de passe, consulte [Questions sur la connexion](../../faq/sign-in/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNp2Dj60f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/guides/first-sign-in/","project":"openfiles","version":"1-0","section":"guides","language":"it","title":"Primo accesso","summary":"Accedi con l'account di primo avvio e sostituiscilo con le tue credenziali.","markdown":"---\ntitle: Primo accesso\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/guides/first-sign-in/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Primo accesso\n\n> Accedi con l'account di primo avvio e sostituiscilo con le tue credenziali.\n\nAl primo avvio, OpenFiles crea un account amministratore con un nome utente e una password casuali. Accedi con questo account e poi lo cambi.\n\n## Accedere\n\n**1.** Apri OpenFiles nel browser, per esempio `http://localhost:8000/`.\n\n**2.** Fino al primo accesso, la pagina di accesso mostra un riquadro **Default account** con **User name** e **Password**. Seleziona **Fill in the form** per copiarli nel modulo.\n\n**3.** Seleziona **Sign in**.\n\nDopo il primo accesso il riquadro **Default account** sparisce per sempre. La pagina mostra poi solo il modulo:\n\n![Il modulo di accesso di OpenFiles](/files/JapUNo2Cj61f.webp)\n\nLa tua sessione dura un mese in quel browser.\n\n## Cambiare le prime credenziali\n\nChiunque apra la pagina di accesso prima di te può leggere la password di primo avvio. Cambiala subito: apri il menu dell'account in alto a destra, seleziona **Change credentials** e imposta il tuo nome, login e password. Leggi [Il tuo account](../account/).\n\n## Cosa vedi dopo\n\nDopo l'accesso, OpenFiles apre **File Storage**. Il menu a sinistra ha tre pagine:\n\n- **File Storage**: i tuoi [storage](../storages/) e i loro [file](../browse-files/).\n- **API Tokens**: i [token](../api-tokens/) che le tue app usano per caricare.\n- **Settings**: il [nome dell'app](../settings/).\n\nSe perdi la password, leggi [Domande sull'accesso](../../faq/sign-in/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNp2Dj60f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/guides/first-sign-in/","project":"openfiles","version":"1-0","section":"guides","language":"sk","title":"Prvé prihlásenie","summary":"Prihlás sa účtom z prvého spustenia a nahraď ho vlastnými prihlasovacími údajmi.","markdown":"---\ntitle: \"Prvé prihlásenie\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/guides/first-sign-in/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Prvé prihlásenie\n\n> Prihlás sa účtom z prvého spustenia a nahraď ho vlastnými prihlasovacími údajmi.\n\nPri prvom spustení OpenFiles vytvorí jeden administrátorský účet s náhodným používateľským menom a náhodným heslom. Prihlásiš sa ním a potom ho zmeníš.\n\n## Prihlásenie\n\n**1.** Otvor OpenFiles v prehliadači, napríklad `http://localhost:8000/`.\n\n**2.** Až do prvého prihlásenia ukazuje prihlasovacia stránka rámček **Default account** (predvolený účet) s položkami **User name** a **Password**. Vyber **Fill in the form** a skopírujú sa do formulára.\n\n**3.** Vyber **Sign in**.\n\nPo prvom prihlásení rámček **Default account** natrvalo zmizne. Stránka potom ukazuje už len formulár:\n\n![Prihlasovací formulár OpenFiles](/files/JapUNo2Cj61f.webp)\n\nTvoja relácia v tom prehliadači trvá jeden mesiac.\n\n## Zmena prvých prihlasovacích údajov\n\nKtokoľvek, kto otvorí prihlasovaciu stránku pred tebou, si môže prečítať heslo z prvého spustenia. Zmeň ho hneď: otvor ponuku účtu vpravo hore, vyber **Change credentials** a nastav si vlastné meno, prihlasovacie meno a heslo. Pozri si [Tvoj účet](../account/).\n\n## Čo uvidíš potom\n\nPo prihlásení OpenFiles otvorí **File Storage**. Ponuka vľavo má tri stránky:\n\n- **File Storage**: tvoje [úložiská](../storages/) a ich [súbory](../browse-files/).\n- **API Tokens**: [tokeny](../api-tokens/), ktorými tvoje aplikácie nahrávajú.\n- **Settings**: [názov aplikácie](../settings/).\n\nAk stratíš heslo, pozri si [Otázky k prihlasovaniu](../../faq/sign-in/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUOA2Yj61f","url":"https://totaljs.es/docs/openfiles/1-0/guides/storages/","project":"openfiles","version":"1-0","section":"guides","language":"en","title":"Storages","summary":"Create a storage for a group of files and drop a storage you no longer need.","markdown":"---\ntitle: Storages\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/guides/storages/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Storages\n\n> Create a storage for a group of files and drop a storage you no longer need.\n\nA storage is a named folder of files, for example `photos` or `documents`. Each file belongs to one storage, the storage name is part of every file link, and API tokens get permission per storage.\n\n**File Storage** shows one card per storage:\n\n![File Storage with the storages documents and photos](/files/JapUO52Vj60f.webp)\n\n## Create a storage\n\n**1.** Open **File Storage** and select **Create** at the top right.\n\n**2.** Type a name and select **OK**.\n\n![The Storage name dialog](/files/JapUO72Wj61f.webp)\n\n**3.** OpenFiles turns the name into lowercase letters and digits only: spaces, hyphens and accents are removed. It shows the final name. Select **Confirm** to create the storage.\n\n![The confirmation with the final storage name invoices2026](/files/JapUO82Xj60f.webp)\n\nChoose a short name: your apps use it in every upload address, for example `/upload/photos/`.\n\n## Open a storage\n\nSelect a storage card to open its files. See [Browse files](../browse-files/).\n\n## Drop a storage\n\nDropping a storage deletes it with all its files. Links to those files stop working, and you cannot undo it.\n\n**1.** Select the red remove icon on the storage card.\n\n**2.** Confirm with **Remove**.\n\nSelect **Refresh** to load the list again after your apps create files.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOA2Yj61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/guides/storages/","project":"openfiles","version":"1-0","section":"guides","language":"de","title":"Speicher","summary":"Erstelle einen Speicher für eine Gruppe von Dateien und lösche einen Speicher, den du nicht mehr brauchst.","markdown":"---\ntitle: Speicher\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/guides/storages/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Speicher\n\n> Erstelle einen Speicher für eine Gruppe von Dateien und lösche einen Speicher, den du nicht mehr brauchst.\n\nEin Speicher ist ein benannter Ordner für Dateien, zum Beispiel `photos` oder `documents`. Jede Datei gehört zu genau einem Speicher, der Name des Speichers ist Teil jedes Dateilinks, und API-Tokens bekommen ihre Berechtigungen pro Speicher.\n\n**File Storage** zeigt eine Karte pro Speicher:\n\n![File Storage mit den Speichern documents und photos](/files/JapUO52Vj60f.webp)\n\n## Einen Speicher erstellen\n\n**1.** Öffne **File Storage** und wähle oben rechts **Create** (Erstellen).\n\n**2.** Gib einen Namen ein und wähle **OK**.\n\n![Der Dialog Storage name](/files/JapUO72Wj61f.webp)\n\n**3.** OpenFiles wandelt den Namen in Kleinbuchstaben und Ziffern um: Leerzeichen, Bindestriche und Akzente werden entfernt. Es zeigt dir den endgültigen Namen. Wähle **Confirm**, um den Speicher zu erstellen.\n\n![Die Bestätigung mit dem endgültigen Speichernamen invoices2026](/files/JapUO82Xj60f.webp)\n\nWähle einen kurzen Namen: Deine Apps verwenden ihn in jeder Upload-Adresse, zum Beispiel `/upload/photos/`.\n\n## Einen Speicher öffnen\n\nWähle eine Speicherkarte, um ihre Dateien zu öffnen. Mehr dazu unter [Dateien durchsuchen](../browse-files/).\n\n## Einen Speicher löschen\n\nWenn du einen Speicher löschst, wird er mit allen seinen Dateien gelöscht. Links zu diesen Dateien funktionieren nicht mehr, und du kannst das nicht rückgängig machen.\n\n**1.** Wähle das rote Entfernen-Symbol auf der Speicherkarte.\n\n**2.** Bestätige mit **Remove**.\n\nWähle **Refresh**, um die Liste neu zu laden, nachdem deine Apps Dateien erstellt haben.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOA2Yj61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/guides/storages/","project":"openfiles","version":"1-0","section":"guides","language":"es","title":"Almacenes","summary":"Crea un almacén para un grupo de archivos y elimina un almacén que ya no necesitas.","markdown":"---\ntitle: Almacenes\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/guides/storages/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Almacenes\n\n> Crea un almacén para un grupo de archivos y elimina un almacén que ya no necesitas.\n\nUn almacén es una carpeta de archivos con nombre, por ejemplo `photos` o `documents`. Cada archivo pertenece a un almacén, el nombre del almacén forma parte de cada enlace de archivo y los tokens de API reciben permisos por almacén.\n\n**File Storage** muestra una tarjeta por almacén:\n\n![File Storage con los almacenes documents y photos](/files/JapUO52Vj60f.webp)\n\n## Crear un almacén\n\n**1.** Abre **File Storage** y selecciona **Create** (crear) arriba a la derecha.\n\n**2.** Escribe un nombre y selecciona **OK**.\n\n![El diálogo Storage name](/files/JapUO72Wj61f.webp)\n\n**3.** OpenFiles convierte el nombre a solo letras minúsculas y dígitos: quita los espacios, los guiones y los acentos. Te muestra el nombre final. Selecciona **Confirm** (confirmar) para crear el almacén.\n\n![La confirmación con el nombre final del almacén, invoices2026](/files/JapUO82Xj60f.webp)\n\nElige un nombre corto: tus apps lo usan en cada dirección de subida, por ejemplo `/upload/photos/`.\n\n## Abrir un almacén\n\nSelecciona la tarjeta de un almacén para abrir sus archivos. Consulta [Explorar los archivos](../browse-files/).\n\n## Eliminar un almacén\n\nAl eliminar un almacén se borra con todos sus archivos. Los enlaces a esos archivos dejan de funcionar, y no puedes deshacerlo.\n\n**1.** Selecciona el icono rojo de eliminar en la tarjeta del almacén.\n\n**2.** Confirma con **Remove** (eliminar).\n\nSelecciona **Refresh** (actualizar) para volver a cargar la lista después de que tus apps creen archivos.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOA2Yj61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/guides/storages/","project":"openfiles","version":"1-0","section":"guides","language":"fr","title":"Stockages","summary":"Crée un stockage pour un groupe de fichiers et supprime un stockage dont tu n’as plus besoin.","markdown":"---\ntitle: Stockages\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/guides/storages/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Stockages\n\n> Crée un stockage pour un groupe de fichiers et supprime un stockage dont tu n’as plus besoin.\n\nUn stockage est un dossier de fichiers qui porte un nom, par exemple `photos` ou `documents`. Chaque fichier appartient à un stockage, le nom du stockage fait partie de chaque lien de fichier, et les jetons d’API reçoivent leurs permissions stockage par stockage.\n\n**File Storage** affiche une carte par stockage :\n\n![File Storage avec les stockages documents et photos](/files/JapUO52Vj60f.webp)\n\n## Créer un stockage\n\n**1.** Ouvre **File Storage** et sélectionne **Create** en haut à droite.\n\n**2.** Tape un nom et sélectionne **OK**.\n\n![La boîte de dialogue Storage name](/files/JapUO72Wj61f.webp)\n\n**3.** OpenFiles réduit le nom à des lettres minuscules et des chiffres : les espaces, les tirets et les accents sont retirés. Il affiche le nom final. Sélectionne **Confirm** pour créer le stockage.\n\n![La confirmation avec le nom final du stockage, invoices2026](/files/JapUO82Xj60f.webp)\n\nChoisis un nom court : tes applications l’utilisent dans chaque adresse d’envoi, par exemple `/upload/photos/`.\n\n## Ouvrir un stockage\n\nSélectionne une carte de stockage pour ouvrir ses fichiers. Consulte [Parcourir les fichiers](../browse-files/).\n\n## Supprimer un stockage\n\nSupprimer un stockage l’efface avec tous ses fichiers. Les liens vers ces fichiers cessent de fonctionner, et tu ne peux pas annuler.\n\n**1.** Sélectionne l’icône rouge de suppression sur la carte du stockage.\n\n**2.** Confirme avec **Remove**.\n\nSélectionne **Refresh** pour recharger la liste après que tes applications ont créé des fichiers.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOA2Yj61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/guides/storages/","project":"openfiles","version":"1-0","section":"guides","language":"it","title":"Storage","summary":"Crea uno storage per un gruppo di file ed elimina uno storage che non ti serve più.","markdown":"---\ntitle: Storage\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/guides/storages/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Storage\n\n> Crea uno storage per un gruppo di file ed elimina uno storage che non ti serve più.\n\nUno storage è una cartella di file con un nome, per esempio `photos` o `documents`. Ogni file appartiene a un solo storage, il nome dello storage fa parte di ogni link dei file e i token API ricevono i permessi per storage.\n\n**File Storage** mostra una scheda per ogni storage:\n\n![File Storage con gli storage documents e photos](/files/JapUO52Vj60f.webp)\n\n## Creare uno storage\n\n**1.** Apri **File Storage** e seleziona **Create** in alto a destra.\n\n**2.** Scrivi un nome e seleziona **OK**.\n\n![La finestra Storage name](/files/JapUO72Wj61f.webp)\n\n**3.** OpenFiles trasforma il nome in sole lettere minuscole e cifre: spazi, trattini e accenti vengono rimossi. Ti mostra il nome finale. Seleziona **Confirm** per creare lo storage.\n\n![La conferma con il nome finale dello storage invoices2026](/files/JapUO82Xj60f.webp)\n\nScegli un nome breve: le tue app lo usano in ogni indirizzo di caricamento, per esempio `/upload/photos/`.\n\n## Aprire uno storage\n\nSeleziona la scheda di uno storage per aprire i suoi file. Leggi [Sfogliare i file](../browse-files/).\n\n## Eliminare uno storage\n\nEliminare uno storage lo cancella con tutti i suoi file. I link a quei file smettono di funzionare e non puoi annullare l'operazione.\n\n**1.** Seleziona l'icona rossa di rimozione sulla scheda dello storage.\n\n**2.** Conferma con **Remove**.\n\nSeleziona **Refresh** per ricaricare l'elenco dopo che le tue app hanno creato dei file.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOA2Yj61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/guides/storages/","project":"openfiles","version":"1-0","section":"guides","language":"sk","title":"Úložiská","summary":"Vytvor úložisko pre skupinu súborov a zruš úložisko, ktoré už nepotrebuješ.","markdown":"---\ntitle: \"Úložiská\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/guides/storages/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Úložiská\n\n> Vytvor úložisko pre skupinu súborov a zruš úložisko, ktoré už nepotrebuješ.\n\nÚložisko je pomenovaný priečinok so súbormi, napríklad `photos` alebo `documents`. Každý súbor patrí do jedného úložiska, názov úložiska je súčasťou každého odkazu na súbor a API tokeny dostávajú oprávnenia pre jednotlivé úložiská.\n\n**File Storage** zobrazuje pre každé úložisko jednu kartu:\n\n![File Storage s úložiskami documents a photos](/files/JapUO52Vj60f.webp)\n\n## Vytvorenie úložiska\n\n**1.** Otvor **File Storage** a vpravo hore vyber **Create** (vytvoriť).\n\n**2.** Napíš názov a vyber **OK**.\n\n![Dialóg Storage name](/files/JapUO72Wj61f.webp)\n\n**3.** OpenFiles zmení názov tak, aby obsahoval len malé písmená a číslice: medzery, pomlčky a diakritika sa odstránia. Ukáže ti výsledný názov. Úložisko vytvoríš tlačidlom **Confirm**.\n\n![Potvrdenie s výsledným názvom úložiska invoices2026](/files/JapUO82Xj60f.webp)\n\nZvoľ krátky názov: tvoje aplikácie ho používajú v každej adrese na nahrávanie, napríklad `/upload/photos/`.\n\n## Otvorenie úložiska\n\nVyber kartu úložiska a otvoria sa jeho súbory. Pozri si [Prehliadanie súborov](../browse-files/).\n\n## Zrušenie úložiska\n\nZrušením úložiska ho vymažeš so všetkými jeho súbormi. Odkazy na tieto súbory prestanú fungovať a vrátiť sa to nedá.\n\n**1.** Na karte úložiska vyber červenú ikonu na odstránenie.\n\n**2.** Potvrď tlačidlom **Remove**.\n\nKeď tvoje aplikácie vytvoria súbory, vyber **Refresh** a zoznam sa znova načíta.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUNm2Aj61f","url":"https://totaljs.es/docs/openfiles/1-0/guides/browse-files/","project":"openfiles","version":"1-0","section":"guides","language":"en","title":"Browse files","summary":"Open a storage, find files with filters and sorting, and open or share a file.","markdown":"---\ntitle: Browse files\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/guides/browse-files/\nupdated: 2026-11-19T07:45:42.533Z\n---\n\n# Browse files\n\n> Open a storage, find files with filters and sorting, and open or share a file.\n\nSelect a storage card in **File Storage** to open **List of files**. It shows the files of that storage, newest first.\n\n![List of files in the photos storage](/files/JapUNl29j60f.webp)\n\n| Column | What it shows |\n|---|---|\n| **Name** | The file name. |\n| **Dimension** | Width x height in pixels, for images. |\n| **Size** | The file size. |\n| **Uploaded** | The date and time of the upload. |\n| **Options** | **Show**, rename and remove. |\n\n## Find files\n\n- Type in the **Filter** field under **Name** to narrow the list. For example, `forest` keeps the files whose name contains \"forest\".\n- Select a column header with arrows (**Name**, **Size**, **Uploaded**) to sort by it. Select it again to reverse the order.\n- Long lists are split into pages. Use the arrows at the bottom to move between them.\n\nSelect **Refresh** to load files your apps uploaded while the list was open.\n\n## Open a file\n\nSelect **Show** to open the file in a new browser tab. The address of that tab is the public link of the file: you can share it, and anyone who has it can open the file without signing in. See [File links](../../reference/file-links/).\n\nTo change or delete files, see [Rename and remove files](../rename-remove-files/).\n\nFiles reach a storage through the REST API. See [Upload files](../../reference/upload/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.533Z"}
{"id":"JapUNm2Aj61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/guides/browse-files/","project":"openfiles","version":"1-0","section":"guides","language":"de","title":"Dateien durchsuchen","summary":"Öffne einen Speicher, finde Dateien mit Filtern und Sortierung, und öffne oder teile eine Datei.","markdown":"---\ntitle: Dateien durchsuchen\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/guides/browse-files/\nupdated: 2026-11-19T07:45:42.533Z\n---\n\n# Dateien durchsuchen\n\n> Öffne einen Speicher, finde Dateien mit Filtern und Sortierung, und öffne oder teile eine Datei.\n\nWähle eine Speicherkarte in **File Storage**, um **List of files** (Dateiliste) zu öffnen. Sie zeigt die Dateien dieses Speichers, die neuesten zuerst.\n\n![List of files im Speicher photos](/files/JapUNl29j60f.webp)\n\n| Spalte | Was sie zeigt |\n|---|---|\n| **Name** | Der Dateiname. |\n| **Dimension** | Breite x Höhe in Pixeln, bei Bildern. |\n| **Size** | Die Dateigröße. |\n| **Uploaded** | Datum und Uhrzeit des Uploads. |\n| **Options** | **Show**, umbenennen und entfernen. |\n\n## Dateien finden\n\n- Tippe in das Feld **Filter** unter **Name**, um die Liste einzugrenzen. Zum Beispiel behält `forest` die Dateien, deren Name \"forest\" enthält.\n- Wähle eine Spaltenüberschrift mit Pfeilen (**Name**, **Size**, **Uploaded**), um danach zu sortieren. Wähle sie noch einmal, um die Reihenfolge umzukehren.\n- Lange Listen werden auf Seiten aufgeteilt. Mit den Pfeilen unten wechselst du zwischen ihnen.\n\nWähle **Refresh** (Aktualisieren), um Dateien zu laden, die deine Apps hochgeladen haben, während die Liste offen war.\n\n## Eine Datei öffnen\n\nWähle **Show**, um die Datei in einem neuen Browser-Tab zu öffnen. Die Adresse dieses Tabs ist der öffentliche Link der Datei: Du kannst ihn teilen, und wer ihn hat, kann die Datei ohne Anmeldung öffnen. Mehr dazu unter [Dateilinks](../../reference/file-links/).\n\nWie du Dateien änderst oder löschst, steht unter [Dateien umbenennen und entfernen](../rename-remove-files/).\n\nDateien gelangen über die REST API in einen Speicher. Mehr dazu unter [Dateien hochladen](../../reference/upload/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.533Z"}
{"id":"JapUNm2Aj61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/guides/browse-files/","project":"openfiles","version":"1-0","section":"guides","language":"es","title":"Explorar los archivos","summary":"Abre un almacén, encuentra archivos con filtros y ordenación, y abre o comparte un archivo.","markdown":"---\ntitle: Explorar los archivos\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/guides/browse-files/\nupdated: 2026-11-19T07:45:42.533Z\n---\n\n# Explorar los archivos\n\n> Abre un almacén, encuentra archivos con filtros y ordenación, y abre o comparte un archivo.\n\nSelecciona la tarjeta de un almacén en **File Storage** para abrir **List of files** (lista de archivos). Muestra los archivos de ese almacén, los más nuevos primero.\n\n![List of files en el almacén photos](/files/JapUNl29j60f.webp)\n\n| Columna | Qué muestra |\n|---|---|\n| **Name** | El nombre del archivo. |\n| **Dimension** | Ancho x alto en píxeles, en las imágenes. |\n| **Size** | El tamaño del archivo. |\n| **Uploaded** | La fecha y la hora de la subida. |\n| **Options** | **Show**, renombrar y eliminar. |\n\n## Encontrar archivos\n\n- Escribe en el campo **Filter** bajo **Name** para acotar la lista. Por ejemplo, `forest` deja los archivos cuyo nombre contiene \"forest\".\n- Selecciona la cabecera de una columna con flechas (**Name**, **Size**, **Uploaded**) para ordenar por ella. Selecciónala otra vez para invertir el orden.\n- Las listas largas se dividen en páginas. Usa las flechas de abajo para moverte entre ellas.\n\nSelecciona **Refresh** (actualizar) para cargar los archivos que tus apps subieron mientras la lista estaba abierta.\n\n## Abrir un archivo\n\nSelecciona **Show** (mostrar) para abrir el archivo en una pestaña nueva del navegador. La dirección de esa pestaña es el enlace público del archivo: puedes compartirlo, y cualquiera que lo tenga puede abrir el archivo sin iniciar sesión. Consulta [Enlaces de archivos](../../reference/file-links/).\n\nPara cambiar o borrar archivos, consulta [Renombrar y eliminar archivos](../rename-remove-files/).\n\nLos archivos llegan a un almacén a través de la API REST. Consulta [Subir archivos](../../reference/upload/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.533Z"}
{"id":"JapUNm2Aj61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/guides/browse-files/","project":"openfiles","version":"1-0","section":"guides","language":"fr","title":"Parcourir les fichiers","summary":"Ouvre un stockage, trouve des fichiers avec les filtres et le tri, et ouvre ou partage un fichier.","markdown":"---\ntitle: Parcourir les fichiers\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/guides/browse-files/\nupdated: 2026-11-19T07:45:42.533Z\n---\n\n# Parcourir les fichiers\n\n> Ouvre un stockage, trouve des fichiers avec les filtres et le tri, et ouvre ou partage un fichier.\n\nSélectionne une carte de stockage dans **File Storage** pour ouvrir **List of files** (liste des fichiers). Elle affiche les fichiers de ce stockage, les plus récents en premier.\n\n![List of files dans le stockage photos](/files/JapUNl29j60f.webp)\n\n| Colonne | Ce qu’elle affiche |\n|---|---|\n| **Name** | Le nom du fichier. |\n| **Dimension** | Largeur x hauteur en pixels, pour les images. |\n| **Size** | La taille du fichier. |\n| **Uploaded** | La date et l’heure de l’envoi. |\n| **Options** | **Show**, renommer et supprimer. |\n\n## Trouver des fichiers\n\n- Tape dans le champ **Filter** sous **Name** pour réduire la liste. Par exemple, `forest` garde les fichiers dont le nom contient « forest ».\n- Sélectionne un en-tête de colonne avec des flèches (**Name**, **Size**, **Uploaded**) pour trier selon cette colonne. Sélectionne-le de nouveau pour inverser l’ordre.\n- Les longues listes sont découpées en pages. Utilise les flèches en bas pour passer de l’une à l’autre.\n\nSélectionne **Refresh** pour charger les fichiers que tes applications ont envoyés pendant que la liste était ouverte.\n\n## Ouvrir un fichier\n\nSélectionne **Show** pour ouvrir le fichier dans un nouvel onglet du navigateur. L’adresse de cet onglet est le lien public du fichier : tu peux la partager, et toute personne qui l’a peut ouvrir le fichier sans se connecter. Consulte [Liens des fichiers](../../reference/file-links/).\n\nPour modifier ou supprimer des fichiers, consulte [Renommer et supprimer des fichiers](../rename-remove-files/).\n\nLes fichiers arrivent dans un stockage par l’API REST. Consulte [Envoyer des fichiers](../../reference/upload/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.533Z"}
{"id":"JapUNm2Aj61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/guides/browse-files/","project":"openfiles","version":"1-0","section":"guides","language":"it","title":"Sfogliare i file","summary":"Apri uno storage, trova i file con filtri e ordinamento, e apri o condividi un file.","markdown":"---\ntitle: Sfogliare i file\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/guides/browse-files/\nupdated: 2026-11-19T07:45:42.533Z\n---\n\n# Sfogliare i file\n\n> Apri uno storage, trova i file con filtri e ordinamento, e apri o condividi un file.\n\nSeleziona la scheda di uno storage in **File Storage** per aprire **List of files** (elenco dei file). Mostra i file di quello storage, dal più recente.\n\n![List of files nello storage photos](/files/JapUNl29j60f.webp)\n\n| Colonna | Cosa mostra |\n|---|---|\n| **Name** | Il nome del file. |\n| **Dimension** | Larghezza x altezza in pixel, per le immagini. |\n| **Size** | La dimensione del file. |\n| **Uploaded** | La data e l'ora del caricamento. |\n| **Options** | **Show**, rinomina e rimuovi. |\n\n## Trovare i file\n\n- Scrivi nel campo **Filter** sotto **Name** per restringere l'elenco. Per esempio, `forest` lascia i file il cui nome contiene \"forest\".\n- Seleziona l'intestazione di una colonna con le frecce (**Name**, **Size**, **Uploaded**) per ordinare in base a quella. Selezionala di nuovo per invertire l'ordine.\n- Gli elenchi lunghi sono divisi in pagine. Usa le frecce in basso per spostarti tra le pagine.\n\nSeleziona **Refresh** per caricare i file che le tue app hanno caricato mentre l'elenco era aperto.\n\n## Aprire un file\n\nSeleziona **Show** per aprire il file in una nuova scheda del browser. L'indirizzo di quella scheda è il link pubblico del file: puoi condividerlo e chiunque lo abbia può aprire il file senza accedere. Leggi [Link dei file](../../reference/file-links/).\n\nPer modificare o eliminare i file, leggi [Rinominare e rimuovere file](../rename-remove-files/).\n\nI file arrivano in uno storage tramite la REST API. Leggi [Caricare file](../../reference/upload/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.533Z"}
{"id":"JapUNm2Aj61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/guides/browse-files/","project":"openfiles","version":"1-0","section":"guides","language":"sk","title":"Prehliadanie súborov","summary":"Otvor úložisko, nájdi súbory pomocou filtrov a triedenia a otvor alebo zdieľaj súbor.","markdown":"---\ntitle: \"Prehliadanie súborov\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/guides/browse-files/\nupdated: 2026-11-19T07:45:42.533Z\n---\n\n# Prehliadanie súborov\n\n> Otvor úložisko, nájdi súbory pomocou filtrov a triedenia a otvor alebo zdieľaj súbor.\n\nV **File Storage** vyber kartu úložiska a otvorí sa **List of files** (zoznam súborov). Zobrazuje súbory daného úložiska, najnovšie navrchu.\n\n![List of files v úložisku photos](/files/JapUNl29j60f.webp)\n\n| Stĺpec | Čo zobrazuje |\n|---|---|\n| **Name** | Názov súboru. |\n| **Dimension** | Šírka x výška v pixeloch, pri obrázkoch. |\n| **Size** | Veľkosť súboru. |\n| **Uploaded** | Dátum a čas nahrania. |\n| **Options** | **Show**, premenovanie a odstránenie. |\n\n## Hľadanie súborov\n\n- Píš do poľa **Filter** pod **Name** a zoznam sa zúži. Napríklad `forest` ponechá súbory, ktorých názov obsahuje „forest“.\n- Vyber hlavičku stĺpca so šípkami (**Name**, **Size**, **Uploaded**) a zoznam sa podľa nej zoradí. Opätovným výberom poradie otočíš.\n- Dlhé zoznamy sú rozdelené na stránky. Medzi nimi sa presúvaš šípkami dole.\n\nVyber **Refresh** (obnoviť) a načítajú sa súbory, ktoré tvoje aplikácie nahrali, kým bol zoznam otvorený.\n\n## Otvorenie súboru\n\nVyber **Show** a súbor sa otvorí na novej karte prehliadača. Adresa tejto karty je verejný odkaz na súbor: môžeš ho zdieľať a ktokoľvek, kto ho má, súbor otvorí bez prihlásenia. Pozri si [Odkazy na súbory](../../reference/file-links/).\n\nAko súbory meniť alebo mazať, nájdeš v [Premenovanie a odstránenie súborov](../rename-remove-files/).\n\nSúbory sa do úložiska dostanú cez REST API. Pozri si [Nahrávanie súborov](../../reference/upload/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.533Z"}
{"id":"JapUO02Qj61f","url":"https://totaljs.es/docs/openfiles/1-0/guides/rename-remove-files/","project":"openfiles","version":"1-0","section":"guides","language":"en","title":"Rename and remove files","summary":"Change the name of a file or delete it from a storage.","markdown":"---\ntitle: Rename and remove files\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/guides/rename-remove-files/\nupdated: 2026-11-19T07:45:43.914Z\n---\n\n# Rename and remove files\n\n> Change the name of a file or delete it from a storage.\n\nYou rename and remove files in **List of files**, with the buttons in the **Options** column.\n\n## Rename a file\n\n**1.** Select the pencil button of the file.\n\n**2.** Type the new name and select **OK**.\n\n![The Rename file dialog](/files/JapUNz2Pj60f.webp)\n\nThe new name is what people get when they download the file. The link of the file does not change, so the apps that use it keep working.\n\n## Remove a file\n\n**1.** Select the red remove button of the file.\n\n**2.** Confirm with **Remove**.\n\nThe file is deleted and its link answers `404`. You cannot undo it.\n\nTo delete a whole storage with all its files, see [Storages](../storages/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:43.914Z"}
{"id":"JapUO02Qj61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/guides/rename-remove-files/","project":"openfiles","version":"1-0","section":"guides","language":"de","title":"Dateien umbenennen und entfernen","summary":"Ändere den Namen einer Datei oder lösche sie aus einem Speicher.","markdown":"---\ntitle: Dateien umbenennen und entfernen\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/guides/rename-remove-files/\nupdated: 2026-11-19T07:45:43.914Z\n---\n\n# Dateien umbenennen und entfernen\n\n> Ändere den Namen einer Datei oder lösche sie aus einem Speicher.\n\nDu benennst Dateien in **List of files** um und entfernst sie dort, mit den Buttons in der Spalte **Options**.\n\n## Eine Datei umbenennen\n\n**1.** Wähle den Stift-Button der Datei.\n\n**2.** Gib den neuen Namen ein und wähle **OK**.\n\n![Der Dialog Rename file](/files/JapUNz2Pj60f.webp)\n\nDen neuen Namen bekommen Personen, wenn sie die Datei herunterladen. Der Link der Datei ändert sich nicht, die Apps, die ihn verwenden, funktionieren also weiter.\n\n## Eine Datei entfernen\n\n**1.** Wähle den roten Entfernen-Button der Datei.\n\n**2.** Bestätige mit **Remove**.\n\nDie Datei wird gelöscht, und ihr Link antwortet mit `404`. Du kannst das nicht rückgängig machen.\n\nWie du einen ganzen Speicher mit allen Dateien löschst, steht unter [Speicher](../storages/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:43.914Z"}
{"id":"JapUO02Qj61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/guides/rename-remove-files/","project":"openfiles","version":"1-0","section":"guides","language":"es","title":"Renombrar y eliminar archivos","summary":"Cambia el nombre de un archivo o bórralo de un almacén.","markdown":"---\ntitle: Renombrar y eliminar archivos\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/guides/rename-remove-files/\nupdated: 2026-11-19T07:45:43.914Z\n---\n\n# Renombrar y eliminar archivos\n\n> Cambia el nombre de un archivo o bórralo de un almacén.\n\nRenombras y eliminas archivos en **List of files**, con los botones de la columna **Options**.\n\n## Renombrar un archivo\n\n**1.** Selecciona el botón del lápiz del archivo.\n\n**2.** Escribe el nombre nuevo y selecciona **OK**.\n\n![El diálogo Rename file](/files/JapUNz2Pj60f.webp)\n\nEl nombre nuevo es el que recibe la gente cuando descarga el archivo. El enlace del archivo no cambia, así que las apps que lo usan siguen funcionando.\n\n## Eliminar un archivo\n\n**1.** Selecciona el botón rojo de eliminar del archivo.\n\n**2.** Confirma con **Remove** (eliminar).\n\nEl archivo se borra y su enlace responde `404`. No puedes deshacerlo.\n\nPara borrar un almacén entero con todos sus archivos, consulta [Almacenes](../storages/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:43.914Z"}
{"id":"JapUO02Qj61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/guides/rename-remove-files/","project":"openfiles","version":"1-0","section":"guides","language":"fr","title":"Renommer et supprimer des fichiers","summary":"Change le nom d’un fichier ou supprime-le d’un stockage.","markdown":"---\ntitle: Renommer et supprimer des fichiers\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/guides/rename-remove-files/\nupdated: 2026-11-19T07:45:43.914Z\n---\n\n# Renommer et supprimer des fichiers\n\n> Change le nom d’un fichier ou supprime-le d’un stockage.\n\nTu renommes et supprimes des fichiers dans **List of files**, avec les boutons de la colonne **Options**.\n\n## Renommer un fichier\n\n**1.** Sélectionne le bouton crayon du fichier.\n\n**2.** Tape le nouveau nom et sélectionne **OK**.\n\n![La boîte de dialogue Rename file](/files/JapUNz2Pj60f.webp)\n\nLe nouveau nom est celui que les gens obtiennent quand ils téléchargent le fichier. Le lien du fichier ne change pas, donc les applications qui l’utilisent continuent de fonctionner.\n\n## Supprimer un fichier\n\n**1.** Sélectionne le bouton rouge de suppression du fichier.\n\n**2.** Confirme avec **Remove**.\n\nLe fichier est supprimé et son lien répond `404`. Tu ne peux pas annuler.\n\nPour supprimer un stockage entier avec tous ses fichiers, consulte [Stockages](../storages/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:43.914Z"}
{"id":"JapUO02Qj61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/guides/rename-remove-files/","project":"openfiles","version":"1-0","section":"guides","language":"it","title":"Rinominare e rimuovere file","summary":"Cambia il nome di un file o eliminalo da uno storage.","markdown":"---\ntitle: Rinominare e rimuovere file\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/guides/rename-remove-files/\nupdated: 2026-11-19T07:45:43.914Z\n---\n\n# Rinominare e rimuovere file\n\n> Cambia il nome di un file o eliminalo da uno storage.\n\nRinomini e rimuovi i file in **List of files**, con i pulsanti nella colonna **Options**.\n\n## Rinominare un file\n\n**1.** Seleziona il pulsante con la matita del file.\n\n**2.** Scrivi il nuovo nome e seleziona **OK**.\n\n![La finestra Rename file](/files/JapUNz2Pj60f.webp)\n\nIl nuovo nome è quello che le persone ricevono quando scaricano il file. Il link del file non cambia, quindi le app che lo usano continuano a funzionare.\n\n## Rimuovere un file\n\n**1.** Seleziona il pulsante rosso di rimozione del file.\n\n**2.** Conferma con **Remove**.\n\nIl file viene eliminato e il suo link risponde `404`. Non puoi annullare l'operazione.\n\nPer eliminare un intero storage con tutti i suoi file, leggi [Storage](../storages/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:43.914Z"}
{"id":"JapUO02Qj61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/guides/rename-remove-files/","project":"openfiles","version":"1-0","section":"guides","language":"sk","title":"Premenovanie a odstránenie súborov","summary":"Zmeň názov súboru alebo ho vymaž z úložiska.","markdown":"---\ntitle: \"Premenovanie a odstránenie súborov\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/guides/rename-remove-files/\nupdated: 2026-11-19T07:45:43.914Z\n---\n\n# Premenovanie a odstránenie súborov\n\n> Zmeň názov súboru alebo ho vymaž z úložiska.\n\nSúbory premenuješ a odstrániš v **List of files** tlačidlami v stĺpci **Options**.\n\n## Premenovanie súboru\n\n**1.** Vyber tlačidlo s ceruzkou pri súbore.\n\n**2.** Napíš nový názov a vyber **OK**.\n\n![Dialóg Rename file](/files/JapUNz2Pj60f.webp)\n\nNový názov dostanú ľudia, keď si súbor stiahnu. Odkaz na súbor sa nezmení, takže aplikácie, ktoré ho používajú, fungujú ďalej.\n\n## Odstránenie súboru\n\n**1.** Vyber červené tlačidlo na odstránenie pri súbore.\n\n**2.** Potvrď tlačidlom **Remove**.\n\nSúbor sa vymaže a jeho odkaz odpovedá `404`. Vrátiť sa to nedá.\n\nAko vymazať celé úložisko so všetkými súbormi, nájdeš v [Úložiská](../storages/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:43.914Z"}
{"id":"JapUNh25j60f","url":"https://totaljs.es/docs/openfiles/1-0/guides/api-tokens/","project":"openfiles","version":"1-0","section":"guides","language":"en","title":"API tokens","summary":"Create a token for each app that uploads files, copy it, edit it and remove it.","markdown":"---\ntitle: API tokens\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/guides/api-tokens/\nupdated: 2026-11-19T07:45:42.017Z\n---\n\n# API tokens\n\n> Create a token for each app that uploads files, copy it, edit it and remove it.\n\nYour apps upload files with an API token. Create one token per app, so you can see which app uses OpenFiles and remove one app's access without touching the others.\n\n**API Tokens** shows one card per token, with the time it was last used and its summary:\n\n![API Tokens with the token Demo website](/files/JapUNc22j61f.webp)\n\n## Create a token\n\n**1.** Open **API Tokens** and select **Create**.\n\n**2.** Fill in the form:\n\n- **App name**: the app that will use the token, for example `Demo website`.\n- **Permissions**: what the token may do. For uploads, choose **Upload files** and the storages it may upload to. See [Token permissions](../token-permissions/).\n- **Summary**: a note for you, for example who runs the app.\n\n**3.** Select **SUBMIT**.\n\n## Copy a token\n\nOpen the token again (select its card). The form now starts with the token, hidden as `******`:\n\n![The Update API token form with Copy token and Show token](/files/JapUNe23j60f.webp)\n\n- **Show token** shows it on the screen.\n- **Copy token** copies an upload address with the token to the clipboard, in this form:\n\n```text\nhttp://localhost:8000/upload/{db}/?token=YOUR_TOKEN\n```\n\nReplace `{db}` with the storage name before you use it.\n\nThe menu **...** on a token card has the same **Copy token**, plus **Edit** and **Remove**:\n\n![The token menu with Copy token, Edit and Remove](/files/JapUNg24j61f.webp)\n\nKeep tokens secret. Anyone who has a token can upload with its permissions.\n\n## Edit a token\n\nSelect the card (or **Edit** in its menu), change the fields and select **SUBMIT**. The token itself stays the same, so the app keeps working with the new permissions.\n\n## Remove a token\n\nSelect **Remove** in the token menu and confirm. Then create a new token if the app still needs access.\n\nTo call the API with a token, see [REST API overview](../../reference/rest-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.017Z"}
{"id":"JapUNh25j60f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/guides/api-tokens/","project":"openfiles","version":"1-0","section":"guides","language":"de","title":"API-Tokens","summary":"Erstelle für jede App, die Dateien hochlädt, ein Token, kopiere, bearbeite und entferne es.","markdown":"---\ntitle: API-Tokens\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/guides/api-tokens/\nupdated: 2026-11-19T07:45:42.017Z\n---\n\n# API-Tokens\n\n> Erstelle für jede App, die Dateien hochlädt, ein Token, kopiere, bearbeite und entferne es.\n\nDeine Apps laden Dateien mit einem API-Token hoch. Erstelle ein Token pro App. So siehst du, welche App OpenFiles nutzt, und kannst einer App den Zugriff entziehen, ohne die anderen anzufassen.\n\n**API Tokens** zeigt eine Karte pro Token, mit dem Zeitpunkt der letzten Verwendung und der Zusammenfassung:\n\n![API Tokens mit dem Token Demo website](/files/JapUNc22j61f.webp)\n\n## Ein Token erstellen\n\n**1.** Öffne **API Tokens** und wähle **Create** (Erstellen).\n\n**2.** Füll das Formular aus:\n\n- **App name**: die App, die das Token verwenden wird, zum Beispiel `Demo website`.\n- **Permissions**: was das Token darf. Für Uploads wählst du **Upload files** und die Speicher, in die es hochladen darf. Mehr dazu unter [Token-Berechtigungen](../token-permissions/).\n- **Summary**: eine Notiz für dich, zum Beispiel wer die App betreibt.\n\n**3.** Wähle **SUBMIT**.\n\n## Ein Token kopieren\n\nÖffne das Token noch einmal (wähle seine Karte). Das Formular beginnt jetzt mit dem Token, verborgen als `******`:\n\n![Das Formular Update API token mit Copy token und Show token](/files/JapUNe23j60f.webp)\n\n- **Show token** zeigt es auf dem Bildschirm an.\n- **Copy token** kopiert eine Upload-Adresse mit dem Token in die Zwischenablage, in dieser Form:\n\n```text\nhttp://localhost:8000/upload/{db}/?token=YOUR_TOKEN\n```\n\nErsetze `{db}` durch den Namen des Speichers, bevor du sie verwendest.\n\nDas Menü **...** auf einer Token-Karte hat dasselbe **Copy token**, dazu **Edit** und **Remove**:\n\n![Das Token-Menü mit Copy token, Edit und Remove](/files/JapUNg24j61f.webp)\n\nHalte Tokens geheim. Wer ein Token hat, kann mit seinen Berechtigungen hochladen.\n\n## Ein Token bearbeiten\n\nWähle die Karte (oder **Edit** in ihrem Menü), ändere die Felder und wähle **SUBMIT**. Das Token selbst bleibt gleich, die App funktioniert also mit den neuen Berechtigungen weiter.\n\n## Ein Token entfernen\n\nWähle **Remove** im Token-Menü und bestätige. Erstelle dann ein neues Token, wenn die App weiterhin Zugriff braucht.\n\nWie du die API mit einem Token aufrufst, steht in der [Übersicht der REST API](../../reference/rest-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.017Z"}
{"id":"JapUNh25j60f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/guides/api-tokens/","project":"openfiles","version":"1-0","section":"guides","language":"es","title":"Tokens de API","summary":"Crea un token para cada app que sube archivos, cópialo, edítalo y elimínalo.","markdown":"---\ntitle: Tokens de API\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/guides/api-tokens/\nupdated: 2026-11-19T07:45:42.017Z\n---\n\n# Tokens de API\n\n> Crea un token para cada app que sube archivos, cópialo, edítalo y elimínalo.\n\nTus apps suben archivos con un token de API. Crea un token por app: así ves qué app usa OpenFiles y puedes quitarle el acceso a una app sin tocar las demás.\n\n**API Tokens** muestra una tarjeta por token, con la última vez que se usó y su resumen:\n\n![API Tokens con el token Demo website](/files/JapUNc22j61f.webp)\n\n## Crear un token\n\n**1.** Abre **API Tokens** y selecciona **Create** (crear).\n\n**2.** Rellena el formulario:\n\n- **App name**: la app que usará el token, por ejemplo `Demo website`.\n- **Permissions**: lo que puede hacer el token. Para subir archivos, elige **Upload files** y los almacenes a los que puede subir. Consulta [Permisos de los tokens](../token-permissions/).\n- **Summary**: una nota para ti, por ejemplo quién gestiona la app.\n\n**3.** Selecciona **SUBMIT**.\n\n## Copiar un token\n\nAbre de nuevo el token (selecciona su tarjeta). Ahora el formulario empieza con el token, oculto como `******`:\n\n![El formulario Update API token con Copy token y Show token](/files/JapUNe23j60f.webp)\n\n- **Show token** lo muestra en la pantalla.\n- **Copy token** copia al portapapeles una dirección de subida con el token, de esta forma:\n\n```text\nhttp://localhost:8000/upload/{db}/?token=YOUR_TOKEN\n```\n\nSustituye `{db}` por el nombre del almacén antes de usarla.\n\nEl menú **...** de una tarjeta de token tiene el mismo **Copy token**, además de **Edit** y **Remove**:\n\n![El menú del token con Copy token, Edit y Remove](/files/JapUNg24j61f.webp)\n\nGuarda los tokens en secreto. Cualquiera que tenga un token puede subir archivos con sus permisos.\n\n## Editar un token\n\nSelecciona la tarjeta (o **Edit** en su menú), cambia los campos y selecciona **SUBMIT**. El token en sí no cambia, así que la app sigue funcionando con los nuevos permisos.\n\n## Eliminar un token\n\nSelecciona **Remove** en el menú del token y confirma. Después crea un token nuevo si la app todavía necesita acceso.\n\nPara llamar a la API con un token, consulta [Resumen de la API REST](../../reference/rest-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.017Z"}
{"id":"JapUNh25j60f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/guides/api-tokens/","project":"openfiles","version":"1-0","section":"guides","language":"fr","title":"Jetons d’API","summary":"Crée un jeton pour chaque application qui envoie des fichiers, copie-le, modifie-le et supprime-le.","markdown":"---\ntitle: \"Jetons d’API\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/guides/api-tokens/\nupdated: 2026-11-19T07:45:42.017Z\n---\n\n# Jetons d’API\n\n> Crée un jeton pour chaque application qui envoie des fichiers, copie-le, modifie-le et supprime-le.\n\nTes applications envoient des fichiers avec un jeton d’API. Crée un jeton par application : tu vois ainsi quelle application utilise OpenFiles, et tu peux retirer l’accès d’une application sans toucher aux autres.\n\n**API Tokens** affiche une carte par jeton, avec le moment de sa dernière utilisation et son résumé :\n\n![API Tokens avec le jeton Demo website](/files/JapUNc22j61f.webp)\n\n## Créer un jeton\n\n**1.** Ouvre **API Tokens** et sélectionne **Create** (créer).\n\n**2.** Remplis le formulaire :\n\n- **App name** : l’application qui utilisera le jeton, par exemple `Demo website`.\n- **Permissions** : ce que le jeton a le droit de faire. Pour les envois, choisis **Upload files** et les stockages vers lesquels il peut envoyer. Consulte [Permissions des jetons](../token-permissions/).\n- **Summary** : une note pour toi, par exemple qui gère l’application.\n\n**3.** Sélectionne **SUBMIT**.\n\n## Copier un jeton\n\nOuvre de nouveau le jeton (sélectionne sa carte). Le formulaire commence maintenant par le jeton, masqué sous la forme `******` :\n\n![Le formulaire Update API token avec Copy token et Show token](/files/JapUNe23j60f.webp)\n\n- **Show token** l’affiche à l’écran.\n- **Copy token** copie dans le presse-papiers une adresse d’envoi avec le jeton, sous cette forme :\n\n```text\nhttp://localhost:8000/upload/{db}/?token=YOUR_TOKEN\n```\n\nRemplace `{db}` par le nom du stockage avant de l’utiliser.\n\nLe menu **...** d’une carte de jeton propose le même **Copy token**, ainsi que **Edit** et **Remove** :\n\n![Le menu du jeton avec Copy token, Edit et Remove](/files/JapUNg24j61f.webp)\n\nGarde tes jetons secrets. Toute personne qui a un jeton peut envoyer des fichiers avec ses permissions.\n\n## Modifier un jeton\n\nSélectionne la carte (ou **Edit** dans son menu), modifie les champs et sélectionne **SUBMIT**. Le jeton lui-même ne change pas, donc l’application continue de fonctionner avec les nouvelles permissions.\n\n## Supprimer un jeton\n\nSélectionne **Remove** dans le menu du jeton et confirme. Crée ensuite un nouveau jeton si l’application a encore besoin d’accès.\n\nPour appeler l’API avec un jeton, consulte [Vue d’ensemble de l’API REST](../../reference/rest-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.017Z"}
{"id":"JapUNh25j60f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/guides/api-tokens/","project":"openfiles","version":"1-0","section":"guides","language":"it","title":"Token API","summary":"Crea un token per ogni app che carica file, copialo, modificalo e rimuovilo.","markdown":"---\ntitle: Token API\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/guides/api-tokens/\nupdated: 2026-11-19T07:45:42.017Z\n---\n\n# Token API\n\n> Crea un token per ogni app che carica file, copialo, modificalo e rimuovilo.\n\nLe tue app caricano i file con un token API. Crea un token per ogni app: così vedi quale app usa OpenFiles e puoi togliere l'accesso a un'app senza toccare le altre.\n\n**API Tokens** mostra una scheda per ogni token, con l'ora dell'ultimo utilizzo e la sua nota:\n\n![API Tokens con il token Demo website](/files/JapUNc22j61f.webp)\n\n## Creare un token\n\n**1.** Apri **API Tokens** e seleziona **Create**.\n\n**2.** Compila il modulo:\n\n- **App name**: l'app che userà il token, per esempio `Demo website`.\n- **Permissions**: cosa può fare il token. Per i caricamenti scegli **Upload files** e gli storage in cui può caricare. Leggi [Permessi dei token](../token-permissions/).\n- **Summary**: una nota per te, per esempio chi gestisce l'app.\n\n**3.** Seleziona **SUBMIT**.\n\n## Copiare un token\n\nApri di nuovo il token (seleziona la sua scheda). Ora il modulo inizia con il token, nascosto come `******`:\n\n![Il modulo Update API token con Copy token e Show token](/files/JapUNe23j60f.webp)\n\n- **Show token** lo mostra sullo schermo.\n- **Copy token** copia negli appunti un indirizzo di caricamento con il token, in questa forma:\n\n```text\nhttp://localhost:8000/upload/{db}/?token=YOUR_TOKEN\n```\n\nSostituisci `{db}` con il nome dello storage prima di usarlo.\n\nIl menu **...** di una scheda del token ha lo stesso **Copy token**, più **Edit** e **Remove**:\n\n![Il menu del token con Copy token, Edit e Remove](/files/JapUNg24j61f.webp)\n\nTieni segreti i token. Chiunque abbia un token può caricare con i suoi permessi.\n\n## Modificare un token\n\nSeleziona la scheda (oppure **Edit** nel suo menu), cambia i campi e seleziona **SUBMIT**. Il token in sé resta lo stesso, quindi l'app continua a funzionare con i nuovi permessi.\n\n## Rimuovere un token\n\nSeleziona **Remove** nel menu del token e conferma. Poi crea un nuovo token se l'app ha ancora bisogno di accesso.\n\nPer chiamare l'API con un token, leggi [Panoramica della REST API](../../reference/rest-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.017Z"}
{"id":"JapUNh25j60f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/guides/api-tokens/","project":"openfiles","version":"1-0","section":"guides","language":"sk","title":"API tokeny","summary":"Vytvor token pre každú aplikáciu, ktorá nahráva súbory, skopíruj ho, uprav a odstráň.","markdown":"---\ntitle: API tokeny\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/guides/api-tokens/\nupdated: 2026-11-19T07:45:42.017Z\n---\n\n# API tokeny\n\n> Vytvor token pre každú aplikáciu, ktorá nahráva súbory, skopíruj ho, uprav a odstráň.\n\nTvoje aplikácie nahrávajú súbory pomocou API tokenu. Vytvor jeden token pre každú aplikáciu. Tak uvidíš, ktorá aplikácia OpenFiles používa, a môžeš jednej aplikácii odobrať prístup bez toho, aby si sa dotkol ostatných.\n\n**API Tokens** zobrazuje pre každý token jednu kartu s časom posledného použitia a jeho popisom:\n\n![API Tokens s tokenom Demo website](/files/JapUNc22j61f.webp)\n\n## Vytvorenie tokenu\n\n**1.** Otvor **API Tokens** a vyber **Create** (vytvoriť).\n\n**2.** Vyplň formulár:\n\n- **App name**: aplikácia, ktorá bude token používať, napríklad `Demo website`.\n- **Permissions**: čo token smie robiť. Na nahrávanie zvoľ **Upload files** a úložiská, do ktorých smie nahrávať. Pozri si [Oprávnenia tokenov](../token-permissions/).\n- **Summary**: poznámka pre teba, napríklad kto aplikáciu prevádzkuje.\n\n**3.** Vyber **SUBMIT**.\n\n## Kopírovanie tokenu\n\nZnova otvor token (vyber jeho kartu). Formulár teraz začína tokenom, skrytým ako `******`:\n\n![Formulár Update API token s tlačidlami Copy token a Show token](/files/JapUNe23j60f.webp)\n\n- **Show token** ho zobrazí na obrazovke.\n- **Copy token** skopíruje do schránky adresu na nahrávanie s tokenom v tomto tvare:\n\n```text\nhttp://localhost:8000/upload/{db}/?token=YOUR_TOKEN\n```\n\nPred použitím nahraď `{db}` názvom úložiska.\n\nPonuka **...** na karte tokenu má rovnaké **Copy token** a navyše **Edit** a **Remove**:\n\n![Ponuka tokenu s položkami Copy token, Edit a Remove](/files/JapUNg24j61f.webp)\n\nTokeny drž v tajnosti. Ktokoľvek, kto má token, môže nahrávať s jeho oprávneniami.\n\n## Úprava tokenu\n\nVyber kartu (alebo **Edit** v jej ponuke), zmeň polia a vyber **SUBMIT**. Samotný token zostane rovnaký, takže aplikácia funguje ďalej s novými oprávneniami.\n\n## Odstránenie tokenu\n\nV ponuke tokenu vyber **Remove** (odstrániť) a potvrď. Ak aplikácia ešte potrebuje prístup, vytvor potom nový token.\n\nAko volať API s tokenom, nájdeš v [Prehľade REST API](../../reference/rest-api/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.017Z"}
{"id":"JapUOB2aj61f","url":"https://totaljs.es/docs/openfiles/1-0/guides/token-permissions/","project":"openfiles","version":"1-0","section":"guides","language":"en","title":"Token permissions","summary":"Which permissions a token can have and which combination an upload needs.","markdown":"---\ntitle: Token permissions\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/guides/token-permissions/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Token permissions\n\n> Which permissions a token can have and which combination an upload needs.\n\nThe **Permissions** field of a token has two kinds of entries:\n\n| Entry | Colour | Meaning |\n|---|---|---|\n| **Upload files** | red | The token may upload. |\n| **Remove files** | red | Not used by the upload API. |\n| A storage name, for example **photos** | blue | The storage the token may work with. |\n\nEvery storage you create appears in the list as a blue entry.\n\n## What an upload needs\n\nTo upload to a storage, a token needs **both**:\n\n- **Upload files**, and\n- the name of that storage.\n\nFor example, a token with **Upload files** and **photos** can upload to `/upload/photos/`. The same token gets `Not allowed` when it tries `/upload/documents/`.\n\n| Permissions | `/upload/photos/` | `/upload/documents/` |\n|---|---|---|\n| **Upload files**, **photos** | allowed | `Not allowed` |\n| **Upload files**, **photos**, **documents** | allowed | allowed |\n| **photos** only | `Not allowed` | `Not allowed` |\n\n## Good practice\n\n- Give each app only the storages it needs.\n- Use a separate token for a web page that uploads directly from the browser, because its visitors can read the token. See [Upload from a web page](../../recipes/upload-from-browser/).\n\nSee [Errors and limits](../../reference/errors/) for the answers your app gets.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOB2aj61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/guides/token-permissions/","project":"openfiles","version":"1-0","section":"guides","language":"de","title":"Token-Berechtigungen","summary":"Welche Berechtigungen ein Token haben kann und welche Kombination ein Upload braucht.","markdown":"---\ntitle: Token-Berechtigungen\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/guides/token-permissions/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Token-Berechtigungen\n\n> Welche Berechtigungen ein Token haben kann und welche Kombination ein Upload braucht.\n\nDas Feld **Permissions** (Berechtigungen) eines Tokens hat zwei Arten von Einträgen:\n\n| Eintrag | Farbe | Bedeutung |\n|---|---|---|\n| **Upload files** | rot | Das Token darf hochladen. |\n| **Remove files** | rot | Wird von der Upload-API nicht verwendet. |\n| Ein Speichername, zum Beispiel **photos** | blau | Der Speicher, mit dem das Token arbeiten darf. |\n\nJeder Speicher, den du erstellst, erscheint in der Liste als blauer Eintrag.\n\n## Was ein Upload braucht\n\nUm in einen Speicher hochzuladen, braucht ein Token **beides**:\n\n- **Upload files** und\n- den Namen dieses Speichers.\n\nEin Token mit **Upload files** und **photos** kann zum Beispiel nach `/upload/photos/` hochladen. Dasselbe Token bekommt `Not allowed`, wenn es `/upload/documents/` versucht.\n\n| Berechtigungen | `/upload/photos/` | `/upload/documents/` |\n|---|---|---|\n| **Upload files**, **photos** | erlaubt | `Not allowed` |\n| **Upload files**, **photos**, **documents** | erlaubt | erlaubt |\n| nur **photos** | `Not allowed` | `Not allowed` |\n\n## Gute Praxis\n\n- Gib jeder App nur die Speicher, die sie braucht.\n- Verwende ein eigenes Token für eine Webseite, die direkt aus dem Browser hochlädt, denn ihre Besucher können das Token lesen. Mehr dazu unter [Von einer Webseite hochladen](../../recipes/upload-from-browser/).\n\nWelche Antworten deine App bekommt, steht unter [Fehler und Grenzen](../../reference/errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOB2aj61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/guides/token-permissions/","project":"openfiles","version":"1-0","section":"guides","language":"es","title":"Permisos de los tokens","summary":"Qué permisos puede tener un token y qué combinación necesita una subida.","markdown":"---\ntitle: Permisos de los tokens\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/guides/token-permissions/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Permisos de los tokens\n\n> Qué permisos puede tener un token y qué combinación necesita una subida.\n\nEl campo **Permissions** de un token tiene dos tipos de entradas:\n\n| Entrada | Color | Significado |\n|---|---|---|\n| **Upload files** | rojo | El token puede subir archivos. |\n| **Remove files** | rojo | La API de subida no lo usa. |\n| Un nombre de almacén, por ejemplo **photos** | azul | El almacén con el que puede trabajar el token. |\n\nCada almacén que creas aparece en la lista como una entrada azul.\n\n## Qué necesita una subida\n\nPara subir a un almacén, un token necesita **las dos cosas**:\n\n- **Upload files**, y\n- el nombre de ese almacén.\n\nPor ejemplo, un token con **Upload files** y **photos** puede subir a `/upload/photos/`. El mismo token recibe `Not allowed` cuando lo intenta con `/upload/documents/`.\n\n| Permisos | `/upload/photos/` | `/upload/documents/` |\n|---|---|---|\n| **Upload files**, **photos** | permitido | `Not allowed` |\n| **Upload files**, **photos**, **documents** | permitido | permitido |\n| Solo **photos** | `Not allowed` | `Not allowed` |\n\n## Buenas prácticas\n\n- Da a cada app solo los almacenes que necesita.\n- Usa un token aparte para una página web que sube archivos directamente desde el navegador, porque sus visitantes pueden leer el token. Consulta [Subir desde una página web](../../recipes/upload-from-browser/).\n\nConsulta [Errores y límites](../../reference/errors/) para ver las respuestas que recibe tu app.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOB2aj61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/guides/token-permissions/","project":"openfiles","version":"1-0","section":"guides","language":"fr","title":"Permissions des jetons","summary":"Les permissions qu’un jeton peut avoir et la combinaison dont un envoi a besoin.","markdown":"---\ntitle: Permissions des jetons\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/guides/token-permissions/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Permissions des jetons\n\n> Les permissions qu’un jeton peut avoir et la combinaison dont un envoi a besoin.\n\nLe champ **Permissions** d’un jeton contient deux sortes d’entrées :\n\n| Entrée | Couleur | Signification |\n|---|---|---|\n| **Upload files** | rouge | Le jeton peut envoyer des fichiers. |\n| **Remove files** | rouge | Non utilisée par l’API d’envoi. |\n| Un nom de stockage, par exemple **photos** | bleu | Le stockage avec lequel le jeton peut travailler. |\n\nChaque stockage que tu crées apparaît dans la liste comme une entrée bleue.\n\n## Ce dont un envoi a besoin\n\nPour envoyer vers un stockage, un jeton a besoin des **deux** :\n\n- **Upload files**, et\n- le nom de ce stockage.\n\nPar exemple, un jeton avec **Upload files** et **photos** peut envoyer vers `/upload/photos/`. Le même jeton reçoit `Not allowed` quand il essaie `/upload/documents/`.\n\n| Permissions | `/upload/photos/` | `/upload/documents/` |\n|---|---|---|\n| **Upload files**, **photos** | autorisé | `Not allowed` |\n| **Upload files**, **photos**, **documents** | autorisé | autorisé |\n| **photos** seulement | `Not allowed` | `Not allowed` |\n\n## Bonnes pratiques\n\n- Ne donne à chaque application que les stockages dont elle a besoin.\n- Utilise un jeton à part pour une page web qui envoie des fichiers directement depuis le navigateur, car ses visiteurs peuvent lire le jeton. Consulte [Envoyer depuis une page web](../../recipes/upload-from-browser/).\n\nConsulte [Erreurs et limites](../../reference/errors/) pour les réponses que reçoit ton application.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOB2aj61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/guides/token-permissions/","project":"openfiles","version":"1-0","section":"guides","language":"it","title":"Permessi dei token","summary":"Quali permessi può avere un token e quale combinazione serve per un caricamento.","markdown":"---\ntitle: Permessi dei token\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/guides/token-permissions/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Permessi dei token\n\n> Quali permessi può avere un token e quale combinazione serve per un caricamento.\n\nIl campo **Permissions** di un token ha due tipi di voci:\n\n| Voce | Colore | Significato |\n|---|---|---|\n| **Upload files** | rosso | Il token può caricare. |\n| **Remove files** | rosso | Non usato dall'API di caricamento. |\n| Il nome di uno storage, per esempio **photos** | blu | Lo storage con cui il token può lavorare. |\n\nOgni storage che crei compare nell'elenco come voce blu.\n\n## Cosa serve per un caricamento\n\nPer caricare in uno storage, un token ha bisogno di **entrambi**:\n\n- **Upload files**, e\n- il nome di quello storage.\n\nPer esempio, un token con **Upload files** e **photos** può caricare in `/upload/photos/`. Lo stesso token riceve `Not allowed` quando prova `/upload/documents/`.\n\n| Permessi | `/upload/photos/` | `/upload/documents/` |\n|---|---|---|\n| **Upload files**, **photos** | consentito | `Not allowed` |\n| **Upload files**, **photos**, **documents** | consentito | consentito |\n| solo **photos** | `Not allowed` | `Not allowed` |\n\n## Buone pratiche\n\n- Dai a ogni app solo gli storage che le servono.\n- Usa un token separato per una pagina web che carica direttamente dal browser, perché i suoi visitatori possono leggere il token. Leggi [Caricare da una pagina web](../../recipes/upload-from-browser/).\n\nLeggi [Errori e limiti](../../reference/errors/) per le risposte che riceve la tua app.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOB2aj61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/guides/token-permissions/","project":"openfiles","version":"1-0","section":"guides","language":"sk","title":"Oprávnenia tokenov","summary":"Aké oprávnenia môže mať token a akú kombináciu potrebuje nahrávanie.","markdown":"---\ntitle: \"Oprávnenia tokenov\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/guides/token-permissions/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Oprávnenia tokenov\n\n> Aké oprávnenia môže mať token a akú kombináciu potrebuje nahrávanie.\n\nPole **Permissions** tokenu má dva druhy položiek:\n\n| Položka | Farba | Význam |\n|---|---|---|\n| **Upload files** | červená | Token smie nahrávať. |\n| **Remove files** | červená | API na nahrávanie ho nepoužíva. |\n| Názov úložiska, napríklad **photos** | modrá | Úložisko, s ktorým token smie pracovať. |\n\nKaždé úložisko, ktoré vytvoríš, sa v zozname objaví ako modrá položka.\n\n## Čo potrebuje nahrávanie\n\nAk má token nahrávať do úložiska, potrebuje **obe**:\n\n- **Upload files** a\n- názov tohto úložiska.\n\nNapríklad token s **Upload files** a **photos** môže nahrávať do `/upload/photos/`. Ten istý token dostane `Not allowed`, keď skúsi `/upload/documents/`.\n\n| Oprávnenia | `/upload/photos/` | `/upload/documents/` |\n|---|---|---|\n| **Upload files**, **photos** | povolené | `Not allowed` |\n| **Upload files**, **photos**, **documents** | povolené | povolené |\n| len **photos** | `Not allowed` | `Not allowed` |\n\n## Dobrá prax\n\n- Daj každej aplikácii len úložiská, ktoré potrebuje.\n- Pre webovú stránku, ktorá nahráva priamo z prehliadača, použi samostatný token, pretože jej návštevníci si token môžu prečítať. Pozri si [Nahrávanie z webovej stránky](../../recipes/upload-from-browser/).\n\nAké odpovede tvoja aplikácia dostane, nájdeš v [Chyby a limity](../../reference/errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUNa20j61f","url":"https://totaljs.es/docs/openfiles/1-0/guides/account/","project":"openfiles","version":"1-0","section":"guides","language":"en","title":"Your account","summary":"Change your name, login and password, and sign out.","markdown":"---\ntitle: Your account\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/guides/account/\nupdated: 2026-11-19T07:45:41.330Z\n---\n\n# Your account\n\n> Change your name, login and password, and sign out.\n\nOpenFiles has one admin account. Its menu is the round button at the top right of every page:\n\n![The account menu with Change credentials and Logout](/files/JapUNX1yj61f.webp)\n\n## Change credentials\n\n**1.** Open the account menu and select **Change credentials**.\n\n**2.** Change the fields:\n\n- **Name**: the name OpenFiles shows for you.\n- **Login**: the user name you sign in with.\n- **Password**: a new password. Leave it empty to keep the current one.\n\n![The Change credentials form](/files/JapUNZ1zj60f.webp)\n\n**3.** Select **SUBMIT**.\n\nIf you changed the **Login**, all other open sessions are closed and your own session stays open.\n\n## Sign out\n\nOpen the account menu and select **Logout**. You see the sign-in page again.\n\nIf you forget your password, see [Sign-in questions](../../faq/sign-in/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:41.330Z"}
{"id":"JapUNa20j61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/guides/account/","project":"openfiles","version":"1-0","section":"guides","language":"de","title":"Dein Konto","summary":"Ändere deinen Namen, Login und dein Passwort, und melde dich ab.","markdown":"---\ntitle: Dein Konto\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/guides/account/\nupdated: 2026-11-19T07:45:41.330Z\n---\n\n# Dein Konto\n\n> Ändere deinen Namen, Login und dein Passwort, und melde dich ab.\n\nOpenFiles hat ein einziges Admin-Konto. Sein Menü ist der runde Button oben rechts auf jeder Seite:\n\n![Das Kontomenü mit Change credentials und Logout](/files/JapUNX1yj61f.webp)\n\n## Zugangsdaten ändern\n\n**1.** Öffne das Kontomenü und wähle **Change credentials** (Zugangsdaten ändern).\n\n**2.** Ändere die Felder:\n\n- **Name**: der Name, den OpenFiles für dich anzeigt.\n- **Login**: der Benutzername, mit dem du dich anmeldest.\n- **Password**: ein neues Passwort. Lass es leer, um das aktuelle zu behalten.\n\n![Das Formular Change credentials](/files/JapUNZ1zj60f.webp)\n\n**3.** Wähle **SUBMIT**.\n\nWenn du den **Login** geändert hast, werden alle anderen offenen Sitzungen beendet, und deine eigene Sitzung bleibt offen.\n\n## Abmelden\n\nÖffne das Kontomenü und wähle **Logout**. Du siehst wieder die Anmeldeseite.\n\nWenn du dein Passwort vergisst, schau unter [Fragen zur Anmeldung](../../faq/sign-in/) nach.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:41.330Z"}
{"id":"JapUNa20j61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/guides/account/","project":"openfiles","version":"1-0","section":"guides","language":"es","title":"Tu cuenta","summary":"Cambia tu nombre, tu usuario y tu contraseña, y cierra la sesión.","markdown":"---\ntitle: Tu cuenta\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/guides/account/\nupdated: 2026-11-19T07:45:41.330Z\n---\n\n# Tu cuenta\n\n> Cambia tu nombre, tu usuario y tu contraseña, y cierra la sesión.\n\nOpenFiles tiene una sola cuenta de administrador. Su menú es el botón redondo de arriba a la derecha de cada página:\n\n![El menú de la cuenta con Change credentials y Logout](/files/JapUNX1yj61f.webp)\n\n## Cambiar las credenciales\n\n**1.** Abre el menú de la cuenta y selecciona **Change credentials** (cambiar credenciales).\n\n**2.** Cambia los campos:\n\n- **Name**: el nombre con el que OpenFiles te muestra.\n- **Login**: el nombre de usuario con el que inicias sesión.\n- **Password**: una contraseña nueva. Déjalo vacío para mantener la actual.\n\n![El formulario Change credentials](/files/JapUNZ1zj60f.webp)\n\n**3.** Selecciona **SUBMIT**.\n\nSi cambiaste el **Login**, se cierran todas las demás sesiones abiertas y la tuya sigue abierta.\n\n## Cerrar la sesión\n\nAbre el menú de la cuenta y selecciona **Logout** (cerrar sesión). Vuelves a ver la página de inicio de sesión.\n\nSi olvidas tu contraseña, consulta [Preguntas sobre el inicio de sesión](../../faq/sign-in/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:41.330Z"}
{"id":"JapUNa20j61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/guides/account/","project":"openfiles","version":"1-0","section":"guides","language":"fr","title":"Ton compte","summary":"Change ton nom, ton identifiant et ton mot de passe, et déconnecte-toi.","markdown":"---\ntitle: Ton compte\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/guides/account/\nupdated: 2026-11-19T07:45:41.330Z\n---\n\n# Ton compte\n\n> Change ton nom, ton identifiant et ton mot de passe, et déconnecte-toi.\n\nOpenFiles a un seul compte administrateur. Son menu est le bouton rond en haut à droite de chaque page :\n\n![Le menu du compte avec Change credentials et Logout](/files/JapUNX1yj61f.webp)\n\n## Changer tes identifiants\n\n**1.** Ouvre le menu du compte et sélectionne **Change credentials** (changer les identifiants).\n\n**2.** Modifie les champs :\n\n- **Name** : le nom qu’OpenFiles affiche pour toi.\n- **Login** : le nom d’utilisateur avec lequel tu te connectes.\n- **Password** : un nouveau mot de passe. Laisse-le vide pour garder l’actuel.\n\n![Le formulaire Change credentials](/files/JapUNZ1zj60f.webp)\n\n**3.** Sélectionne **SUBMIT**.\n\nSi tu as changé le **Login**, toutes les autres sessions ouvertes sont fermées et ta propre session reste ouverte.\n\n## Te déconnecter\n\nOuvre le menu du compte et sélectionne **Logout** (se déconnecter). La page de connexion s’affiche de nouveau.\n\nSi tu oublies ton mot de passe, consulte [Questions sur la connexion](../../faq/sign-in/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:41.330Z"}
{"id":"JapUNa20j61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/guides/account/","project":"openfiles","version":"1-0","section":"guides","language":"it","title":"Il tuo account","summary":"Cambia il nome, il login e la password, ed esci.","markdown":"---\ntitle: Il tuo account\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/guides/account/\nupdated: 2026-11-19T07:45:41.330Z\n---\n\n# Il tuo account\n\n> Cambia il nome, il login e la password, ed esci.\n\nOpenFiles ha un solo account amministratore. Il suo menu è il pulsante rotondo in alto a destra di ogni pagina:\n\n![Il menu dell'account con Change credentials e Logout](/files/JapUNX1yj61f.webp)\n\n## Cambiare le credenziali\n\n**1.** Apri il menu dell'account e seleziona **Change credentials** (cambia credenziali).\n\n**2.** Modifica i campi:\n\n- **Name**: il nome con cui OpenFiles ti mostra.\n- **Login**: il nome utente con cui accedi.\n- **Password**: una nuova password. Lasciala vuota per mantenere quella attuale.\n\n![Il modulo Change credentials](/files/JapUNZ1zj60f.webp)\n\n**3.** Seleziona **SUBMIT**.\n\nSe hai cambiato il **Login**, tutte le altre sessioni aperte vengono chiuse e la tua resta aperta.\n\n## Uscire\n\nApri il menu dell'account e seleziona **Logout**. Vedi di nuovo la pagina di accesso.\n\nSe dimentichi la password, leggi [Domande sull'accesso](../../faq/sign-in/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:41.330Z"}
{"id":"JapUNa20j61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/guides/account/","project":"openfiles","version":"1-0","section":"guides","language":"sk","title":"Tvoj účet","summary":"Zmeň si meno, prihlasovacie meno a heslo a odhlás sa.","markdown":"---\ntitle: \"Tvoj účet\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/guides/account/\nupdated: 2026-11-19T07:45:41.330Z\n---\n\n# Tvoj účet\n\n> Zmeň si meno, prihlasovacie meno a heslo a odhlás sa.\n\nOpenFiles má jeden administrátorský účet. Jeho ponuka je okrúhle tlačidlo vpravo hore na každej stránke:\n\n![Ponuka účtu s položkami Change credentials a Logout](/files/JapUNX1yj61f.webp)\n\n## Zmena prihlasovacích údajov\n\n**1.** Otvor ponuku účtu a vyber **Change credentials** (zmeniť prihlasovacie údaje).\n\n**2.** Uprav polia:\n\n- **Name**: meno, ktoré pri tebe OpenFiles zobrazuje.\n- **Login**: používateľské meno, ktorým sa prihlasuješ.\n- **Password**: nové heslo. Ak ho necháš prázdne, zostane súčasné.\n\n![Formulár Change credentials](/files/JapUNZ1zj60f.webp)\n\n**3.** Vyber **SUBMIT**.\n\nAk si zmenil **Login**, všetky ostatné otvorené relácie sa zatvoria a tvoja vlastná relácia zostane otvorená.\n\n## Odhlásenie\n\nOtvor ponuku účtu a vyber **Logout** (odhlásiť sa). Znova uvidíš prihlasovaciu stránku.\n\nAk zabudneš heslo, pozri si [Otázky k prihlasovaniu](../../faq/sign-in/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:41.330Z"}
{"id":"JapUO32Tj60f","url":"https://totaljs.es/docs/openfiles/1-0/guides/settings/","project":"openfiles","version":"1-0","section":"guides","language":"en","title":"Settings","summary":"Change the name OpenFiles shows in the header and in the browser tab.","markdown":"---\ntitle: Settings\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/guides/settings/\nupdated: 2026-11-19T07:45:44.228Z\n---\n\n# Settings\n\n> Change the name OpenFiles shows in the header and in the browser tab.\n\nOpen **Settings** in the left menu.\n\n![The Settings page with App name](/files/JapUO22Sj61f.webp)\n\n## App name\n\n**App name** is the name at the top left of every page and in the browser tab. Type a new name and select **SUBMIT**. You see \"Settings have been saved successfully.\" and the new name is used at once and after a restart.\n\nThe name you save here replaces the `name` in the [config file](../../reference/config/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.228Z"}
{"id":"JapUO32Tj60f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/guides/settings/","project":"openfiles","version":"1-0","section":"guides","language":"de","title":"Einstellungen","summary":"Ändere den Namen, den OpenFiles in der Kopfzeile und im Browser-Tab anzeigt.","markdown":"---\ntitle: Einstellungen\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/guides/settings/\nupdated: 2026-11-19T07:45:44.228Z\n---\n\n# Einstellungen\n\n> Ändere den Namen, den OpenFiles in der Kopfzeile und im Browser-Tab anzeigt.\n\nÖffne **Settings** (Einstellungen) im linken Menü.\n\n![Die Seite Settings mit App name](/files/JapUO22Sj61f.webp)\n\n## App-Name\n\n**App name** ist der Name oben links auf jeder Seite und im Browser-Tab. Gib einen neuen Namen ein und wähle **SUBMIT**. Du siehst \"Settings have been saved successfully.\", und der neue Name gilt sofort und auch nach einem Neustart.\n\nDer Name, den du hier speicherst, ersetzt `name` in der [Konfigurationsdatei](../../reference/config/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.228Z"}
{"id":"JapUO32Tj60f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/guides/settings/","project":"openfiles","version":"1-0","section":"guides","language":"es","title":"Ajustes","summary":"Cambia el nombre que muestra OpenFiles en la cabecera y en la pestaña del navegador.","markdown":"---\ntitle: Ajustes\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/guides/settings/\nupdated: 2026-11-19T07:45:44.228Z\n---\n\n# Ajustes\n\n> Cambia el nombre que muestra OpenFiles en la cabecera y en la pestaña del navegador.\n\nAbre **Settings** (ajustes) en el menú de la izquierda.\n\n![La página Settings con App name](/files/JapUO22Sj61f.webp)\n\n## Nombre de la app\n\n**App name** es el nombre que aparece arriba a la izquierda de cada página y en la pestaña del navegador. Escribe un nombre nuevo y selecciona **SUBMIT**. Ves \"Settings have been saved successfully.\" y el nombre nuevo se usa al momento y también después de reiniciar.\n\nEl nombre que guardas aquí sustituye al `name` del [archivo de configuración](../../reference/config/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.228Z"}
{"id":"JapUO32Tj60f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/guides/settings/","project":"openfiles","version":"1-0","section":"guides","language":"fr","title":"Réglages","summary":"Change le nom qu’OpenFiles affiche dans l’en-tête et dans l’onglet du navigateur.","markdown":"---\ntitle: \"Réglages\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/guides/settings/\nupdated: 2026-11-19T07:45:44.228Z\n---\n\n# Réglages\n\n> Change le nom qu’OpenFiles affiche dans l’en-tête et dans l’onglet du navigateur.\n\nOuvre **Settings** (réglages) dans le menu de gauche.\n\n![La page Settings avec App name](/files/JapUO22Sj61f.webp)\n\n## Nom de l’application\n\n**App name** est le nom affiché en haut à gauche de chaque page et dans l’onglet du navigateur. Tape un nouveau nom et sélectionne **SUBMIT**. Tu vois « Settings have been saved successfully. » et le nouveau nom est utilisé immédiatement, et aussi après un redémarrage.\n\nLe nom que tu enregistres ici remplace le `name` du [fichier config](../../reference/config/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.228Z"}
{"id":"JapUO32Tj60f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/guides/settings/","project":"openfiles","version":"1-0","section":"guides","language":"it","title":"Impostazioni","summary":"Cambia il nome che OpenFiles mostra nell'intestazione e nella scheda del browser.","markdown":"---\ntitle: Impostazioni\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/guides/settings/\nupdated: 2026-11-19T07:45:44.228Z\n---\n\n# Impostazioni\n\n> Cambia il nome che OpenFiles mostra nell'intestazione e nella scheda del browser.\n\nApri **Settings** nel menu a sinistra.\n\n![La pagina Settings con App name](/files/JapUO22Sj61f.webp)\n\n## App name\n\n**App name** è il nome in alto a sinistra di ogni pagina e nella scheda del browser. Scrivi un nuovo nome e seleziona **SUBMIT**. Vedi \"Settings have been saved successfully.\" e il nuovo nome viene usato subito e anche dopo un riavvio.\n\nIl nome che salvi qui sostituisce il `name` nel [file config](../../reference/config/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.228Z"}
{"id":"JapUO32Tj60f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/guides/settings/","project":"openfiles","version":"1-0","section":"guides","language":"sk","title":"Nastavenia","summary":"Zmeň názov, ktorý OpenFiles zobrazuje v hlavičke a na karte prehliadača.","markdown":"---\ntitle: Nastavenia\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/guides/settings/\nupdated: 2026-11-19T07:45:44.228Z\n---\n\n# Nastavenia\n\n> Zmeň názov, ktorý OpenFiles zobrazuje v hlavičke a na karte prehliadača.\n\nV ľavej ponuke otvor **Settings** (nastavenia).\n\n![Stránka Settings s poľom App name](/files/JapUO22Sj61f.webp)\n\n## Názov aplikácie\n\n**App name** je názov vľavo hore na každej stránke a na karte prehliadača. Napíš nový názov a vyber **SUBMIT**. Uvidíš „Settings have been saved successfully.“ a nový názov sa použije hneď aj po reštarte.\n\nNázov, ktorý tu uložíš, nahradí `name` v [konfiguračnom súbore](../../reference/config/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.228Z"}
{"id":"JapUNv2Lj60f","url":"https://totaljs.es/docs/openfiles/1-0/guides/postgresql/","project":"openfiles","version":"1-0","section":"guides","language":"en","title":"Index files in PostgreSQL","summary":"Keep a table of all uploaded files in PostgreSQL in addition to the files on disk.","markdown":"---\ntitle: Index files in PostgreSQL\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/guides/postgresql/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Index files in PostgreSQL\n\n> Keep a table of all uploaded files in PostgreSQL in addition to the files on disk.\n\nOpenFiles always keeps the files on disk. If you also connect a PostgreSQL database, it writes a row for every upload into a table, and **List of files** reads the list from that table. Use it when you want to query your files with SQL.\n\n## Connect a database\n\n**1.** Create an empty PostgreSQL database for OpenFiles.\n\n**2.** In the OpenFiles folder, install the PostgreSQL driver:\n\n```bash\nnpm install querybuilderpg\n```\n\n**3.** Add the connection to the `config` file:\n\n```text\ndatabase              : postgres://user:password@localhost:5432/openfiles\n```\n\n**4.** Restart OpenFiles.\n\nOn start, OpenFiles creates the table `tbl_file` if it does not exist.\n\n## What changes\n\n- Every upload adds a row with the file ID, storage (`db`), name, extension, type, size, width, height, upload date and the name of the token that uploaded it (`createdby`).\n- Renaming and removing a file in [List of files](../browse-files/) also changes or deletes its row.\n- **List of files** shows only the files in the table. Files uploaded before you connected the database stay on disk and keep their links, but they do not appear in the list.\n\nTo go back, remove the `database` line and restart OpenFiles.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNv2Lj60f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/guides/postgresql/","project":"openfiles","version":"1-0","section":"guides","language":"de","title":"Dateien in PostgreSQL indexieren","summary":"Führe zusätzlich zu den Dateien auf der Festplatte eine Tabelle aller hochgeladenen Dateien in PostgreSQL.","markdown":"---\ntitle: Dateien in PostgreSQL indexieren\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/guides/postgresql/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Dateien in PostgreSQL indexieren\n\n> Führe zusätzlich zu den Dateien auf der Festplatte eine Tabelle aller hochgeladenen Dateien in PostgreSQL.\n\nOpenFiles speichert die Dateien immer auf der Festplatte. Wenn du zusätzlich eine PostgreSQL-Datenbank verbindest, schreibt es für jeden Upload eine Zeile in eine Tabelle, und **List of files** liest die Liste aus dieser Tabelle. Nutze das, wenn du deine Dateien mit SQL abfragen möchtest.\n\n## Eine Datenbank verbinden\n\n**1.** Erstelle eine leere PostgreSQL-Datenbank für OpenFiles.\n\n**2.** Installiere im OpenFiles-Ordner den PostgreSQL-Treiber:\n\n```bash\nnpm install querybuilderpg\n```\n\n**3.** Trag die Verbindung in die Datei `config` ein:\n\n```text\ndatabase              : postgres://user:password@localhost:5432/openfiles\n```\n\n**4.** Starte OpenFiles neu.\n\nBeim Start erstellt OpenFiles die Tabelle `tbl_file`, falls es sie noch nicht gibt.\n\n## Was sich ändert\n\n- Jeder Upload fügt eine Zeile mit Datei-ID, Speicher (`db`), Name, Endung, Typ, Größe, Breite, Höhe, Upload-Datum und dem Namen des hochladenden Tokens (`createdby`) hinzu.\n- Wenn du eine Datei in [List of files](../browse-files/) umbenennst oder entfernst, wird auch ihre Zeile geändert oder gelöscht.\n- **List of files** zeigt nur die Dateien aus der Tabelle. Dateien, die vor dem Verbinden der Datenbank hochgeladen wurden, bleiben auf der Festplatte und behalten ihre Links, erscheinen aber nicht in der Liste.\n\nUm zurückzuwechseln, entferne die Zeile `database` und starte OpenFiles neu.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNv2Lj60f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/guides/postgresql/","project":"openfiles","version":"1-0","section":"guides","language":"es","title":"Indexar los archivos en PostgreSQL","summary":"Mantén en PostgreSQL una tabla con todos los archivos subidos, además de los archivos en disco.","markdown":"---\ntitle: Indexar los archivos en PostgreSQL\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/guides/postgresql/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Indexar los archivos en PostgreSQL\n\n> Mantén en PostgreSQL una tabla con todos los archivos subidos, además de los archivos en disco.\n\nOpenFiles siempre guarda los archivos en disco. Si además conectas una base de datos PostgreSQL, escribe una fila en una tabla por cada subida, y **List of files** lee la lista de esa tabla. Úsalo cuando quieras consultar tus archivos con SQL.\n\n## Conectar una base de datos\n\n**1.** Crea una base de datos PostgreSQL vacía para OpenFiles.\n\n**2.** En la carpeta de OpenFiles, instala el controlador de PostgreSQL:\n\n```bash\nnpm install querybuilderpg\n```\n\n**3.** Añade la conexión al archivo `config`:\n\n```text\ndatabase              : postgres://user:password@localhost:5432/openfiles\n```\n\n**4.** Reinicia OpenFiles.\n\nAl arrancar, OpenFiles crea la tabla `tbl_file` si no existe.\n\n## Qué cambia\n\n- Cada subida añade una fila con el ID del archivo, el almacén (`db`), el nombre, la extensión, el tipo, el tamaño, el ancho, el alto, la fecha de subida y el nombre del token que lo subió (`createdby`).\n- Al renombrar o eliminar un archivo en [List of files](../browse-files/) también se cambia o se borra su fila.\n- **List of files** solo muestra los archivos de la tabla. Los archivos subidos antes de conectar la base de datos siguen en disco y mantienen sus enlaces, pero no aparecen en la lista.\n\nPara volver atrás, quita la línea `database` y reinicia OpenFiles.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNv2Lj60f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/guides/postgresql/","project":"openfiles","version":"1-0","section":"guides","language":"fr","title":"Indexer les fichiers dans PostgreSQL","summary":"Garde une table de tous les fichiers envoyés dans PostgreSQL, en plus des fichiers sur le disque.","markdown":"---\ntitle: Indexer les fichiers dans PostgreSQL\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/guides/postgresql/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Indexer les fichiers dans PostgreSQL\n\n> Garde une table de tous les fichiers envoyés dans PostgreSQL, en plus des fichiers sur le disque.\n\nOpenFiles garde toujours les fichiers sur le disque. Si tu connectes aussi une base de données PostgreSQL, il écrit une ligne dans une table pour chaque envoi, et **List of files** lit la liste depuis cette table. Utilise-la quand tu veux interroger tes fichiers en SQL.\n\n## Connecter une base de données\n\n**1.** Crée une base de données PostgreSQL vide pour OpenFiles.\n\n**2.** Dans le dossier d’OpenFiles, installe le pilote PostgreSQL :\n\n```bash\nnpm install querybuilderpg\n```\n\n**3.** Ajoute la connexion au fichier `config` :\n\n```text\ndatabase              : postgres://user:password@localhost:5432/openfiles\n```\n\n**4.** Redémarre OpenFiles.\n\nAu démarrage, OpenFiles crée la table `tbl_file` si elle n’existe pas.\n\n## Ce qui change\n\n- Chaque envoi ajoute une ligne avec l’ID du fichier, le stockage (`db`), le nom, l’extension, le type, la taille, la largeur, la hauteur, la date d’envoi et le nom du jeton qui l’a envoyé (`createdby`).\n- Renommer et supprimer un fichier dans [List of files](../browse-files/) modifie ou supprime aussi sa ligne.\n- **List of files** n’affiche que les fichiers de la table. Les fichiers envoyés avant que tu connectes la base de données restent sur le disque et gardent leurs liens, mais ils n’apparaissent pas dans la liste.\n\nPour revenir en arrière, supprime la ligne `database` et redémarre OpenFiles.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNv2Lj60f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/guides/postgresql/","project":"openfiles","version":"1-0","section":"guides","language":"it","title":"Indicizzare i file in PostgreSQL","summary":"Tieni in PostgreSQL una tabella di tutti i file caricati, oltre ai file su disco.","markdown":"---\ntitle: Indicizzare i file in PostgreSQL\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/guides/postgresql/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Indicizzare i file in PostgreSQL\n\n> Tieni in PostgreSQL una tabella di tutti i file caricati, oltre ai file su disco.\n\nOpenFiles conserva sempre i file su disco. Se colleghi anche un database PostgreSQL, scrive una riga in una tabella per ogni caricamento e **List of files** legge l'elenco da quella tabella. Usalo quando vuoi interrogare i tuoi file con SQL.\n\n## Collegare un database\n\n**1.** Crea un database PostgreSQL vuoto per OpenFiles.\n\n**2.** Nella cartella di OpenFiles, installa il driver di PostgreSQL:\n\n```bash\nnpm install querybuilderpg\n```\n\n**3.** Aggiungi la connessione al file `config`:\n\n```text\ndatabase              : postgres://user:password@localhost:5432/openfiles\n```\n\n**4.** Riavvia OpenFiles.\n\nAll'avvio, OpenFiles crea la tabella `tbl_file` se non esiste.\n\n## Cosa cambia\n\n- Ogni caricamento aggiunge una riga con l'ID del file, lo storage (`db`), il nome, l'estensione, il tipo, la dimensione, la larghezza, l'altezza, la data di caricamento e il nome del token che l'ha caricato (`createdby`).\n- Rinominare e rimuovere un file in [List of files](../browse-files/) modifica o elimina anche la sua riga.\n- **List of files** mostra solo i file presenti nella tabella. I file caricati prima di collegare il database restano su disco e mantengono i loro link, ma non compaiono nell'elenco.\n\nPer tornare indietro, rimuovi la riga `database` e riavvia OpenFiles.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNv2Lj60f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/guides/postgresql/","project":"openfiles","version":"1-0","section":"guides","language":"sk","title":"Indexovanie súborov v PostgreSQL","summary":"Okrem súborov na disku veď v PostgreSQL aj tabuľku všetkých nahraných súborov.","markdown":"---\ntitle: \"Indexovanie súborov v PostgreSQL\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/guides/postgresql/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Indexovanie súborov v PostgreSQL\n\n> Okrem súborov na disku veď v PostgreSQL aj tabuľku všetkých nahraných súborov.\n\nOpenFiles vždy uchováva súbory na disku. Ak pripojíš aj databázu PostgreSQL, zapíše pri každom nahraní riadok do tabuľky a **List of files** číta zoznam z tejto tabuľky. Použi to, keď chceš svoje súbory prehľadávať cez SQL.\n\n## Pripojenie databázy\n\n**1.** Vytvor pre OpenFiles prázdnu databázu PostgreSQL.\n\n**2.** V priečinku OpenFiles nainštaluj ovládač pre PostgreSQL:\n\n```bash\nnpm install querybuilderpg\n```\n\n**3.** Pridaj pripojenie do súboru `config`:\n\n```text\ndatabase              : postgres://user:password@localhost:5432/openfiles\n```\n\n**4.** Reštartuj OpenFiles.\n\nPri spustení OpenFiles vytvorí tabuľku `tbl_file`, ak ešte neexistuje.\n\n## Čo sa zmení\n\n- Každé nahranie pridá riadok s ID súboru, úložiskom (`db`), názvom, príponou, typom, veľkosťou, šírkou, výškou, dátumom nahrania a názvom tokenu, ktorý súbor nahral (`createdby`).\n- Premenovanie a odstránenie súboru v [List of files](../browse-files/) zmení alebo vymaže aj jeho riadok.\n- **List of files** zobrazuje len súbory z tabuľky. Súbory nahrané predtým, ako si pripojil databázu, zostanú na disku a ponechajú si svoje odkazy, ale v zozname sa neobjavia.\n\nAk sa chceš vrátiť, odstráň riadok `database` a reštartuj OpenFiles.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNj27j60f","url":"https://totaljs.es/docs/openfiles/1-0/guides/backups/","project":"openfiles","version":"1-0","section":"guides","language":"en","title":"Back up your data","summary":"Which folder to copy so you can restore files, tokens, settings and the account.","markdown":"---\ntitle: Back up your data\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/guides/backups/\nupdated: 2026-11-19T07:45:42.017Z\n---\n\n# Back up your data\n\n> Which folder to copy so you can restore files, tokens, settings and the account.\n\nEverything OpenFiles keeps is in one folder: `databases` inside the OpenFiles folder (`/www/.src/databases` in Docker). See [The data folder](../../reference/data-folder/).\n\n## Make a backup\n\n**1.** Stop OpenFiles, so no upload is half written.\n\n**2.** Copy the whole `databases` folder:\n\n```bash\ntar -czf openfiles-backup.tar.gz databases\n```\n\n**3.** Start OpenFiles again.\n\nWith Docker, copy the folder out of the container:\n\n```bash\ndocker cp openfiles:/www/.src/databases ./openfiles-databases\n```\n\n## Restore\n\nStop OpenFiles, replace the `databases` folder with the copy and start OpenFiles. Your storages, files, links, API tokens, settings and account are back.\n\nIf you index files in [PostgreSQL](../postgresql/), back up that database at the same time.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.017Z"}
{"id":"JapUNj27j60f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/guides/backups/","project":"openfiles","version":"1-0","section":"guides","language":"de","title":"Deine Daten sichern","summary":"Welchen Ordner du kopierst, um Dateien, Tokens, Einstellungen und das Konto wiederherstellen zu können.","markdown":"---\ntitle: Deine Daten sichern\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/guides/backups/\nupdated: 2026-11-19T07:45:42.017Z\n---\n\n# Deine Daten sichern\n\n> Welchen Ordner du kopierst, um Dateien, Tokens, Einstellungen und das Konto wiederherstellen zu können.\n\nAlles, was OpenFiles speichert, liegt in einem Ordner: `databases` im OpenFiles-Ordner (`/www/.src/databases` in Docker). Mehr dazu unter [Der Datenordner](../../reference/data-folder/).\n\n## Eine Sicherung erstellen\n\n**1.** Beende OpenFiles, damit kein Upload nur halb geschrieben ist.\n\n**2.** Kopiere den ganzen Ordner `databases`:\n\n```bash\ntar -czf openfiles-backup.tar.gz databases\n```\n\n**3.** Starte OpenFiles wieder.\n\nMit Docker kopierst du den Ordner aus dem Container heraus:\n\n```bash\ndocker cp openfiles:/www/.src/databases ./openfiles-databases\n```\n\n## Wiederherstellen\n\nBeende OpenFiles, ersetze den Ordner `databases` durch die Kopie und starte OpenFiles. Deine Speicher, Dateien, Links, API-Tokens, Einstellungen und dein Konto sind wieder da.\n\nWenn du Dateien in [PostgreSQL](../postgresql/) indexierst, sichere diese Datenbank zur selben Zeit.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.017Z"}
{"id":"JapUNj27j60f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/guides/backups/","project":"openfiles","version":"1-0","section":"guides","language":"es","title":"Hacer copias de seguridad","summary":"Qué carpeta copiar para poder recuperar los archivos, los tokens, los ajustes y la cuenta.","markdown":"---\ntitle: Hacer copias de seguridad\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/guides/backups/\nupdated: 2026-11-19T07:45:42.017Z\n---\n\n# Hacer copias de seguridad\n\n> Qué carpeta copiar para poder recuperar los archivos, los tokens, los ajustes y la cuenta.\n\nTodo lo que guarda OpenFiles está en una carpeta: `databases`, dentro de la carpeta de OpenFiles (`/www/.src/databases` en Docker). Consulta [La carpeta de datos](../../reference/data-folder/).\n\n## Hacer una copia\n\n**1.** Detén OpenFiles, para que ninguna subida quede a medio escribir.\n\n**2.** Copia la carpeta `databases` entera:\n\n```bash\ntar -czf openfiles-backup.tar.gz databases\n```\n\n**3.** Vuelve a iniciar OpenFiles.\n\nCon Docker, copia la carpeta fuera del contenedor:\n\n```bash\ndocker cp openfiles:/www/.src/databases ./openfiles-databases\n```\n\n## Recuperar\n\nDetén OpenFiles, sustituye la carpeta `databases` por la copia e inicia OpenFiles. Vuelves a tener tus almacenes, archivos, enlaces, tokens de API, ajustes y cuenta.\n\nSi indexas los archivos en [PostgreSQL](../postgresql/), haz a la vez una copia de esa base de datos.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.017Z"}
{"id":"JapUNj27j60f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/guides/backups/","project":"openfiles","version":"1-0","section":"guides","language":"fr","title":"Sauvegarder tes données","summary":"Quel dossier copier pour pouvoir restaurer les fichiers, les jetons, les réglages et le compte.","markdown":"---\ntitle: \"Sauvegarder tes données\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/guides/backups/\nupdated: 2026-11-19T07:45:42.017Z\n---\n\n# Sauvegarder tes données\n\n> Quel dossier copier pour pouvoir restaurer les fichiers, les jetons, les réglages et le compte.\n\nTout ce que garde OpenFiles se trouve dans un seul dossier : `databases`, dans le dossier d’OpenFiles (`/www/.src/databases` dans Docker). Consulte [Le dossier de données](../../reference/data-folder/).\n\n## Faire une sauvegarde\n\n**1.** Arrête OpenFiles, pour qu’aucun envoi ne reste à moitié écrit.\n\n**2.** Copie tout le dossier `databases` :\n\n```bash\ntar -czf openfiles-backup.tar.gz databases\n```\n\n**3.** Redémarre OpenFiles.\n\nAvec Docker, copie le dossier hors du conteneur :\n\n```bash\ndocker cp openfiles:/www/.src/databases ./openfiles-databases\n```\n\n## Restaurer\n\nArrête OpenFiles, remplace le dossier `databases` par la copie et démarre OpenFiles. Tes stockages, fichiers, liens, jetons d’API, réglages et ton compte sont de retour.\n\nSi tu indexes les fichiers dans [PostgreSQL](../postgresql/), sauvegarde cette base de données en même temps.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.017Z"}
{"id":"JapUNj27j60f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/guides/backups/","project":"openfiles","version":"1-0","section":"guides","language":"it","title":"Fare il backup dei dati","summary":"Quale cartella copiare per ripristinare file, token, impostazioni e account.","markdown":"---\ntitle: Fare il backup dei dati\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/guides/backups/\nupdated: 2026-11-19T07:45:42.017Z\n---\n\n# Fare il backup dei dati\n\n> Quale cartella copiare per ripristinare file, token, impostazioni e account.\n\nTutto ciò che OpenFiles conserva si trova in una sola cartella: `databases` dentro la cartella di OpenFiles (`/www/.src/databases` in Docker). Leggi [La cartella dei dati](../../reference/data-folder/).\n\n## Fare un backup\n\n**1.** Ferma OpenFiles, così nessun caricamento resta scritto a metà.\n\n**2.** Copia l'intera cartella `databases`:\n\n```bash\ntar -czf openfiles-backup.tar.gz databases\n```\n\n**3.** Avvia di nuovo OpenFiles.\n\nCon Docker, copia la cartella fuori dal container:\n\n```bash\ndocker cp openfiles:/www/.src/databases ./openfiles-databases\n```\n\n## Ripristinare\n\nFerma OpenFiles, sostituisci la cartella `databases` con la copia e avvia OpenFiles. I tuoi storage, file, link, token API, impostazioni e account sono di nuovo al loro posto.\n\nSe indicizzi i file in [PostgreSQL](../postgresql/), fai il backup di quel database nello stesso momento.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.017Z"}
{"id":"JapUNj27j60f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/guides/backups/","project":"openfiles","version":"1-0","section":"guides","language":"sk","title":"Zálohuj svoje dáta","summary":"Ktorý priečinok skopírovať, aby si mohol obnoviť súbory, tokeny, nastavenia a účet.","markdown":"---\ntitle: \"Zálohuj svoje dáta\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/guides/backups/\nupdated: 2026-11-19T07:45:42.017Z\n---\n\n# Zálohuj svoje dáta\n\n> Ktorý priečinok skopírovať, aby si mohol obnoviť súbory, tokeny, nastavenia a účet.\n\nVšetko, čo OpenFiles uchováva, je v jednom priečinku: `databases` v priečinku OpenFiles (v Dockeri `/www/.src/databases`). Pozri si [Priečinok s dátami](../../reference/data-folder/).\n\n## Vytvorenie zálohy\n\n**1.** Zastav OpenFiles, aby žiadne nahrávanie nezostalo zapísané len napoly.\n\n**2.** Skopíruj celý priečinok `databases`:\n\n```bash\ntar -czf openfiles-backup.tar.gz databases\n```\n\n**3.** Znova spusti OpenFiles.\n\nS Dockerom skopíruj priečinok von z kontajnera:\n\n```bash\ndocker cp openfiles:/www/.src/databases ./openfiles-databases\n```\n\n## Obnovenie\n\nZastav OpenFiles, nahraď priečinok `databases` kópiou a spusti OpenFiles. Tvoje úložiská, súbory, odkazy, API tokeny, nastavenia a účet sú späť.\n\nAk indexuješ súbory v [PostgreSQL](../postgresql/), zálohuj zároveň aj túto databázu.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.017Z"}
{"id":"JapUNx2Nj60f","url":"https://totaljs.es/docs/openfiles/1-0/guides/production/","project":"openfiles","version":"1-0","section":"guides","language":"en","title":"Run in production","summary":"Settings and habits that keep an OpenFiles server safe.","markdown":"---\ntitle: Run in production\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/guides/production/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Run in production\n\n> Settings and habits that keep an OpenFiles server safe.\n\nOpenFiles serves files to the public and accepts uploads from your apps, so the server needs some care before others can reach it.\n\n## Change the first-start account\n\nSign in and change the user name and password at once. See [Your account](../account/).\n\n## Use HTTPS\n\nTokens travel in every upload. Put OpenFiles behind a reverse proxy (for example Nginx or Caddy) that serves HTTPS, and let your apps use the `https://` address only.\n\n## Listen only on the local address\n\nBy default OpenFiles listens on all network interfaces. When a reverse proxy runs on the same server, make OpenFiles listen only on `127.0.0.1`. In `index.js`, change the line\n\n```js\n// options.ip = '127.0.0.1';\n```\n\nto\n\n```js\noptions.ip = '127.0.0.1';\n```\n\nand restart OpenFiles. With Docker, publish the port only on the local address instead:\n\n```bash\ndocker run -d --name openfiles -p 127.0.0.1:8000:8000 -v openfiles:/www openfiles\n```\n\n## Start in release mode\n\n`npm start` runs in debug mode. On a server, start OpenFiles in release mode:\n\n```bash\nnode index.js 8000 --release\n```\n\n## Limit what tokens can do\n\nGive each app its own token with only the storages it needs. See [Token permissions](../token-permissions/).\n\n## Restrict the admin interface\n\nThe admin interface and the upload API share the same address. If you can, allow the admin pages (`/`, `/api/`, `/settings/`) only from your own network in the reverse proxy, and keep `/upload/`, `/base64/` and `/files/` open for your apps and visitors.\n\n## Back up\n\nCopy the data folder on a schedule. See [Back up your data](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNx2Nj60f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/guides/production/","project":"openfiles","version":"1-0","section":"guides","language":"de","title":"Im Produktivbetrieb","summary":"Einstellungen und Gewohnheiten, die einen OpenFiles-Server sicher halten.","markdown":"---\ntitle: Im Produktivbetrieb\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/guides/production/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Im Produktivbetrieb\n\n> Einstellungen und Gewohnheiten, die einen OpenFiles-Server sicher halten.\n\nOpenFiles stellt Dateien öffentlich bereit und nimmt Uploads von deinen Apps an. Deshalb braucht der Server etwas Pflege, bevor andere ihn erreichen können.\n\n## Das Startkonto ändern\n\nMelde dich an und ändere sofort Benutzernamen und Passwort. Mehr dazu unter [Dein Konto](../account/).\n\n## HTTPS verwenden\n\nTokens werden bei jedem Upload mitgeschickt. Stell OpenFiles hinter einen Reverse Proxy (zum Beispiel Nginx oder Caddy), der HTTPS bereitstellt, und lass deine Apps nur die Adresse mit `https://` verwenden.\n\n## Nur auf der lokalen Adresse lauschen\n\nStandardmäßig lauscht OpenFiles auf allen Netzwerkschnittstellen. Wenn ein Reverse Proxy auf demselben Server läuft, lass OpenFiles nur auf `127.0.0.1` lauschen. Ändere in `index.js` die Zeile\n\n```js\n// options.ip = '127.0.0.1';\n```\n\nin\n\n```js\noptions.ip = '127.0.0.1';\n```\n\nund starte OpenFiles neu. Mit Docker veröffentlichst du den Port stattdessen nur auf der lokalen Adresse:\n\n```bash\ndocker run -d --name openfiles -p 127.0.0.1:8000:8000 -v openfiles:/www openfiles\n```\n\n## Im Release-Modus starten\n\n`npm start` läuft im Debug-Modus. Auf einem Server startest du OpenFiles im Release-Modus:\n\n```bash\nnode index.js 8000 --release\n```\n\n## Einschränken, was Tokens dürfen\n\nGib jeder App ihr eigenes Token mit nur den Speichern, die sie braucht. Mehr dazu unter [Token-Berechtigungen](../token-permissions/).\n\n## Die Admin-Oberfläche einschränken\n\nDie Admin-Oberfläche und die Upload-API teilen sich dieselbe Adresse. Wenn du kannst, erlaube die Admin-Seiten (`/`, `/api/`, `/settings/`) im Reverse Proxy nur aus deinem eigenen Netzwerk, und lass `/upload/`, `/base64/` und `/files/` für deine Apps und Besucher offen.\n\n## Sichern\n\nKopiere den Datenordner regelmäßig. Mehr dazu unter [Deine Daten sichern](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNx2Nj60f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/guides/production/","project":"openfiles","version":"1-0","section":"guides","language":"es","title":"Usar en producción","summary":"Ajustes y costumbres que mantienen seguro un servidor de OpenFiles.","markdown":"---\ntitle: \"Usar en producción\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/guides/production/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Usar en producción\n\n> Ajustes y costumbres que mantienen seguro un servidor de OpenFiles.\n\nOpenFiles sirve archivos al público y acepta subidas de tus apps, así que el servidor necesita algo de cuidado antes de que otros puedan llegar a él.\n\n## Cambia la cuenta de primer arranque\n\nInicia sesión y cambia el nombre de usuario y la contraseña enseguida. Consulta [Tu cuenta](../account/).\n\n## Usa HTTPS\n\nLos tokens viajan en cada subida. Pon OpenFiles detrás de un proxy inverso (por ejemplo Nginx o Caddy) que sirva HTTPS, y haz que tus apps usen solo la dirección `https://`.\n\n## Escucha solo en la dirección local\n\nPor defecto, OpenFiles escucha en todas las interfaces de red. Cuando un proxy inverso funciona en el mismo servidor, haz que OpenFiles escuche solo en `127.0.0.1`. En `index.js`, cambia la línea\n\n```js\n// options.ip = '127.0.0.1';\n```\n\npor\n\n```js\noptions.ip = '127.0.0.1';\n```\n\ny reinicia OpenFiles. Con Docker, en su lugar publica el puerto solo en la dirección local:\n\n```bash\ndocker run -d --name openfiles -p 127.0.0.1:8000:8000 -v openfiles:/www openfiles\n```\n\n## Inicia en modo release\n\n`npm start` se ejecuta en modo debug. En un servidor, inicia OpenFiles en modo release:\n\n```bash\nnode index.js 8000 --release\n```\n\n## Limita lo que pueden hacer los tokens\n\nDa a cada app su propio token, solo con los almacenes que necesita. Consulta [Permisos de los tokens](../token-permissions/).\n\n## Restringe la interfaz de administración\n\nLa interfaz de administración y la API de subida comparten la misma dirección. Si puedes, en el proxy inverso permite las páginas de administración (`/`, `/api/`, `/settings/`) solo desde tu propia red, y deja `/upload/`, `/base64/` y `/files/` abiertos para tus apps y tus visitantes.\n\n## Haz copias de seguridad\n\nCopia la carpeta de datos de forma programada. Consulta [Hacer copias de seguridad](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNx2Nj60f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/guides/production/","project":"openfiles","version":"1-0","section":"guides","language":"fr","title":"Mettre en production","summary":"Les réglages et les habitudes qui gardent un serveur OpenFiles en sécurité.","markdown":"---\ntitle: Mettre en production\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/guides/production/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Mettre en production\n\n> Les réglages et les habitudes qui gardent un serveur OpenFiles en sécurité.\n\nOpenFiles sert des fichiers au public et accepte les envois de tes applications : le serveur demande donc un peu de soin avant que d’autres puissent y accéder.\n\n## Changer le compte du premier démarrage\n\nConnecte-toi et change tout de suite le nom d’utilisateur et le mot de passe. Consulte [Ton compte](../account/).\n\n## Utiliser HTTPS\n\nLes jetons voyagent dans chaque envoi. Place OpenFiles derrière un proxy inverse (par exemple Nginx ou Caddy) qui sert du HTTPS, et fais utiliser à tes applications uniquement l’adresse `https://`.\n\n## N’écouter que sur l’adresse locale\n\nPar défaut, OpenFiles écoute sur toutes les interfaces réseau. Quand un proxy inverse tourne sur le même serveur, fais écouter OpenFiles uniquement sur `127.0.0.1`. Dans `index.js`, change la ligne\n\n```js\n// options.ip = '127.0.0.1';\n```\n\nen\n\n```js\noptions.ip = '127.0.0.1';\n```\n\net redémarre OpenFiles. Avec Docker, publie plutôt le port uniquement sur l’adresse locale :\n\n```bash\ndocker run -d --name openfiles -p 127.0.0.1:8000:8000 -v openfiles:/www openfiles\n```\n\n## Démarrer en mode release\n\n`npm start` tourne en mode debug. Sur un serveur, démarre OpenFiles en mode release :\n\n```bash\nnode index.js 8000 --release\n```\n\n## Limiter ce que peuvent faire les jetons\n\nDonne à chaque application son propre jeton, avec uniquement les stockages dont elle a besoin. Consulte [Permissions des jetons](../token-permissions/).\n\n## Restreindre l’interface d’administration\n\nL’interface d’administration et l’API d’envoi partagent la même adresse. Si tu peux, n’autorise les pages d’administration (`/`, `/api/`, `/settings/`) que depuis ton propre réseau dans le proxy inverse, et laisse `/upload/`, `/base64/` et `/files/` ouverts pour tes applications et tes visiteurs.\n\n## Sauvegarder\n\nCopie le dossier de données à intervalles réguliers. Consulte [Sauvegarder tes données](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNx2Nj60f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/guides/production/","project":"openfiles","version":"1-0","section":"guides","language":"it","title":"Usare in produzione","summary":"Impostazioni e abitudini che mantengono sicuro un server OpenFiles.","markdown":"---\ntitle: Usare in produzione\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/guides/production/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Usare in produzione\n\n> Impostazioni e abitudini che mantengono sicuro un server OpenFiles.\n\nOpenFiles serve file al pubblico e accetta caricamenti dalle tue app, quindi il server richiede qualche attenzione prima che altri possano raggiungerlo.\n\n## Cambiare l'account di primo avvio\n\nAccedi e cambia subito il nome utente e la password. Leggi [Il tuo account](../account/).\n\n## Usare HTTPS\n\nI token viaggiano in ogni caricamento. Metti OpenFiles dietro un reverse proxy (per esempio Nginx o Caddy) che serve HTTPS e fai usare alle tue app solo l'indirizzo `https://`.\n\n## Ascoltare solo sull'indirizzo locale\n\nDi default OpenFiles ascolta su tutte le interfacce di rete. Quando un reverse proxy gira sullo stesso server, fai ascoltare OpenFiles solo su `127.0.0.1`. In `index.js`, cambia la riga\n\n```js\n// options.ip = '127.0.0.1';\n```\n\nin\n\n```js\noptions.ip = '127.0.0.1';\n```\n\ne riavvia OpenFiles. Con Docker, pubblica invece la porta solo sull'indirizzo locale:\n\n```bash\ndocker run -d --name openfiles -p 127.0.0.1:8000:8000 -v openfiles:/www openfiles\n```\n\n## Avviare in modalità release\n\n`npm start` gira in modalità debug. Su un server, avvia OpenFiles in modalità release:\n\n```bash\nnode index.js 8000 --release\n```\n\n## Limitare cosa possono fare i token\n\nDai a ogni app il suo token con solo gli storage che le servono. Leggi [Permessi dei token](../token-permissions/).\n\n## Limitare l'accesso all'interfaccia di amministrazione\n\nL'interfaccia di amministrazione e l'API di caricamento condividono lo stesso indirizzo. Se puoi, nel reverse proxy consenti le pagine di amministrazione (`/`, `/api/`, `/settings/`) solo dalla tua rete e lascia aperti `/upload/`, `/base64/` e `/files/` per le tue app e i visitatori.\n\n## Fare il backup\n\nCopia la cartella dei dati a intervalli regolari. Leggi [Fare il backup dei dati](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUNx2Nj60f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/guides/production/","project":"openfiles","version":"1-0","section":"guides","language":"sk","title":"Prevádzka v produkcii","summary":"Nastavenia a návyky, vďaka ktorým je server OpenFiles v bezpečí.","markdown":"---\ntitle: \"Prevádzka v produkcii\"\nproject: OpenFiles\nversion: 1.0\nsection: guides\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/guides/production/\nupdated: 2026-11-19T07:45:42.832Z\n---\n\n# Prevádzka v produkcii\n\n> Nastavenia a návyky, vďaka ktorým je server OpenFiles v bezpečí.\n\nOpenFiles poskytuje súbory verejnosti a prijíma nahrávania od tvojich aplikácií, preto si server vyžaduje trochu starostlivosti, skôr než sa k nemu dostanú iní.\n\n## Zmeň účet z prvého spustenia\n\nPrihlás sa a hneď zmeň používateľské meno a heslo. Pozri si [Tvoj účet](../account/).\n\n## Používaj HTTPS\n\nTokeny putujú v každom nahrávaní. Umiestni OpenFiles za reverzný proxy server (napríklad Nginx alebo Caddy), ktorý poskytuje HTTPS, a nechaj svoje aplikácie používať len adresu `https://`.\n\n## Počúvaj len na lokálnej adrese\n\nPredvolene OpenFiles počúva na všetkých sieťových rozhraniach. Keď na tom istom serveri beží reverzný proxy, nechaj OpenFiles počúvať len na `127.0.0.1`. V `index.js` zmeň riadok\n\n```js\n// options.ip = '127.0.0.1';\n```\n\nna\n\n```js\noptions.ip = '127.0.0.1';\n```\n\na reštartuj OpenFiles. S Dockerom namiesto toho zverejni port len na lokálnej adrese:\n\n```bash\ndocker run -d --name openfiles -p 127.0.0.1:8000:8000 -v openfiles:/www openfiles\n```\n\n## Spúšťaj v režime release\n\n`npm start` beží v režime debug. Na serveri spúšťaj OpenFiles v režime release:\n\n```bash\nnode index.js 8000 --release\n```\n\n## Obmedz, čo tokeny smú\n\nDaj každej aplikácii vlastný token len s úložiskami, ktoré potrebuje. Pozri si [Oprávnenia tokenov](../token-permissions/).\n\n## Obmedz prístup k administrácii\n\nAdministrácia a API na nahrávanie zdieľajú tú istú adresu. Ak môžeš, povoľ v reverznom proxy administrátorské stránky (`/`, `/api/`, `/settings/`) len zo svojej vlastnej siete a `/upload/`, `/base64/` a `/files/` nechaj otvorené pre svoje aplikácie a návštevníkov.\n\n## Zálohuj\n\nKopíruj priečinok s dátami pravidelne. Pozri si [Zálohuj svoje dáta](../backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:42.832Z"}
{"id":"JapUOO2qj61f","url":"https://totaljs.es/docs/openfiles/1-0/reference/rest-api/","project":"openfiles","version":"1-0","section":"reference","language":"en","title":"REST API overview","summary":"The endpoints your apps call, how to send the token and what comes back.","markdown":"---\ntitle: REST API overview\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/reference/rest-api/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# REST API overview\n\n> The endpoints your apps call, how to send the token and what comes back.\n\nYour apps talk to OpenFiles over HTTP. The address of every endpoint starts with your OpenFiles address, for example `https://files.example.com`.\n\n## Endpoints\n\n| Method and path | What it does |\n|---|---|\n| `POST /upload/{db}/` | [Upload files](../upload/) as `multipart/form-data`. |\n| `POST /files/{db}/` | The same as `/upload/{db}/`. |\n| `POST /base64/{db}/` | [Upload one file as Base64](../upload-base64/) in JSON. |\n| `GET /files/{db}/{id}-{checksum}.{ext}` | [Open or download a file](../file-links/). Public, no token. |\n\n`{db}` is the storage name, for example `photos`. The storage must exist; create it in [Storages](../../guides/storages/).\n\n## Send the token\n\nEvery upload needs an [API token](../../guides/api-tokens/). Send it in one of two ways:\n\n- as the `token` query argument:\n\n```bash\ncurl -F file=@sunset.png \"https://files.example.com/upload/photos/?token=YOUR_TOKEN\"\n```\n\n- or in the `x-token` header:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/\"\n```\n\nThe header keeps the token out of server logs and browser history, so prefer it when your app can set headers.\n\n## What comes back\n\nA successful upload answers `200` with JSON that describes the file:\n\n```json\n{\"id\":\"JapO3b1e961f\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1e961f-pn.png\"}\n```\n\n| Field | Meaning |\n|---|---|\n| `id` | The file ID in the storage. |\n| `name` | The file name. |\n| `size` | Size in bytes. |\n| `type` | The content type. |\n| `width`, `height` | Image size in pixels; `0` for other files. |\n| `ext` | The file extension. |\n| `url` | The [link](../file-links/) to the file. Relative, unless you add `hostname=1`. |\n\nSave `id` and `url` in your app. Errors come back as a JSON array with an `error` text. See [Errors and limits](../errors/).\n\n## Cross-origin requests\n\nThe upload endpoints allow cross-origin requests, so a web page on another domain can upload directly. See [Upload from a web page](../../recipes/upload-from-browser/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOO2qj61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/reference/rest-api/","project":"openfiles","version":"1-0","section":"reference","language":"de","title":"Übersicht der REST API","summary":"Die Endpunkte, die deine Apps aufrufen, wie du das Token mitschickst und was zurückkommt.","markdown":"---\ntitle: \"Übersicht der REST API\"\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/reference/rest-api/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Übersicht der REST API\n\n> Die Endpunkte, die deine Apps aufrufen, wie du das Token mitschickst und was zurückkommt.\n\nDeine Apps sprechen über HTTP mit OpenFiles. Die Adresse jedes Endpunkts beginnt mit deiner OpenFiles-Adresse, zum Beispiel `https://files.example.com`.\n\n## Endpunkte\n\n| Methode und Pfad | Was er macht |\n|---|---|\n| `POST /upload/{db}/` | [Dateien hochladen](../upload/) als `multipart/form-data`. |\n| `POST /files/{db}/` | Dasselbe wie `/upload/{db}/`. |\n| `POST /base64/{db}/` | [Eine Datei als Base64 hochladen](../upload-base64/) in JSON. |\n| `GET /files/{db}/{id}-{checksum}.{ext}` | [Eine Datei öffnen oder herunterladen](../file-links/). Öffentlich, ohne Token. |\n\n`{db}` ist der Name des Speichers, zum Beispiel `photos`. Der Speicher muss existieren; erstelle ihn unter [Speicher](../../guides/storages/).\n\n## Das Token mitschicken\n\nJeder Upload braucht ein [API-Token](../../guides/api-tokens/). Schick es auf eine von zwei Arten mit:\n\n- als Query-Argument `token`:\n\n```bash\ncurl -F file=@sunset.png \"https://files.example.com/upload/photos/?token=YOUR_TOKEN\"\n```\n\n- oder im Header `x-token`:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/\"\n```\n\nMit dem Header landet das Token nicht in Server-Logs und im Browserverlauf. Verwende ihn also, wenn deine App Header setzen kann.\n\n## Was zurückkommt\n\nEin erfolgreicher Upload antwortet mit `200` und JSON, das die Datei beschreibt:\n\n```json\n{\"id\":\"JapO3b1e961f\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1e961f-pn.png\"}\n```\n\n| Feld | Bedeutung |\n|---|---|\n| `id` | Die Datei-ID im Speicher. |\n| `name` | Der Dateiname. |\n| `size` | Größe in Bytes. |\n| `type` | Der Inhaltstyp. |\n| `width`, `height` | Bildgröße in Pixeln; `0` bei anderen Dateien. |\n| `ext` | Die Dateiendung. |\n| `url` | Der [Link](../file-links/) zur Datei. Relativ, außer du fügst `hostname=1` hinzu. |\n\nSpeichere `id` und `url` in deiner App. Fehler kommen als JSON-Array mit einem `error`-Text zurück. Mehr dazu unter [Fehler und Grenzen](../errors/).\n\n## Cross-Origin-Anfragen\n\nDie Upload-Endpunkte erlauben Cross-Origin-Anfragen, eine Webseite auf einer anderen Domain kann also direkt hochladen. Mehr dazu unter [Von einer Webseite hochladen](../../recipes/upload-from-browser/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOO2qj61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/reference/rest-api/","project":"openfiles","version":"1-0","section":"reference","language":"es","title":"Resumen de la API REST","summary":"Los endpoints a los que llaman tus apps, cómo enviar el token y qué devuelven.","markdown":"---\ntitle: Resumen de la API REST\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/reference/rest-api/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Resumen de la API REST\n\n> Los endpoints a los que llaman tus apps, cómo enviar el token y qué devuelven.\n\nTus apps hablan con OpenFiles por HTTP. La dirección de cada endpoint empieza por la dirección de tu OpenFiles, por ejemplo `https://files.example.com`.\n\n## Endpoints\n\n| Método y ruta | Qué hace |\n|---|---|\n| `POST /upload/{db}/` | [Sube archivos](../upload/) como `multipart/form-data`. |\n| `POST /files/{db}/` | Lo mismo que `/upload/{db}/`. |\n| `POST /base64/{db}/` | [Sube un archivo en Base64](../upload-base64/) dentro de un JSON. |\n| `GET /files/{db}/{id}-{checksum}.{ext}` | [Abre o descarga un archivo](../file-links/). Público, sin token. |\n\n`{db}` es el nombre del almacén, por ejemplo `photos`. El almacén tiene que existir; créalo en [Almacenes](../../guides/storages/).\n\n## Enviar el token\n\nCada subida necesita un [token de API](../../guides/api-tokens/). Envíalo de una de estas dos formas:\n\n- como argumento de consulta `token`:\n\n```bash\ncurl -F file=@sunset.png \"https://files.example.com/upload/photos/?token=YOUR_TOKEN\"\n```\n\n- o en la cabecera `x-token`:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/\"\n```\n\nLa cabecera mantiene el token fuera de los registros del servidor y del historial del navegador, así que úsala cuando tu app pueda poner cabeceras.\n\n## Qué devuelve\n\nUna subida correcta responde `200` con un JSON que describe el archivo:\n\n```json\n{\"id\":\"JapO3b1e961f\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1e961f-pn.png\"}\n```\n\n| Campo | Significado |\n|---|---|\n| `id` | El ID del archivo en el almacén. |\n| `name` | El nombre del archivo. |\n| `size` | El tamaño en bytes. |\n| `type` | El tipo de contenido. |\n| `width`, `height` | El tamaño de la imagen en píxeles; `0` en otros archivos. |\n| `ext` | La extensión del archivo. |\n| `url` | El [enlace](../file-links/) al archivo. Relativo, salvo que añadas `hostname=1`. |\n\nGuarda `id` y `url` en tu app. Los errores llegan como un array JSON con un texto `error`. Consulta [Errores y límites](../errors/).\n\n## Peticiones de otros orígenes\n\nLos endpoints de subida permiten peticiones de otros orígenes, así que una página web de otro dominio puede subir archivos directamente. Consulta [Subir desde una página web](../../recipes/upload-from-browser/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOO2qj61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/reference/rest-api/","project":"openfiles","version":"1-0","section":"reference","language":"fr","title":"Vue d’ensemble de l’API REST","summary":"Les endpoints qu’appellent tes applications, comment envoyer le jeton et ce qui revient.","markdown":"---\ntitle: \"Vue d’ensemble de l’API REST\"\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/reference/rest-api/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Vue d’ensemble de l’API REST\n\n> Les endpoints qu’appellent tes applications, comment envoyer le jeton et ce qui revient.\n\nTes applications parlent à OpenFiles en HTTP. L’adresse de chaque endpoint commence par ton adresse OpenFiles, par exemple `https://files.example.com`.\n\n## Endpoints\n\n| Méthode et chemin | Ce qu’il fait |\n|---|---|\n| `POST /upload/{db}/` | [Envoyer des fichiers](../upload/) en `multipart/form-data`. |\n| `POST /files/{db}/` | La même chose que `/upload/{db}/`. |\n| `POST /base64/{db}/` | [Envoyer un fichier en Base64](../upload-base64/) dans du JSON. |\n| `GET /files/{db}/{id}-{checksum}.{ext}` | [Ouvrir ou télécharger un fichier](../file-links/). Public, sans jeton. |\n\n`{db}` est le nom du stockage, par exemple `photos`. Le stockage doit exister ; crée-le dans [Stockages](../../guides/storages/).\n\n## Envoyer le jeton\n\nChaque envoi a besoin d’un [jeton d’API](../../guides/api-tokens/). Envoie-le de l’une de ces deux façons :\n\n- comme argument de requête `token` :\n\n```bash\ncurl -F file=@sunset.png \"https://files.example.com/upload/photos/?token=YOUR_TOKEN\"\n```\n\n- ou dans l’en-tête `x-token` :\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/\"\n```\n\nL’en-tête garde le jeton hors des journaux du serveur et de l’historique du navigateur : préfère-le quand ton application peut définir des en-têtes.\n\n## Ce qui revient\n\nUn envoi réussi répond `200` avec du JSON qui décrit le fichier :\n\n```json\n{\"id\":\"JapO3b1e961f\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1e961f-pn.png\"}\n```\n\n| Champ | Signification |\n|---|---|\n| `id` | L’ID du fichier dans le stockage. |\n| `name` | Le nom du fichier. |\n| `size` | La taille en octets. |\n| `type` | Le type de contenu. |\n| `width`, `height` | La taille de l’image en pixels ; `0` pour les autres fichiers. |\n| `ext` | L’extension du fichier. |\n| `url` | Le [lien](../file-links/) vers le fichier. Relatif, sauf si tu ajoutes `hostname=1`. |\n\nEnregistre `id` et `url` dans ton application. Les erreurs reviennent sous forme de tableau JSON avec un texte `error`. Consulte [Erreurs et limites](../errors/).\n\n## Requêtes cross-origin\n\nLes endpoints d’envoi acceptent les requêtes cross-origin : une page web d’un autre domaine peut donc envoyer des fichiers directement. Consulte [Envoyer depuis une page web](../../recipes/upload-from-browser/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOO2qj61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/reference/rest-api/","project":"openfiles","version":"1-0","section":"reference","language":"it","title":"Panoramica della REST API","summary":"Gli endpoint che chiamano le tue app, come inviare il token e cosa torna indietro.","markdown":"---\ntitle: Panoramica della REST API\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/reference/rest-api/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Panoramica della REST API\n\n> Gli endpoint che chiamano le tue app, come inviare il token e cosa torna indietro.\n\nLe tue app comunicano con OpenFiles via HTTP. L'indirizzo di ogni endpoint inizia con l'indirizzo del tuo OpenFiles, per esempio `https://files.example.com`.\n\n## Endpoint\n\n| Metodo e percorso | Cosa fa |\n|---|---|\n| `POST /upload/{db}/` | [Carica file](../upload/) come `multipart/form-data`. |\n| `POST /files/{db}/` | Lo stesso di `/upload/{db}/`. |\n| `POST /base64/{db}/` | [Carica un file in Base64](../upload-base64/) in JSON. |\n| `GET /files/{db}/{id}-{checksum}.{ext}` | [Apre o scarica un file](../file-links/). Pubblico, senza token. |\n\n`{db}` è il nome dello storage, per esempio `photos`. Lo storage deve esistere; crealo in [Storage](../../guides/storages/).\n\n## Inviare il token\n\nOgni caricamento richiede un [token API](../../guides/api-tokens/). Invialo in uno di due modi:\n\n- come argomento di query `token`:\n\n```bash\ncurl -F file=@sunset.png \"https://files.example.com/upload/photos/?token=YOUR_TOKEN\"\n```\n\n- oppure nell'header `x-token`:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/\"\n```\n\nL'header tiene il token fuori dai log del server e dalla cronologia del browser, quindi preferiscilo quando la tua app può impostare gli header.\n\n## Cosa torna indietro\n\nUn caricamento riuscito risponde `200` con un JSON che descrive il file:\n\n```json\n{\"id\":\"JapO3b1e961f\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1e961f-pn.png\"}\n```\n\n| Campo | Significato |\n|---|---|\n| `id` | L'ID del file nello storage. |\n| `name` | Il nome del file. |\n| `size` | Dimensione in byte. |\n| `type` | Il content type. |\n| `width`, `height` | Dimensione dell'immagine in pixel; `0` per gli altri file. |\n| `ext` | L'estensione del file. |\n| `url` | Il [link](../file-links/) al file. Relativo, a meno che tu non aggiunga `hostname=1`. |\n\nSalva `id` e `url` nella tua app. Gli errori tornano come array JSON con un testo `error`. Leggi [Errori e limiti](../errors/).\n\n## Richieste cross-origin\n\nGli endpoint di caricamento accettano richieste cross-origin, quindi una pagina web su un altro dominio può caricare direttamente. Leggi [Caricare da una pagina web](../../recipes/upload-from-browser/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOO2qj61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/reference/rest-api/","project":"openfiles","version":"1-0","section":"reference","language":"sk","title":"Prehľad REST API","summary":"Koncové body, ktoré tvoje aplikácie volajú, ako poslať token a čo sa vráti.","markdown":"---\ntitle: \"Prehľad REST API\"\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/reference/rest-api/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Prehľad REST API\n\n> Koncové body, ktoré tvoje aplikácie volajú, ako poslať token a čo sa vráti.\n\nTvoje aplikácie komunikujú s OpenFiles cez HTTP. Adresa každého koncového bodu začína adresou tvojho OpenFiles, napríklad `https://files.example.com`.\n\n## Koncové body\n\n| Metóda a cesta | Čo robí |\n|---|---|\n| `POST /upload/{db}/` | [Nahrá súbory](../upload/) ako `multipart/form-data`. |\n| `POST /files/{db}/` | To isté ako `/upload/{db}/`. |\n| `POST /base64/{db}/` | [Nahrá jeden súbor ako Base64](../upload-base64/) v JSON. |\n| `GET /files/{db}/{id}-{checksum}.{ext}` | [Otvorí alebo stiahne súbor](../file-links/). Verejné, bez tokenu. |\n\n`{db}` je názov úložiska, napríklad `photos`. Úložisko musí existovať; vytvoríš ho v [Úložiskách](../../guides/storages/).\n\n## Posielanie tokenu\n\nKaždé nahrávanie potrebuje [API token](../../guides/api-tokens/). Pošli ho jedným z dvoch spôsobov:\n\n- ako argument dotazu `token`:\n\n```bash\ncurl -F file=@sunset.png \"https://files.example.com/upload/photos/?token=YOUR_TOKEN\"\n```\n\n- alebo v hlavičke `x-token`:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/\"\n```\n\nHlavička drží token mimo záznamov servera a histórie prehliadača, preto ju uprednostni, keď tvoja aplikácia vie nastaviť hlavičky.\n\n## Čo sa vráti\n\nÚspešné nahranie odpovie `200` s JSON, ktorý opisuje súbor:\n\n```json\n{\"id\":\"JapO3b1e961f\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1e961f-pn.png\"}\n```\n\n| Pole | Význam |\n|---|---|\n| `id` | ID súboru v úložisku. |\n| `name` | Názov súboru. |\n| `size` | Veľkosť v bajtoch. |\n| `type` | Typ obsahu. |\n| `width`, `height` | Rozmery obrázka v pixeloch; `0` pri iných súboroch. |\n| `ext` | Prípona súboru. |\n| `url` | [Odkaz](../file-links/) na súbor. Relatívny, pokiaľ nepridáš `hostname=1`. |\n\nUlož si v aplikácii `id` a `url`. Chyby sa vracajú ako pole JSON s textom `error`. Pozri si [Chyby a limity](../errors/).\n\n## Požiadavky z iných domén\n\nKoncové body na nahrávanie povoľujú požiadavky z iných domén (cross-origin), takže webová stránka na inej doméne môže nahrávať priamo. Pozri si [Nahrávanie z webovej stránky](../../recipes/upload-from-browser/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOR2uj61f","url":"https://totaljs.es/docs/openfiles/1-0/reference/upload/","project":"openfiles","version":"1-0","section":"reference","language":"en","title":"Upload files","summary":"POST /upload/{db}/: upload one or more files as multipart/form-data.","markdown":"---\ntitle: Upload files\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/reference/upload/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Upload files\n\n> POST /upload/{db}/: upload one or more files as multipart/form-data.\n\n```text\nPOST /upload/{db}/\nPOST /files/{db}/\n```\n\nBoth paths do the same. Send the files as `multipart/form-data`, with the [token](../rest-api/) in the `token` query argument or the `x-token` header. The token needs **Upload files** and the storage `{db}`. A request can be up to 100 MB.\n\n## Query arguments\n\n| Argument | Meaning |\n|---|---|\n| `token` | The API token, if you do not use the `x-token` header. |\n| `hostname=1` | Return an absolute `url` with the OpenFiles address. |\n| `id` | Your own ID for the uploaded file. Use letters and digits only. |\n\n## One file\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/\"\n```\n\nThe answer is one object:\n\n```json\n{\"id\":\"JapO3b1e961f\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1e961f-pn.png\"}\n```\n\n## Several files\n\nSend several file fields in one request:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file1=@sea.png -F file2=@forest.png \"https://files.example.com/upload/photos/\"\n```\n\nThe answer is an array, one object per file:\n\n```json\n[{\"id\":\"JapO3b1f960f\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1f960f-pn.png\"},{\"id\":\"JapO3b1g961f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1g961f-pp.png\"}]\n```\n\n## Absolute link and your own ID\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sea.png \"https://files.example.com/upload/photos/?id=homepagebanner&hostname=1\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"https://files.example.com/files/photos/homepagebanner-14s.png\"}\n```\n\nYou can also set the ID per file with a form field named after the file field plus `_id`. Here the file field is `file`, so the ID field is `file_id`:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@forest.png -F file_id=forestthumb \"https://files.example.com/upload/photos/\"\n```\n\n```json\n{\"id\":\"forestthumb\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/forestthumb-xf.png\"}\n```\n\nWhen you upload again with an ID that exists, the link serves the new file. See [Replace a file at the same link](../../recipes/replace-file/).\n\n## Any kind of file\n\nAny file type is accepted. For files that are not images, `width` and `height` are `0`:\n\n```json\n{\"id\":\"JapO3b1h960f\",\"name\":\"price-list.txt\",\"size\":38,\"type\":\"text/plain\",\"width\":0,\"height\":0,\"ext\":\"txt\",\"url\":\"/files/photos/JapO3b1h960f-pp.txt\"}\n```\n\nSee [Errors and limits](../errors/) for the failures.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOR2uj61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/reference/upload/","project":"openfiles","version":"1-0","section":"reference","language":"de","title":"Dateien hochladen","summary":"POST /upload/{db}/: Lade eine oder mehrere Dateien als multipart/form-data hoch.","markdown":"---\ntitle: Dateien hochladen\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/reference/upload/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Dateien hochladen\n\n> POST /upload/{db}/: Lade eine oder mehrere Dateien als multipart/form-data hoch.\n\n```text\nPOST /upload/{db}/\nPOST /files/{db}/\n```\n\nBeide Pfade machen dasselbe. Schick die Dateien als `multipart/form-data`, mit dem [Token](../rest-api/) im Query-Argument `token` oder im Header `x-token`. Das Token braucht **Upload files** und den Speicher `{db}`. Eine Anfrage darf bis zu 100 MB groß sein.\n\n## Query-Argumente\n\n| Argument | Bedeutung |\n|---|---|\n| `token` | Das API-Token, wenn du nicht den Header `x-token` verwendest. |\n| `hostname=1` | Gibt eine absolute `url` mit der OpenFiles-Adresse zurück. |\n| `id` | Deine eigene ID für die hochgeladene Datei. Verwende nur Buchstaben und Ziffern. |\n\n## Eine Datei\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/\"\n```\n\nDie Antwort ist ein Objekt:\n\n```json\n{\"id\":\"JapO3b1e961f\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1e961f-pn.png\"}\n```\n\n## Mehrere Dateien\n\nSchick mehrere Dateifelder in einer Anfrage:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file1=@sea.png -F file2=@forest.png \"https://files.example.com/upload/photos/\"\n```\n\nDie Antwort ist ein Array, mit einem Objekt pro Datei:\n\n```json\n[{\"id\":\"JapO3b1f960f\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1f960f-pn.png\"},{\"id\":\"JapO3b1g961f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1g961f-pp.png\"}]\n```\n\n## Absoluter Link und eigene ID\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sea.png \"https://files.example.com/upload/photos/?id=homepagebanner&hostname=1\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"https://files.example.com/files/photos/homepagebanner-14s.png\"}\n```\n\nDu kannst die ID auch pro Datei festlegen, mit einem Formularfeld, das wie das Dateifeld plus `_id` heißt. Hier ist das Dateifeld `file`, das ID-Feld also `file_id`:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@forest.png -F file_id=forestthumb \"https://files.example.com/upload/photos/\"\n```\n\n```json\n{\"id\":\"forestthumb\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/forestthumb-xf.png\"}\n```\n\nWenn du noch einmal mit einer bestehenden ID hochlädst, liefert der Link die neue Datei. Mehr dazu unter [Eine Datei unter demselben Link ersetzen](../../recipes/replace-file/).\n\n## Jede Art von Datei\n\nJeder Dateityp wird angenommen. Bei Dateien, die keine Bilder sind, sind `width` und `height` gleich `0`:\n\n```json\n{\"id\":\"JapO3b1h960f\",\"name\":\"price-list.txt\",\"size\":38,\"type\":\"text/plain\",\"width\":0,\"height\":0,\"ext\":\"txt\",\"url\":\"/files/photos/JapO3b1h960f-pp.txt\"}\n```\n\nDie möglichen Fehler findest du unter [Fehler und Grenzen](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOR2uj61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/reference/upload/","project":"openfiles","version":"1-0","section":"reference","language":"es","title":"Subir archivos","summary":"POST /upload/{db}/: sube uno o varios archivos como multipart/form-data.","markdown":"---\ntitle: Subir archivos\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/reference/upload/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Subir archivos\n\n> POST /upload/{db}/: sube uno o varios archivos como multipart/form-data.\n\n```text\nPOST /upload/{db}/\nPOST /files/{db}/\n```\n\nLas dos rutas hacen lo mismo. Envía los archivos como `multipart/form-data`, con el [token](../rest-api/) en el argumento de consulta `token` o en la cabecera `x-token`. El token necesita **Upload files** y el almacén `{db}`. Una petición puede ocupar hasta 100 MB.\n\n## Argumentos de consulta\n\n| Argumento | Significado |\n|---|---|\n| `token` | El token de API, si no usas la cabecera `x-token`. |\n| `hostname=1` | Devuelve un `url` absoluto con la dirección de OpenFiles. |\n| `id` | Tu propio ID para el archivo subido. Usa solo letras y dígitos. |\n\n## Un archivo\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/\"\n```\n\nLa respuesta es un objeto:\n\n```json\n{\"id\":\"JapO3b1e961f\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1e961f-pn.png\"}\n```\n\n## Varios archivos\n\nEnvía varios campos de archivo en una sola petición:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file1=@sea.png -F file2=@forest.png \"https://files.example.com/upload/photos/\"\n```\n\nLa respuesta es un array, con un objeto por archivo:\n\n```json\n[{\"id\":\"JapO3b1f960f\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1f960f-pn.png\"},{\"id\":\"JapO3b1g961f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1g961f-pp.png\"}]\n```\n\n## Enlace absoluto y tu propio ID\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sea.png \"https://files.example.com/upload/photos/?id=homepagebanner&hostname=1\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"https://files.example.com/files/photos/homepagebanner-14s.png\"}\n```\n\nTambién puedes poner el ID de cada archivo con un campo de formulario que se llame como el campo del archivo más `_id`. Aquí el campo del archivo es `file`, así que el campo del ID es `file_id`:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@forest.png -F file_id=forestthumb \"https://files.example.com/upload/photos/\"\n```\n\n```json\n{\"id\":\"forestthumb\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/forestthumb-xf.png\"}\n```\n\nSi vuelves a subir con un ID que ya existe, el enlace sirve el archivo nuevo. Consulta [Sustituir un archivo en el mismo enlace](../../recipes/replace-file/).\n\n## Cualquier tipo de archivo\n\nSe acepta cualquier tipo de archivo. En los archivos que no son imágenes, `width` y `height` valen `0`:\n\n```json\n{\"id\":\"JapO3b1h960f\",\"name\":\"price-list.txt\",\"size\":38,\"type\":\"text/plain\",\"width\":0,\"height\":0,\"ext\":\"txt\",\"url\":\"/files/photos/JapO3b1h960f-pp.txt\"}\n```\n\nConsulta [Errores y límites](../errors/) para ver los fallos.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOR2uj61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/reference/upload/","project":"openfiles","version":"1-0","section":"reference","language":"fr","title":"Envoyer des fichiers","summary":"POST /upload/{db}/ : envoie un ou plusieurs fichiers en multipart/form-data.","markdown":"---\ntitle: Envoyer des fichiers\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/reference/upload/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Envoyer des fichiers\n\n> POST /upload/{db}/ : envoie un ou plusieurs fichiers en multipart/form-data.\n\n```text\nPOST /upload/{db}/\nPOST /files/{db}/\n```\n\nLes deux chemins font la même chose. Envoie les fichiers en `multipart/form-data`, avec le [jeton](../rest-api/) dans l’argument de requête `token` ou dans l’en-tête `x-token`. Le jeton a besoin de **Upload files** et du stockage `{db}`. Une requête peut aller jusqu’à 100 Mo.\n\n## Arguments de requête\n\n| Argument | Signification |\n|---|---|\n| `token` | Le jeton d’API, si tu n’utilises pas l’en-tête `x-token`. |\n| `hostname=1` | Renvoie une `url` absolue avec l’adresse d’OpenFiles. |\n| `id` | Ton propre ID pour le fichier envoyé. Utilise uniquement des lettres et des chiffres. |\n\n## Un fichier\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/\"\n```\n\nLa réponse est un objet :\n\n```json\n{\"id\":\"JapO3b1e961f\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1e961f-pn.png\"}\n```\n\n## Plusieurs fichiers\n\nEnvoie plusieurs champs de fichier dans une seule requête :\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file1=@sea.png -F file2=@forest.png \"https://files.example.com/upload/photos/\"\n```\n\nLa réponse est un tableau, avec un objet par fichier :\n\n```json\n[{\"id\":\"JapO3b1f960f\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1f960f-pn.png\"},{\"id\":\"JapO3b1g961f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1g961f-pp.png\"}]\n```\n\n## Lien absolu et ton propre ID\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sea.png \"https://files.example.com/upload/photos/?id=homepagebanner&hostname=1\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"https://files.example.com/files/photos/homepagebanner-14s.png\"}\n```\n\nTu peux aussi définir l’ID fichier par fichier avec un champ de formulaire qui porte le nom du champ de fichier suivi de `_id`. Ici, le champ de fichier est `file`, donc le champ de l’ID est `file_id` :\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@forest.png -F file_id=forestthumb \"https://files.example.com/upload/photos/\"\n```\n\n```json\n{\"id\":\"forestthumb\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/forestthumb-xf.png\"}\n```\n\nQuand tu envoies de nouveau avec un ID qui existe, le lien sert le nouveau fichier. Consulte [Remplacer un fichier au même lien](../../recipes/replace-file/).\n\n## Tout type de fichier\n\nTous les types de fichiers sont acceptés. Pour les fichiers qui ne sont pas des images, `width` et `height` valent `0` :\n\n```json\n{\"id\":\"JapO3b1h960f\",\"name\":\"price-list.txt\",\"size\":38,\"type\":\"text/plain\",\"width\":0,\"height\":0,\"ext\":\"txt\",\"url\":\"/files/photos/JapO3b1h960f-pp.txt\"}\n```\n\nConsulte [Erreurs et limites](../errors/) pour les échecs.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOR2uj61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/reference/upload/","project":"openfiles","version":"1-0","section":"reference","language":"it","title":"Caricare file","summary":"POST /upload/{db}/: carica uno o più file come multipart/form-data.","markdown":"---\ntitle: Caricare file\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/reference/upload/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Caricare file\n\n> POST /upload/{db}/: carica uno o più file come multipart/form-data.\n\n```text\nPOST /upload/{db}/\nPOST /files/{db}/\n```\n\nEntrambi i percorsi fanno la stessa cosa. Invia i file come `multipart/form-data`, con il [token](../rest-api/) nell'argomento di query `token` o nell'header `x-token`. Il token ha bisogno di **Upload files** e dello storage `{db}`. Una richiesta può arrivare a 100 MB.\n\n## Argomenti di query\n\n| Argomento | Significato |\n|---|---|\n| `token` | Il token API, se non usi l'header `x-token`. |\n| `hostname=1` | Restituisce un `url` assoluto con l'indirizzo di OpenFiles. |\n| `id` | Un tuo ID per il file caricato. Usa solo lettere e cifre. |\n\n## Un file\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/\"\n```\n\nLa risposta è un oggetto:\n\n```json\n{\"id\":\"JapO3b1e961f\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1e961f-pn.png\"}\n```\n\n## Più file\n\nInvia più campi file in una sola richiesta:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file1=@sea.png -F file2=@forest.png \"https://files.example.com/upload/photos/\"\n```\n\nLa risposta è un array, con un oggetto per ogni file:\n\n```json\n[{\"id\":\"JapO3b1f960f\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1f960f-pn.png\"},{\"id\":\"JapO3b1g961f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1g961f-pp.png\"}]\n```\n\n## Link assoluto e un tuo ID\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sea.png \"https://files.example.com/upload/photos/?id=homepagebanner&hostname=1\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"https://files.example.com/files/photos/homepagebanner-14s.png\"}\n```\n\nPuoi anche impostare l'ID per ogni file con un campo del modulo chiamato come il campo file più `_id`. Qui il campo file è `file`, quindi il campo dell'ID è `file_id`:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@forest.png -F file_id=forestthumb \"https://files.example.com/upload/photos/\"\n```\n\n```json\n{\"id\":\"forestthumb\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/forestthumb-xf.png\"}\n```\n\nQuando carichi di nuovo con un ID che esiste già, il link serve il nuovo file. Leggi [Sostituire un file allo stesso link](../../recipes/replace-file/).\n\n## Qualsiasi tipo di file\n\nViene accettato qualsiasi tipo di file. Per i file che non sono immagini, `width` e `height` valgono `0`:\n\n```json\n{\"id\":\"JapO3b1h960f\",\"name\":\"price-list.txt\",\"size\":38,\"type\":\"text/plain\",\"width\":0,\"height\":0,\"ext\":\"txt\",\"url\":\"/files/photos/JapO3b1h960f-pp.txt\"}\n```\n\nLeggi [Errori e limiti](../errors/) per i casi di errore.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOR2uj61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/reference/upload/","project":"openfiles","version":"1-0","section":"reference","language":"sk","title":"Nahrávanie súborov","summary":"POST /upload/{db}/: nahraj jeden alebo viac súborov ako multipart/form-data.","markdown":"---\ntitle: \"Nahrávanie súborov\"\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/reference/upload/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Nahrávanie súborov\n\n> POST /upload/{db}/: nahraj jeden alebo viac súborov ako multipart/form-data.\n\n```text\nPOST /upload/{db}/\nPOST /files/{db}/\n```\n\nObe cesty robia to isté. Pošli súbory ako `multipart/form-data`, s [tokenom](../rest-api/) v argumente dotazu `token` alebo v hlavičke `x-token`. Token potrebuje **Upload files** a úložisko `{db}`. Požiadavka môže mať až 100 MB.\n\n## Argumenty dotazu\n\n| Argument | Význam |\n|---|---|\n| `token` | API token, ak nepoužívaš hlavičku `x-token`. |\n| `hostname=1` | Vráti absolútne `url` s adresou OpenFiles. |\n| `id` | Tvoje vlastné ID nahraného súboru. Používaj len písmená a číslice. |\n\n## Jeden súbor\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/\"\n```\n\nOdpoveď je jeden objekt:\n\n```json\n{\"id\":\"JapO3b1e961f\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1e961f-pn.png\"}\n```\n\n## Viac súborov\n\nPošli v jednej požiadavke viac polí so súbormi:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file1=@sea.png -F file2=@forest.png \"https://files.example.com/upload/photos/\"\n```\n\nOdpoveď je pole s jedným objektom pre každý súbor:\n\n```json\n[{\"id\":\"JapO3b1f960f\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1f960f-pn.png\"},{\"id\":\"JapO3b1g961f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/JapO3b1g961f-pp.png\"}]\n```\n\n## Absolútny odkaz a vlastné ID\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sea.png \"https://files.example.com/upload/photos/?id=homepagebanner&hostname=1\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"https://files.example.com/files/photos/homepagebanner-14s.png\"}\n```\n\nID môžeš nastaviť aj pre každý súbor zvlášť, poľom formulára pomenovaným podľa poľa so súborom s príponou `_id`. Tu je pole so súborom `file`, takže pole s ID je `file_id`:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@forest.png -F file_id=forestthumb \"https://files.example.com/upload/photos/\"\n```\n\n```json\n{\"id\":\"forestthumb\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/forestthumb-xf.png\"}\n```\n\nKeď nahráš súbor znova s ID, ktoré už existuje, odkaz bude poskytovať nový súbor. Pozri si [Nahradenie súboru pod tým istým odkazom](../../recipes/replace-file/).\n\n## Akýkoľvek druh súboru\n\nPrijme sa akýkoľvek typ súboru. Pri súboroch, ktoré nie sú obrázky, sú `width` a `height` rovné `0`:\n\n```json\n{\"id\":\"JapO3b1h960f\",\"name\":\"price-list.txt\",\"size\":38,\"type\":\"text/plain\",\"width\":0,\"height\":0,\"ext\":\"txt\",\"url\":\"/files/photos/JapO3b1h960f-pp.txt\"}\n```\n\nChyby nájdeš v [Chyby a limity](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOP2sj61f","url":"https://totaljs.es/docs/openfiles/1-0/reference/upload-base64/","project":"openfiles","version":"1-0","section":"reference","language":"en","title":"Upload Base64","summary":"POST /base64/{db}/: upload one file sent as a Base64 data URI in JSON.","markdown":"---\ntitle: Upload Base64\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/reference/upload-base64/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Upload Base64\n\n> POST /base64/{db}/: upload one file sent as a Base64 data URI in JSON.\n\n```text\nPOST /base64/{db}/\n```\n\nUse this endpoint when your app has the file as a data URI, for example from a canvas or a clipboard paste. Send JSON with the [token](../rest-api/) in the `token` query argument or the `x-token` header. The token needs **Upload files** and the storage `{db}`. A request can be up to 10 MB.\n\n## Body\n\n| Field | Meaning |\n|---|---|\n| `name` or `filename` | The file name, with extension. Required. |\n| `file` or `data` | The file as a data URI: `data:<content type>;base64,<data>`. Required. |\n| `id` | Your own ID for the file (optional). Letters and digits only. |\n\nThe query arguments `hostname=1` and `id` work as in [Upload files](../upload/).\n\n## Example\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"name\":\"forest.png\",\"file\":\"data:image/png;base64,iVBORw0KGgo...\"}' \\\n  \"https://files.example.com/base64/photos/\"\n```\n\n```json\n{\"id\":\"JapO3c1i961f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"ext\":\"png\",\"width\":400,\"height\":300,\"url\":\"/files/photos/JapO3c1i961f-ps.png\"}\n```\n\n## Errors\n\n| Answer | Cause |\n|---|---|\n| `[{\"error\":\"Invalid file name\"}]` | No `name` or `filename`. |\n| `[{\"error\":\"Invalid file type\"}]` | `file` is not a data URI with a content type. |\n\nBoth come with status `400`. See [Errors and limits](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOP2sj61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/reference/upload-base64/","project":"openfiles","version":"1-0","section":"reference","language":"de","title":"Base64 hochladen","summary":"POST /base64/{db}/: Lade eine Datei hoch, die als Base64-Data-URI in JSON geschickt wird.","markdown":"---\ntitle: Base64 hochladen\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/reference/upload-base64/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Base64 hochladen\n\n> POST /base64/{db}/: Lade eine Datei hoch, die als Base64-Data-URI in JSON geschickt wird.\n\n```text\nPOST /base64/{db}/\n```\n\nVerwende diesen Endpunkt, wenn deine App die Datei als Data-URI hat, zum Beispiel aus einem Canvas oder aus der Zwischenablage. Schick JSON mit dem [Token](../rest-api/) im Query-Argument `token` oder im Header `x-token`. Das Token braucht **Upload files** und den Speicher `{db}`. Eine Anfrage darf bis zu 10 MB groß sein.\n\n## Body\n\n| Feld | Bedeutung |\n|---|---|\n| `name` oder `filename` | Der Dateiname, mit Endung. Pflicht. |\n| `file` oder `data` | Die Datei als Data-URI: `data:<content type>;base64,<data>`. Pflicht. |\n| `id` | Deine eigene ID für die Datei (optional). Nur Buchstaben und Ziffern. |\n\nDie Query-Argumente `hostname=1` und `id` funktionieren wie unter [Dateien hochladen](../upload/).\n\n## Beispiel\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"name\":\"forest.png\",\"file\":\"data:image/png;base64,iVBORw0KGgo...\"}' \\\n  \"https://files.example.com/base64/photos/\"\n```\n\n```json\n{\"id\":\"JapO3c1i961f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"ext\":\"png\",\"width\":400,\"height\":300,\"url\":\"/files/photos/JapO3c1i961f-ps.png\"}\n```\n\n## Fehler\n\n| Antwort | Ursache |\n|---|---|\n| `[{\"error\":\"Invalid file name\"}]` | Kein `name` oder `filename`. |\n| `[{\"error\":\"Invalid file type\"}]` | `file` ist keine Data-URI mit Inhaltstyp. |\n\nBeide kommen mit Status `400`. Mehr dazu unter [Fehler und Grenzen](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOP2sj61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/reference/upload-base64/","project":"openfiles","version":"1-0","section":"reference","language":"es","title":"Subir en Base64","summary":"POST /base64/{db}/: sube un archivo enviado como data URI en Base64 dentro de un JSON.","markdown":"---\ntitle: Subir en Base64\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/reference/upload-base64/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Subir en Base64\n\n> POST /base64/{db}/: sube un archivo enviado como data URI en Base64 dentro de un JSON.\n\n```text\nPOST /base64/{db}/\n```\n\nUsa este endpoint cuando tu app tiene el archivo como data URI, por ejemplo de un canvas o de algo pegado desde el portapapeles. Envía un JSON con el [token](../rest-api/) en el argumento de consulta `token` o en la cabecera `x-token`. El token necesita **Upload files** y el almacén `{db}`. Una petición puede ocupar hasta 10 MB.\n\n## Cuerpo\n\n| Campo | Significado |\n|---|---|\n| `name` o `filename` | El nombre del archivo, con extensión. Obligatorio. |\n| `file` o `data` | El archivo como data URI: `data:<content type>;base64,<data>`. Obligatorio. |\n| `id` | Tu propio ID para el archivo (opcional). Solo letras y dígitos. |\n\nLos argumentos de consulta `hostname=1` e `id` funcionan como en [Subir archivos](../upload/).\n\n## Ejemplo\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"name\":\"forest.png\",\"file\":\"data:image/png;base64,iVBORw0KGgo...\"}' \\\n  \"https://files.example.com/base64/photos/\"\n```\n\n```json\n{\"id\":\"JapO3c1i961f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"ext\":\"png\",\"width\":400,\"height\":300,\"url\":\"/files/photos/JapO3c1i961f-ps.png\"}\n```\n\n## Errores\n\n| Respuesta | Causa |\n|---|---|\n| `[{\"error\":\"Invalid file name\"}]` | No hay `name` ni `filename`. |\n| `[{\"error\":\"Invalid file type\"}]` | `file` no es un data URI con tipo de contenido. |\n\nLos dos llegan con el estado `400`. Consulta [Errores y límites](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOP2sj61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/reference/upload-base64/","project":"openfiles","version":"1-0","section":"reference","language":"fr","title":"Envoyer en Base64","summary":"POST /base64/{db}/ : envoie un fichier transmis sous forme de data URI Base64 dans du JSON.","markdown":"---\ntitle: Envoyer en Base64\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/reference/upload-base64/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Envoyer en Base64\n\n> POST /base64/{db}/ : envoie un fichier transmis sous forme de data URI Base64 dans du JSON.\n\n```text\nPOST /base64/{db}/\n```\n\nUtilise cet endpoint quand ton application a le fichier sous forme de data URI, par exemple depuis un canvas ou un collage du presse-papiers. Envoie du JSON avec le [jeton](../rest-api/) dans l’argument de requête `token` ou dans l’en-tête `x-token`. Le jeton a besoin de **Upload files** et du stockage `{db}`. Une requête peut aller jusqu’à 10 Mo.\n\n## Corps\n\n| Champ | Signification |\n|---|---|\n| `name` ou `filename` | Le nom du fichier, avec l’extension. Obligatoire. |\n| `file` ou `data` | Le fichier sous forme de data URI : `data:<content type>;base64,<data>`. Obligatoire. |\n| `id` | Ton propre ID pour le fichier (facultatif). Lettres et chiffres uniquement. |\n\nLes arguments de requête `hostname=1` et `id` fonctionnent comme dans [Envoyer des fichiers](../upload/).\n\n## Exemple\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"name\":\"forest.png\",\"file\":\"data:image/png;base64,iVBORw0KGgo...\"}' \\\n  \"https://files.example.com/base64/photos/\"\n```\n\n```json\n{\"id\":\"JapO3c1i961f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"ext\":\"png\",\"width\":400,\"height\":300,\"url\":\"/files/photos/JapO3c1i961f-ps.png\"}\n```\n\n## Erreurs\n\n| Réponse | Cause |\n|---|---|\n| `[{\"error\":\"Invalid file name\"}]` | Pas de `name` ni de `filename`. |\n| `[{\"error\":\"Invalid file type\"}]` | `file` n’est pas une data URI avec un type de contenu. |\n\nLes deux arrivent avec le statut `400`. Consulte [Erreurs et limites](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOP2sj61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/reference/upload-base64/","project":"openfiles","version":"1-0","section":"reference","language":"it","title":"Caricare in Base64","summary":"POST /base64/{db}/: carica un file inviato come data URI Base64 in JSON.","markdown":"---\ntitle: Caricare in Base64\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/reference/upload-base64/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Caricare in Base64\n\n> POST /base64/{db}/: carica un file inviato come data URI Base64 in JSON.\n\n```text\nPOST /base64/{db}/\n```\n\nUsa questo endpoint quando la tua app ha il file come data URI, per esempio da un canvas o da un incolla dagli appunti. Invia un JSON con il [token](../rest-api/) nell'argomento di query `token` o nell'header `x-token`. Il token ha bisogno di **Upload files** e dello storage `{db}`. Una richiesta può arrivare a 10 MB.\n\n## Corpo\n\n| Campo | Significato |\n|---|---|\n| `name` o `filename` | Il nome del file, con estensione. Obbligatorio. |\n| `file` o `data` | Il file come data URI: `data:<content type>;base64,<data>`. Obbligatorio. |\n| `id` | Un tuo ID per il file (facoltativo). Solo lettere e cifre. |\n\nGli argomenti di query `hostname=1` e `id` funzionano come in [Caricare file](../upload/).\n\n## Esempio\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"name\":\"forest.png\",\"file\":\"data:image/png;base64,iVBORw0KGgo...\"}' \\\n  \"https://files.example.com/base64/photos/\"\n```\n\n```json\n{\"id\":\"JapO3c1i961f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"ext\":\"png\",\"width\":400,\"height\":300,\"url\":\"/files/photos/JapO3c1i961f-ps.png\"}\n```\n\n## Errori\n\n| Risposta | Causa |\n|---|---|\n| `[{\"error\":\"Invalid file name\"}]` | Nessun `name` o `filename`. |\n| `[{\"error\":\"Invalid file type\"}]` | `file` non è un data URI con un content type. |\n\nEntrambi arrivano con lo stato `400`. Leggi [Errori e limiti](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOP2sj61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/reference/upload-base64/","project":"openfiles","version":"1-0","section":"reference","language":"sk","title":"Nahrávanie v Base64","summary":"POST /base64/{db}/: nahraj jeden súbor poslaný ako data URI v Base64 v JSON.","markdown":"---\ntitle: \"Nahrávanie v Base64\"\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/reference/upload-base64/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Nahrávanie v Base64\n\n> POST /base64/{db}/: nahraj jeden súbor poslaný ako data URI v Base64 v JSON.\n\n```text\nPOST /base64/{db}/\n```\n\nTento koncový bod použi, keď má tvoja aplikácia súbor ako data URI, napríklad z plátna (canvas) alebo z vloženia zo schránky. Pošli JSON s [tokenom](../rest-api/) v argumente dotazu `token` alebo v hlavičke `x-token`. Token potrebuje **Upload files** a úložisko `{db}`. Požiadavka môže mať až 10 MB.\n\n## Telo požiadavky\n\n| Pole | Význam |\n|---|---|\n| `name` alebo `filename` | Názov súboru s príponou. Povinné. |\n| `file` alebo `data` | Súbor ako data URI: `data:<content type>;base64,<data>`. Povinné. |\n| `id` | Tvoje vlastné ID súboru (nepovinné). Len písmená a číslice. |\n\nArgumenty dotazu `hostname=1` a `id` fungujú ako v [Nahrávanie súborov](../upload/).\n\n## Príklad\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -H \"content-type: application/json\" \\\n  -d '{\"name\":\"forest.png\",\"file\":\"data:image/png;base64,iVBORw0KGgo...\"}' \\\n  \"https://files.example.com/base64/photos/\"\n```\n\n```json\n{\"id\":\"JapO3c1i961f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"ext\":\"png\",\"width\":400,\"height\":300,\"url\":\"/files/photos/JapO3c1i961f-ps.png\"}\n```\n\n## Chyby\n\n| Odpoveď | Príčina |\n|---|---|\n| `[{\"error\":\"Invalid file name\"}]` | Chýba `name` aj `filename`. |\n| `[{\"error\":\"Invalid file type\"}]` | `file` nie je data URI s typom obsahu. |\n\nObe prichádzajú so stavom `400`. Pozri si [Chyby a limity](../errors/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOM2oj61f","url":"https://totaljs.es/docs/openfiles/1-0/reference/file-links/","project":"openfiles","version":"1-0","section":"reference","language":"en","title":"File links","summary":"The public link of a stored file, how to force a download and what the answer contains.","markdown":"---\ntitle: File links\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/reference/file-links/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# File links\n\n> The public link of a stored file, how to force a download and what the answer contains.\n\nEvery file has a public link in this form:\n\n```text\n/files/{db}/{id}-{checksum}.{ext}\n```\n\nFor example `/files/photos/JapO3b1e961f-pn.png`. You get it in the `url` field of every upload answer. Use it as it is; do not build it yourself, because the checksum part is calculated by OpenFiles.\n\n## Open a file\n\nThe link needs no token and no sign-in. Anyone who has it can open the file, so put it in an `<img>` tag, a page or an email:\n\n```html\n<img src=\"https://files.example.com/files/photos/JapO3b1e961f-pn.png\" alt=\"Sunset\">\n```\n\nThe answer has the file's content type. For images it also has the size in headers:\n\n```text\nHTTP/1.1 200 OK\nx-width: 640\nx-height: 480\nx-size: 2795\ncontent-type: image/png\n```\n\n## Force a download\n\nAdd `?download=1` to make the browser save the file under its name instead of showing it:\n\n```text\n/files/photos/JapMXB1db60f-qt.png?download=1\n```\n\nThe answer then has:\n\n```text\ncontent-disposition: attachment; filename*=utf-8''sunset.png\n```\n\nThe name is the current file name, so a file you [renamed](../../guides/rename-remove-files/) downloads with its new name.\n\n## When a link answers 404\n\n- The file was removed, or its storage was dropped.\n- The checksum part is wrong, for example because the link was typed by hand.\n- The file was uploaded with an ID that contains a hyphen. Use IDs with letters and digits only.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOM2oj61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/reference/file-links/","project":"openfiles","version":"1-0","section":"reference","language":"de","title":"Dateilinks","summary":"Der öffentliche Link einer gespeicherten Datei, wie du einen Download erzwingst und was die Antwort enthält.","markdown":"---\ntitle: Dateilinks\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/reference/file-links/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Dateilinks\n\n> Der öffentliche Link einer gespeicherten Datei, wie du einen Download erzwingst und was die Antwort enthält.\n\nJede Datei hat einen öffentlichen Link in dieser Form:\n\n```text\n/files/{db}/{id}-{checksum}.{ext}\n```\n\nZum Beispiel `/files/photos/JapO3b1e961f-pn.png`. Du bekommst ihn im Feld `url` jeder Upload-Antwort. Verwende ihn so, wie er ist; bau ihn nicht selbst zusammen, denn den Prüfsummen-Teil berechnet OpenFiles.\n\n## Eine Datei öffnen\n\nDer Link braucht weder Token noch Anmeldung. Wer ihn hat, kann die Datei öffnen, du kannst ihn also in ein `<img>`-Tag, eine Seite oder eine E-Mail einbauen:\n\n```html\n<img src=\"https://files.example.com/files/photos/JapO3b1e961f-pn.png\" alt=\"Sunset\">\n```\n\nDie Antwort hat den Inhaltstyp der Datei. Bei Bildern enthält sie außerdem die Größe in Headern:\n\n```text\nHTTP/1.1 200 OK\nx-width: 640\nx-height: 480\nx-size: 2795\ncontent-type: image/png\n```\n\n## Einen Download erzwingen\n\nHäng `?download=1` an, damit der Browser die Datei unter ihrem Namen speichert, statt sie anzuzeigen:\n\n```text\n/files/photos/JapMXB1db60f-qt.png?download=1\n```\n\nDie Antwort enthält dann:\n\n```text\ncontent-disposition: attachment; filename*=utf-8''sunset.png\n```\n\nDer Name ist der aktuelle Dateiname, eine Datei, die du [umbenannt](../../guides/rename-remove-files/) hast, wird also mit ihrem neuen Namen heruntergeladen.\n\n## Wenn ein Link mit 404 antwortet\n\n- Die Datei wurde entfernt, oder ihr Speicher wurde gelöscht.\n- Der Prüfsummen-Teil ist falsch, zum Beispiel weil der Link von Hand eingetippt wurde.\n- Die Datei wurde mit einer ID hochgeladen, die einen Bindestrich enthält. Verwende IDs nur mit Buchstaben und Ziffern.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOM2oj61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/reference/file-links/","project":"openfiles","version":"1-0","section":"reference","language":"es","title":"Enlaces de archivos","summary":"El enlace público de un archivo guardado, cómo forzar una descarga y qué contiene la respuesta.","markdown":"---\ntitle: Enlaces de archivos\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/reference/file-links/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Enlaces de archivos\n\n> El enlace público de un archivo guardado, cómo forzar una descarga y qué contiene la respuesta.\n\nCada archivo tiene un enlace público de esta forma:\n\n```text\n/files/{db}/{id}-{checksum}.{ext}\n```\n\nPor ejemplo `/files/photos/JapO3b1e961f-pn.png`. Lo recibes en el campo `url` de cada respuesta de subida. Úsalo tal cual; no lo construyas tú, porque la parte del checksum la calcula OpenFiles.\n\n## Abrir un archivo\n\nEl enlace no necesita token ni inicio de sesión. Cualquiera que lo tenga puede abrir el archivo, así que puedes ponerlo en una etiqueta `<img>`, en una página o en un correo:\n\n```html\n<img src=\"https://files.example.com/files/photos/JapO3b1e961f-pn.png\" alt=\"Sunset\">\n```\n\nLa respuesta lleva el tipo de contenido del archivo. En las imágenes también lleva el tamaño en las cabeceras:\n\n```text\nHTTP/1.1 200 OK\nx-width: 640\nx-height: 480\nx-size: 2795\ncontent-type: image/png\n```\n\n## Forzar una descarga\n\nAñade `?download=1` para que el navegador guarde el archivo con su nombre en vez de mostrarlo:\n\n```text\n/files/photos/JapMXB1db60f-qt.png?download=1\n```\n\nEntonces la respuesta lleva:\n\n```text\ncontent-disposition: attachment; filename*=utf-8''sunset.png\n```\n\nEl nombre es el nombre actual del archivo, así que un archivo que has [renombrado](../../guides/rename-remove-files/) se descarga con su nombre nuevo.\n\n## Cuando un enlace responde 404\n\n- El archivo se eliminó, o se eliminó su almacén.\n- La parte del checksum es incorrecta, por ejemplo porque alguien escribió el enlace a mano.\n- El archivo se subió con un ID que contiene un guion. Usa IDs solo con letras y dígitos.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOM2oj61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/reference/file-links/","project":"openfiles","version":"1-0","section":"reference","language":"fr","title":"Liens des fichiers","summary":"Le lien public d’un fichier stocké, comment forcer un téléchargement et ce que contient la réponse.","markdown":"---\ntitle: Liens des fichiers\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/reference/file-links/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Liens des fichiers\n\n> Le lien public d’un fichier stocké, comment forcer un téléchargement et ce que contient la réponse.\n\nChaque fichier a un lien public de cette forme :\n\n```text\n/files/{db}/{id}-{checksum}.{ext}\n```\n\nPar exemple `/files/photos/JapO3b1e961f-pn.png`. Tu le reçois dans le champ `url` de chaque réponse d’envoi. Utilise-le tel quel ; ne le construis pas toi-même, car la partie somme de contrôle est calculée par OpenFiles.\n\n## Ouvrir un fichier\n\nLe lien ne demande ni jeton ni connexion. Toute personne qui l’a peut ouvrir le fichier : mets-le donc dans une balise `<img>`, une page ou un e-mail :\n\n```html\n<img src=\"https://files.example.com/files/photos/JapO3b1e961f-pn.png\" alt=\"Sunset\">\n```\n\nLa réponse porte le type de contenu du fichier. Pour les images, elle donne aussi la taille dans les en-têtes :\n\n```text\nHTTP/1.1 200 OK\nx-width: 640\nx-height: 480\nx-size: 2795\ncontent-type: image/png\n```\n\n## Forcer un téléchargement\n\nAjoute `?download=1` pour que le navigateur enregistre le fichier sous son nom au lieu de l’afficher :\n\n```text\n/files/photos/JapMXB1db60f-qt.png?download=1\n```\n\nLa réponse contient alors :\n\n```text\ncontent-disposition: attachment; filename*=utf-8''sunset.png\n```\n\nLe nom est le nom actuel du fichier : un fichier que tu as [renommé](../../guides/rename-remove-files/) se télécharge donc sous son nouveau nom.\n\n## Quand un lien répond 404\n\n- Le fichier a été supprimé, ou son stockage a été supprimé.\n- La partie somme de contrôle est fausse, par exemple parce que le lien a été tapé à la main.\n- Le fichier a été envoyé avec un ID qui contient un tiret. Utilise des ID composés uniquement de lettres et de chiffres.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOM2oj61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/reference/file-links/","project":"openfiles","version":"1-0","section":"reference","language":"it","title":"Link dei file","summary":"Il link pubblico di un file salvato, come forzare un download e cosa contiene la risposta.","markdown":"---\ntitle: Link dei file\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/reference/file-links/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Link dei file\n\n> Il link pubblico di un file salvato, come forzare un download e cosa contiene la risposta.\n\nOgni file ha un link pubblico in questa forma:\n\n```text\n/files/{db}/{id}-{checksum}.{ext}\n```\n\nPer esempio `/files/photos/JapO3b1e961f-pn.png`. Lo ricevi nel campo `url` di ogni risposta di caricamento. Usalo così com'è; non costruirlo da solo, perché la parte del checksum la calcola OpenFiles.\n\n## Aprire un file\n\nIl link non richiede token né accesso. Chiunque lo abbia può aprire il file, quindi puoi metterlo in un tag `<img>`, in una pagina o in un'email:\n\n```html\n<img src=\"https://files.example.com/files/photos/JapO3b1e961f-pn.png\" alt=\"Sunset\">\n```\n\nLa risposta ha il content type del file. Per le immagini ha anche la dimensione negli header:\n\n```text\nHTTP/1.1 200 OK\nx-width: 640\nx-height: 480\nx-size: 2795\ncontent-type: image/png\n```\n\n## Forzare un download\n\nAggiungi `?download=1` per far salvare al browser il file con il suo nome invece di mostrarlo:\n\n```text\n/files/photos/JapMXB1db60f-qt.png?download=1\n```\n\nLa risposta allora contiene:\n\n```text\ncontent-disposition: attachment; filename*=utf-8''sunset.png\n```\n\nIl nome è quello attuale del file, quindi un file che hai [rinominato](../../guides/rename-remove-files/) si scarica con il nuovo nome.\n\n## Quando un link risponde 404\n\n- Il file è stato rimosso, oppure il suo storage è stato eliminato.\n- La parte del checksum è sbagliata, per esempio perché il link è stato scritto a mano.\n- Il file è stato caricato con un ID che contiene un trattino. Usa ID con sole lettere e cifre.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOM2oj61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/reference/file-links/","project":"openfiles","version":"1-0","section":"reference","language":"sk","title":"Odkazy na súbory","summary":"Verejný odkaz na uložený súbor, ako vynútiť stiahnutie a čo obsahuje odpoveď.","markdown":"---\ntitle: \"Odkazy na súbory\"\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/reference/file-links/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Odkazy na súbory\n\n> Verejný odkaz na uložený súbor, ako vynútiť stiahnutie a čo obsahuje odpoveď.\n\nKaždý súbor má verejný odkaz v tomto tvare:\n\n```text\n/files/{db}/{id}-{checksum}.{ext}\n```\n\nNapríklad `/files/photos/JapO3b1e961f-pn.png`. Dostaneš ho v poli `url` v každej odpovedi na nahranie. Použi ho tak, ako je; neskladaj si ho sám, pretože časť s kontrolným súčtom vypočíta OpenFiles.\n\n## Otvorenie súboru\n\nOdkaz nepotrebuje token ani prihlásenie. Ktokoľvek, kto ho má, súbor otvorí, takže ho môžeš dať do značky `<img>`, na stránku alebo do e-mailu:\n\n```html\n<img src=\"https://files.example.com/files/photos/JapO3b1e961f-pn.png\" alt=\"Sunset\">\n```\n\nOdpoveď má typ obsahu súboru. Pri obrázkoch obsahuje v hlavičkách aj rozmery:\n\n```text\nHTTP/1.1 200 OK\nx-width: 640\nx-height: 480\nx-size: 2795\ncontent-type: image/png\n```\n\n## Vynútenie stiahnutia\n\nPridaj `?download=1` a prehliadač súbor namiesto zobrazenia uloží pod jeho názvom:\n\n```text\n/files/photos/JapMXB1db60f-qt.png?download=1\n```\n\nOdpoveď potom obsahuje:\n\n```text\ncontent-disposition: attachment; filename*=utf-8''sunset.png\n```\n\nNázov je aktuálny názov súboru, takže súbor, ktorý si [premenoval](../../guides/rename-remove-files/), sa stiahne pod novým názvom.\n\n## Keď odkaz odpovedá 404\n\n- Súbor bol odstránený alebo bolo zrušené jeho úložisko.\n- Časť s kontrolným súčtom je nesprávna, napríklad preto, že odkaz bol napísaný ručne.\n- Súbor bol nahraný s ID, ktoré obsahuje pomlčku. Používaj ID len z písmen a číslic.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOL2mj61f","url":"https://totaljs.es/docs/openfiles/1-0/reference/errors/","project":"openfiles","version":"1-0","section":"reference","language":"en","title":"Errors and limits","summary":"The status codes and error texts of the upload API and its size limits.","markdown":"---\ntitle: Errors and limits\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/reference/errors/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Errors and limits\n\n> The status codes and error texts of the upload API and its size limits.\n\nErrors come back as a JSON array with one object per error:\n\n```json\n[{\"error\":\"Not allowed\"}]\n```\n\n## Status codes\n\n| Status | Answer | Cause |\n|---|---|---|\n| `401` | `[{\"error\":\"401: Unauthorized\"}]` | No token, or the token is wrong. |\n| `400` | `[{\"error\":\"Not allowed\"}]` | The token lacks **Upload files** or the storage, or the storage does not exist. |\n| `400` | `[{\"error\":\"Invalid file name\"}]` | Base64 upload without `name`. |\n| `400` | `[{\"error\":\"Invalid file type\"}]` | Base64 upload whose `file` is not a data URI. |\n| `431` | (no JSON) | The request is larger than the limit. |\n| `404` | | A [file link](../file-links/) that does not point to a file. |\n\nSee [Token permissions](../../guides/token-permissions/) to fix `Not allowed`.\n\n## Size limits\n\n| Endpoint | Largest request |\n|---|---|\n| `POST /upload/{db}/`, `POST /files/{db}/` | 100 MB |\n| `POST /base64/{db}/` | 10 MB (the Base64 text, which is about a third larger than the file) |\n\nThe limit is per request. To upload more data, send the files in several requests.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOL2mj61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/reference/errors/","project":"openfiles","version":"1-0","section":"reference","language":"de","title":"Fehler und Grenzen","summary":"Die Statuscodes und Fehlertexte der Upload-API und ihre Größengrenzen.","markdown":"---\ntitle: Fehler und Grenzen\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/reference/errors/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Fehler und Grenzen\n\n> Die Statuscodes und Fehlertexte der Upload-API und ihre Größengrenzen.\n\nFehler kommen als JSON-Array zurück, mit einem Objekt pro Fehler:\n\n```json\n[{\"error\":\"Not allowed\"}]\n```\n\n## Statuscodes\n\n| Status | Antwort | Ursache |\n|---|---|---|\n| `401` | `[{\"error\":\"401: Unauthorized\"}]` | Kein Token, oder das Token ist falsch. |\n| `400` | `[{\"error\":\"Not allowed\"}]` | Dem Token fehlt **Upload files** oder der Speicher, oder der Speicher existiert nicht. |\n| `400` | `[{\"error\":\"Invalid file name\"}]` | Base64-Upload ohne `name`. |\n| `400` | `[{\"error\":\"Invalid file type\"}]` | Base64-Upload, dessen `file` keine Data-URI ist. |\n| `431` | (kein JSON) | Die Anfrage ist größer als die Grenze. |\n| `404` | | Ein [Dateilink](../file-links/), der auf keine Datei zeigt. |\n\nWie du `Not allowed` behebst, steht unter [Token-Berechtigungen](../../guides/token-permissions/).\n\n## Größengrenzen\n\n| Endpunkt | Größte Anfrage |\n|---|---|\n| `POST /upload/{db}/`, `POST /files/{db}/` | 100 MB |\n| `POST /base64/{db}/` | 10 MB (der Base64-Text, der etwa ein Drittel größer ist als die Datei) |\n\nDie Grenze gilt pro Anfrage. Um mehr Daten hochzuladen, schick die Dateien in mehreren Anfragen.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOL2mj61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/reference/errors/","project":"openfiles","version":"1-0","section":"reference","language":"es","title":"Errores y límites","summary":"Los códigos de estado y los textos de error de la API de subida, y sus límites de tamaño.","markdown":"---\ntitle: \"Errores y límites\"\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/reference/errors/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Errores y límites\n\n> Los códigos de estado y los textos de error de la API de subida, y sus límites de tamaño.\n\nLos errores llegan como un array JSON con un objeto por error:\n\n```json\n[{\"error\":\"Not allowed\"}]\n```\n\n## Códigos de estado\n\n| Estado | Respuesta | Causa |\n|---|---|---|\n| `401` | `[{\"error\":\"401: Unauthorized\"}]` | No hay token, o el token es incorrecto. |\n| `400` | `[{\"error\":\"Not allowed\"}]` | Al token le falta **Upload files** o el almacén, o el almacén no existe. |\n| `400` | `[{\"error\":\"Invalid file name\"}]` | Subida en Base64 sin `name`. |\n| `400` | `[{\"error\":\"Invalid file type\"}]` | Subida en Base64 cuyo `file` no es un data URI. |\n| `431` | (sin JSON) | La petición supera el límite. |\n| `404` | | Un [enlace de archivo](../file-links/) que no apunta a ningún archivo. |\n\nConsulta [Permisos de los tokens](../../guides/token-permissions/) para resolver `Not allowed`.\n\n## Límites de tamaño\n\n| Endpoint | Petición más grande |\n|---|---|\n| `POST /upload/{db}/`, `POST /files/{db}/` | 100 MB |\n| `POST /base64/{db}/` | 10 MB (el texto en Base64, que ocupa más o menos un tercio más que el archivo) |\n\nEl límite es por petición. Para subir más datos, envía los archivos en varias peticiones.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOL2mj61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/reference/errors/","project":"openfiles","version":"1-0","section":"reference","language":"fr","title":"Erreurs et limites","summary":"Les codes de statut et les textes d’erreur de l’API d’envoi, et ses limites de taille.","markdown":"---\ntitle: Erreurs et limites\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/reference/errors/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Erreurs et limites\n\n> Les codes de statut et les textes d’erreur de l’API d’envoi, et ses limites de taille.\n\nLes erreurs reviennent sous forme de tableau JSON, avec un objet par erreur :\n\n```json\n[{\"error\":\"Not allowed\"}]\n```\n\n## Codes de statut\n\n| Statut | Réponse | Cause |\n|---|---|---|\n| `401` | `[{\"error\":\"401: Unauthorized\"}]` | Pas de jeton, ou le jeton est faux. |\n| `400` | `[{\"error\":\"Not allowed\"}]` | Il manque au jeton **Upload files** ou le stockage, ou le stockage n’existe pas. |\n| `400` | `[{\"error\":\"Invalid file name\"}]` | Envoi Base64 sans `name`. |\n| `400` | `[{\"error\":\"Invalid file type\"}]` | Envoi Base64 dont le `file` n’est pas une data URI. |\n| `431` | (pas de JSON) | La requête dépasse la limite. |\n| `404` | | Un [lien de fichier](../file-links/) qui ne pointe vers aucun fichier. |\n\nConsulte [Permissions des jetons](../../guides/token-permissions/) pour corriger `Not allowed`.\n\n## Limites de taille\n\n| Endpoint | Plus grande requête |\n|---|---|\n| `POST /upload/{db}/`, `POST /files/{db}/` | 100 Mo |\n| `POST /base64/{db}/` | 10 Mo (le texte Base64, environ un tiers plus gros que le fichier) |\n\nLa limite s’applique par requête. Pour envoyer plus de données, répartis les fichiers sur plusieurs requêtes.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOL2mj61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/reference/errors/","project":"openfiles","version":"1-0","section":"reference","language":"it","title":"Errori e limiti","summary":"I codici di stato e i testi di errore dell'API di caricamento e i suoi limiti di dimensione.","markdown":"---\ntitle: Errori e limiti\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/reference/errors/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Errori e limiti\n\n> I codici di stato e i testi di errore dell'API di caricamento e i suoi limiti di dimensione.\n\nGli errori tornano come array JSON con un oggetto per ogni errore:\n\n```json\n[{\"error\":\"Not allowed\"}]\n```\n\n## Codici di stato\n\n| Stato | Risposta | Causa |\n|---|---|---|\n| `401` | `[{\"error\":\"401: Unauthorized\"}]` | Nessun token, oppure il token è sbagliato. |\n| `400` | `[{\"error\":\"Not allowed\"}]` | Al token manca **Upload files** o lo storage, oppure lo storage non esiste. |\n| `400` | `[{\"error\":\"Invalid file name\"}]` | Caricamento Base64 senza `name`. |\n| `400` | `[{\"error\":\"Invalid file type\"}]` | Caricamento Base64 il cui `file` non è un data URI. |\n| `431` | (nessun JSON) | La richiesta supera il limite. |\n| `404` | | Un [link di un file](../file-links/) che non punta a un file. |\n\nLeggi [Permessi dei token](../../guides/token-permissions/) per risolvere `Not allowed`.\n\n## Limiti di dimensione\n\n| Endpoint | Richiesta più grande |\n|---|---|\n| `POST /upload/{db}/`, `POST /files/{db}/` | 100 MB |\n| `POST /base64/{db}/` | 10 MB (il testo Base64, che è circa un terzo più grande del file) |\n\nIl limite vale per ogni richiesta. Per caricare più dati, invia i file in più richieste.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOL2mj61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/reference/errors/","project":"openfiles","version":"1-0","section":"reference","language":"sk","title":"Chyby a limity","summary":"Stavové kódy a texty chýb API na nahrávanie a jeho limity veľkosti.","markdown":"---\ntitle: Chyby a limity\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/reference/errors/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Chyby a limity\n\n> Stavové kódy a texty chýb API na nahrávanie a jeho limity veľkosti.\n\nChyby sa vracajú ako pole JSON s jedným objektom pre každú chybu:\n\n```json\n[{\"error\":\"Not allowed\"}]\n```\n\n## Stavové kódy\n\n| Stav | Odpoveď | Príčina |\n|---|---|---|\n| `401` | `[{\"error\":\"401: Unauthorized\"}]` | Chýba token alebo je nesprávny. |\n| `400` | `[{\"error\":\"Not allowed\"}]` | Token nemá **Upload files** alebo úložisko, prípadne úložisko neexistuje. |\n| `400` | `[{\"error\":\"Invalid file name\"}]` | Nahrávanie v Base64 bez `name`. |\n| `400` | `[{\"error\":\"Invalid file type\"}]` | Nahrávanie v Base64, ktorého `file` nie je data URI. |\n| `431` | (žiadny JSON) | Požiadavka je väčšia ako limit. |\n| `404` | | [Odkaz na súbor](../file-links/), ktorý neukazuje na žiadny súbor. |\n\nAko opraviť `Not allowed`, nájdeš v [Oprávnenia tokenov](../../guides/token-permissions/).\n\n## Limity veľkosti\n\n| Koncový bod | Najväčšia požiadavka |\n|---|---|\n| `POST /upload/{db}/`, `POST /files/{db}/` | 100 MB |\n| `POST /base64/{db}/` | 10 MB (text v Base64, ktorý je asi o tretinu väčší ako súbor) |\n\nLimit platí pre jednu požiadavku. Ak chceš nahrať viac dát, pošli súbory v niekoľkých požiadavkách.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOI2ij61f","url":"https://totaljs.es/docs/openfiles/1-0/reference/config/","project":"openfiles","version":"1-0","section":"reference","language":"en","title":"The config file","summary":"The settings in the config file that you may change.","markdown":"---\ntitle: The config file\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/reference/config/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# The config file\n\n> The settings in the config file that you may change.\n\nThe file `config` in the OpenFiles folder holds the start settings, one per line, as `key : value`. Lines that start with `//` are comments. Restart OpenFiles after you change it.\n\nThe file as it comes:\n\n```text\nname                  : OpenFiles\napp                   : openfiles\nicon                  : ti ti-copy\ncdn                   : https://cdn.componentator.com\n$api                  : /api/\n$insecure             : true\n// database              : postgres://user:password@localhost/database\n```\n\n## Settings you may change\n\n| Key | Meaning |\n|---|---|\n| `name` | The app name in the header and browser tab. A name saved in [Settings](../../guides/settings/) replaces it. |\n| `database` | A PostgreSQL connection that indexes the uploaded files. See [Index files in PostgreSQL](../../guides/postgresql/). |\n\nLeave the other keys as they are: the admin interface depends on them.\n\nThe port is not in this file. Pass it on the command line, for example `node index.js 8080`. See [Install from source](../../guides/install-source/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOI2ij61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/reference/config/","project":"openfiles","version":"1-0","section":"reference","language":"de","title":"Die Konfigurationsdatei","summary":"Die Einstellungen in der Konfigurationsdatei, die du ändern darfst.","markdown":"---\ntitle: Die Konfigurationsdatei\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/reference/config/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Die Konfigurationsdatei\n\n> Die Einstellungen in der Konfigurationsdatei, die du ändern darfst.\n\nDie Datei `config` im OpenFiles-Ordner enthält die Starteinstellungen, eine pro Zeile, als `key : value`. Zeilen, die mit `//` beginnen, sind Kommentare. Starte OpenFiles neu, nachdem du sie geändert hast.\n\nDie Datei im Auslieferungszustand:\n\n```text\nname                  : OpenFiles\napp                   : openfiles\nicon                  : ti ti-copy\ncdn                   : https://cdn.componentator.com\n$api                  : /api/\n$insecure             : true\n// database              : postgres://user:password@localhost/database\n```\n\n## Einstellungen, die du ändern darfst\n\n| Schlüssel | Bedeutung |\n|---|---|\n| `name` | Der App-Name in der Kopfzeile und im Browser-Tab. Ein in [Einstellungen](../../guides/settings/) gespeicherter Name ersetzt ihn. |\n| `database` | Eine PostgreSQL-Verbindung, die die hochgeladenen Dateien indexiert. Mehr dazu unter [Dateien in PostgreSQL indexieren](../../guides/postgresql/). |\n\nLass die anderen Schlüssel, wie sie sind: Die Admin-Oberfläche hängt von ihnen ab.\n\nDer Port steht nicht in dieser Datei. Gib ihn auf der Kommandozeile an, zum Beispiel `node index.js 8080`. Mehr dazu unter [Aus dem Quellcode installieren](../../guides/install-source/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOI2ij61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/reference/config/","project":"openfiles","version":"1-0","section":"reference","language":"es","title":"El archivo de configuración","summary":"Los ajustes del archivo de configuración que puedes cambiar.","markdown":"---\ntitle: \"El archivo de configuración\"\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/reference/config/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# El archivo de configuración\n\n> Los ajustes del archivo de configuración que puedes cambiar.\n\nEl archivo `config` de la carpeta de OpenFiles guarda los ajustes de arranque, uno por línea, como `key : value`. Las líneas que empiezan por `//` son comentarios. Reinicia OpenFiles después de cambiarlo.\n\nEl archivo tal como viene:\n\n```text\nname                  : OpenFiles\napp                   : openfiles\nicon                  : ti ti-copy\ncdn                   : https://cdn.componentator.com\n$api                  : /api/\n$insecure             : true\n// database              : postgres://user:password@localhost/database\n```\n\n## Ajustes que puedes cambiar\n\n| Clave | Significado |\n|---|---|\n| `name` | El nombre de la app en la cabecera y en la pestaña del navegador. Un nombre guardado en [Ajustes](../../guides/settings/) lo sustituye. |\n| `database` | Una conexión de PostgreSQL que indexa los archivos subidos. Consulta [Indexar los archivos en PostgreSQL](../../guides/postgresql/). |\n\nDeja las demás claves como están: la interfaz de administración depende de ellas.\n\nEl puerto no está en este archivo. Indícalo en la línea de comandos, por ejemplo `node index.js 8080`. Consulta [Instalar desde el código fuente](../../guides/install-source/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOI2ij61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/reference/config/","project":"openfiles","version":"1-0","section":"reference","language":"fr","title":"Le fichier config","summary":"Les réglages du fichier config que tu peux modifier.","markdown":"---\ntitle: Le fichier config\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/reference/config/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Le fichier config\n\n> Les réglages du fichier config que tu peux modifier.\n\nLe fichier `config`, dans le dossier d’OpenFiles, contient les réglages de démarrage, un par ligne, sous la forme `key : value`. Les lignes qui commencent par `//` sont des commentaires. Redémarre OpenFiles après l’avoir modifié.\n\nLe fichier tel qu’il est livré :\n\n```text\nname                  : OpenFiles\napp                   : openfiles\nicon                  : ti ti-copy\ncdn                   : https://cdn.componentator.com\n$api                  : /api/\n$insecure             : true\n// database              : postgres://user:password@localhost/database\n```\n\n## Réglages que tu peux modifier\n\n| Clé | Signification |\n|---|---|\n| `name` | Le nom de l’application dans l’en-tête et l’onglet du navigateur. Un nom enregistré dans [Réglages](../../guides/settings/) le remplace. |\n| `database` | Une connexion PostgreSQL qui indexe les fichiers envoyés. Consulte [Indexer les fichiers dans PostgreSQL](../../guides/postgresql/). |\n\nLaisse les autres clés telles quelles : l’interface d’administration en dépend.\n\nLe port n’est pas dans ce fichier. Indique-le sur la ligne de commande, par exemple `node index.js 8080`. Consulte [Installer depuis les sources](../../guides/install-source/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOI2ij61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/reference/config/","project":"openfiles","version":"1-0","section":"reference","language":"it","title":"Il file config","summary":"Le impostazioni del file config che puoi cambiare.","markdown":"---\ntitle: Il file config\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/reference/config/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Il file config\n\n> Le impostazioni del file config che puoi cambiare.\n\nIl file `config` nella cartella di OpenFiles contiene le impostazioni di avvio, una per riga, nella forma `key : value`. Le righe che iniziano con `//` sono commenti. Riavvia OpenFiles dopo averlo modificato.\n\nIl file come viene fornito:\n\n```text\nname                  : OpenFiles\napp                   : openfiles\nicon                  : ti ti-copy\ncdn                   : https://cdn.componentator.com\n$api                  : /api/\n$insecure             : true\n// database              : postgres://user:password@localhost/database\n```\n\n## Impostazioni che puoi cambiare\n\n| Chiave | Significato |\n|---|---|\n| `name` | Il nome dell'app nell'intestazione e nella scheda del browser. Un nome salvato in [Settings](../../guides/settings/) lo sostituisce. |\n| `database` | Una connessione PostgreSQL che indicizza i file caricati. Leggi [Indicizzare i file in PostgreSQL](../../guides/postgresql/). |\n\nLascia le altre chiavi come sono: l'interfaccia di amministrazione dipende da loro.\n\nLa porta non è in questo file. Indicala dalla riga di comando, per esempio `node index.js 8080`. Leggi [Installare dal codice sorgente](../../guides/install-source/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOI2ij61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/reference/config/","project":"openfiles","version":"1-0","section":"reference","language":"sk","title":"Konfiguračný súbor","summary":"Nastavenia v konfiguračnom súbore, ktoré môžeš meniť.","markdown":"---\ntitle: \"Konfiguračný súbor\"\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/reference/config/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Konfiguračný súbor\n\n> Nastavenia v konfiguračnom súbore, ktoré môžeš meniť.\n\nSúbor `config` v priečinku OpenFiles obsahuje nastavenia pri spustení, jedno na riadok, v tvare `key : value`. Riadky, ktoré začínajú `//`, sú komentáre. Po zmene OpenFiles reštartuj.\n\nSúbor v pôvodnej podobe:\n\n```text\nname                  : OpenFiles\napp                   : openfiles\nicon                  : ti ti-copy\ncdn                   : https://cdn.componentator.com\n$api                  : /api/\n$insecure             : true\n// database              : postgres://user:password@localhost/database\n```\n\n## Nastavenia, ktoré môžeš meniť\n\n| Kľúč | Význam |\n|---|---|\n| `name` | Názov aplikácie v hlavičke a na karte prehliadača. Nahradí ho názov uložený v [Nastaveniach](../../guides/settings/). |\n| `database` | Pripojenie k PostgreSQL, ktoré indexuje nahrané súbory. Pozri si [Indexovanie súborov v PostgreSQL](../../guides/postgresql/). |\n\nOstatné kľúče nechaj tak, ako sú: administrácia od nich závisí.\n\nPort v tomto súbore nie je. Zadaj ho na príkazovom riadku, napríklad `node index.js 8080`. Pozri si [Inštalácia zo zdrojového kódu](../../guides/install-source/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOJ2kj61f","url":"https://totaljs.es/docs/openfiles/1-0/reference/data-folder/","project":"openfiles","version":"1-0","section":"reference","language":"en","title":"The data folder","summary":"What OpenFiles keeps in the databases folder.","markdown":"---\ntitle: The data folder\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/reference/data-folder/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# The data folder\n\n> What OpenFiles keeps in the databases folder.\n\nOpenFiles keeps all its data in the `databases` folder inside the OpenFiles folder. In the Docker image it is `/www/.src/databases`.\n\n| Item | What it holds |\n|---|---|\n| `fs-{storage}/` | One folder per [storage](../../guides/storages/), for example `fs-photos/`, with the files and their names and sizes. |\n| `memorize_account.json` | The admin account: name, login and the password hash. |\n| `memorize_data.json` | The [API tokens](../../guides/api-tokens/) and the [Settings](../../guides/settings/). |\n\nChanges to tokens and settings are written to `memorize_data.json` a few seconds after you save them.\n\nDo not edit the files by hand while OpenFiles runs. To keep your data safe, copy the whole folder. See [Back up your data](../../guides/backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOJ2kj61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/reference/data-folder/","project":"openfiles","version":"1-0","section":"reference","language":"de","title":"Der Datenordner","summary":"Was OpenFiles im Ordner databases speichert.","markdown":"---\ntitle: Der Datenordner\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/reference/data-folder/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Der Datenordner\n\n> Was OpenFiles im Ordner databases speichert.\n\nOpenFiles speichert alle Daten im Ordner `databases` im OpenFiles-Ordner. Im Docker-Image ist das `/www/.src/databases`.\n\n| Eintrag | Was er enthält |\n|---|---|\n| `fs-{storage}/` | Ein Ordner pro [Speicher](../../guides/storages/), zum Beispiel `fs-photos/`, mit den Dateien samt Namen und Größen. |\n| `memorize_account.json` | Das Admin-Konto: Name, Login und der Passwort-Hash. |\n| `memorize_data.json` | Die [API-Tokens](../../guides/api-tokens/) und die [Einstellungen](../../guides/settings/). |\n\nÄnderungen an Tokens und Einstellungen werden ein paar Sekunden nach dem Speichern in `memorize_data.json` geschrieben.\n\nBearbeite die Dateien nicht von Hand, während OpenFiles läuft. Um deine Daten zu sichern, kopiere den ganzen Ordner. Mehr dazu unter [Deine Daten sichern](../../guides/backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOJ2kj61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/reference/data-folder/","project":"openfiles","version":"1-0","section":"reference","language":"es","title":"La carpeta de datos","summary":"Qué guarda OpenFiles en la carpeta databases.","markdown":"---\ntitle: La carpeta de datos\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/reference/data-folder/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# La carpeta de datos\n\n> Qué guarda OpenFiles en la carpeta databases.\n\nOpenFiles guarda todos sus datos en la carpeta `databases`, dentro de la carpeta de OpenFiles. En la imagen de Docker es `/www/.src/databases`.\n\n| Elemento | Qué contiene |\n|---|---|\n| `fs-{storage}/` | Una carpeta por [almacén](../../guides/storages/), por ejemplo `fs-photos/`, con los archivos y sus nombres y tamaños. |\n| `memorize_account.json` | La cuenta de administrador: nombre, usuario y el hash de la contraseña. |\n| `memorize_data.json` | Los [tokens de API](../../guides/api-tokens/) y los [ajustes](../../guides/settings/). |\n\nLos cambios en los tokens y los ajustes se escriben en `memorize_data.json` unos segundos después de guardarlos.\n\nNo edites los archivos a mano mientras OpenFiles está funcionando. Para proteger tus datos, copia la carpeta entera. Consulta [Hacer copias de seguridad](../../guides/backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOJ2kj61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/reference/data-folder/","project":"openfiles","version":"1-0","section":"reference","language":"fr","title":"Le dossier de données","summary":"Ce qu’OpenFiles garde dans le dossier databases.","markdown":"---\ntitle: \"Le dossier de données\"\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/reference/data-folder/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Le dossier de données\n\n> Ce qu’OpenFiles garde dans le dossier databases.\n\nOpenFiles garde toutes ses données dans le dossier `databases`, dans le dossier d’OpenFiles. Dans l’image Docker, c’est `/www/.src/databases`.\n\n| Élément | Ce qu’il contient |\n|---|---|\n| `fs-{storage}/` | Un dossier par [stockage](../../guides/storages/), par exemple `fs-photos/`, avec les fichiers, leurs noms et leurs tailles. |\n| `memorize_account.json` | Le compte administrateur : nom, identifiant et empreinte du mot de passe. |\n| `memorize_data.json` | Les [jetons d’API](../../guides/api-tokens/) et les [Réglages](../../guides/settings/). |\n\nLes modifications des jetons et des réglages sont écrites dans `memorize_data.json` quelques secondes après que tu les as enregistrées.\n\nNe modifie pas les fichiers à la main pendant qu’OpenFiles tourne. Pour garder tes données en sécurité, copie tout le dossier. Consulte [Sauvegarder tes données](../../guides/backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOJ2kj61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/reference/data-folder/","project":"openfiles","version":"1-0","section":"reference","language":"it","title":"La cartella dei dati","summary":"Cosa conserva OpenFiles nella cartella databases.","markdown":"---\ntitle: La cartella dei dati\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/reference/data-folder/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# La cartella dei dati\n\n> Cosa conserva OpenFiles nella cartella databases.\n\nOpenFiles conserva tutti i suoi dati nella cartella `databases` dentro la cartella di OpenFiles. Nell'immagine Docker è `/www/.src/databases`.\n\n| Elemento | Cosa contiene |\n|---|---|\n| `fs-{storage}/` | Una cartella per ogni [storage](../../guides/storages/), per esempio `fs-photos/`, con i file e i loro nomi e dimensioni. |\n| `memorize_account.json` | L'account amministratore: nome, login e l'hash della password. |\n| `memorize_data.json` | I [token API](../../guides/api-tokens/) e le [impostazioni](../../guides/settings/). |\n\nLe modifiche a token e impostazioni vengono scritte in `memorize_data.json` pochi secondi dopo che le salvi.\n\nNon modificare i file a mano mentre OpenFiles è in funzione. Per tenere al sicuro i tuoi dati, copia l'intera cartella. Leggi [Fare il backup dei dati](../../guides/backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOJ2kj61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/reference/data-folder/","project":"openfiles","version":"1-0","section":"reference","language":"sk","title":"Priečinok s dátami","summary":"Čo OpenFiles uchováva v priečinku databases.","markdown":"---\ntitle: \"Priečinok s dátami\"\nproject: OpenFiles\nversion: 1.0\nsection: reference\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/reference/data-folder/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Priečinok s dátami\n\n> Čo OpenFiles uchováva v priečinku databases.\n\nOpenFiles uchováva všetky svoje dáta v priečinku `databases` v priečinku OpenFiles. V Docker image je to `/www/.src/databases`.\n\n| Položka | Čo obsahuje |\n|---|---|\n| `fs-{storage}/` | Jeden priečinok pre každé [úložisko](../../guides/storages/), napríklad `fs-photos/`, so súbormi a ich názvami a veľkosťami. |\n| `memorize_account.json` | Administrátorský účet: meno, prihlasovacie meno a hash hesla. |\n| `memorize_data.json` | [API tokeny](../../guides/api-tokens/) a [Nastavenia](../../guides/settings/). |\n\nZmeny tokenov a nastavení sa do `memorize_data.json` zapíšu niekoľko sekúnd po uložení.\n\nKým OpenFiles beží, súbory ručne neupravuj. Ak chceš mať dáta v bezpečí, skopíruj celý priečinok. Pozri si [Zálohuj svoje dáta](../../guides/backups/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOG2gj61f","url":"https://totaljs.es/docs/openfiles/1-0/recipes/upload-from-nodejs/","project":"openfiles","version":"1-0","section":"recipes","language":"en","title":"Upload from Node.js","summary":"Send a file from a Node.js app to OpenFiles and keep its link.","markdown":"---\ntitle: Upload from Node.js\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/recipes/upload-from-nodejs/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Upload from Node.js\n\n> Send a file from a Node.js app to OpenFiles and keep its link.\n\nNode.js has `fetch`, `FormData` and `Blob` built in, so you need no extra package.\n\nYou need a storage (here `photos`) and a token with **Upload files** and **photos**. See [API tokens](../../guides/api-tokens/).\n\n**1.** Save this as `upload.js` and replace the address and the token:\n\n```js\nconst Fs = require('fs');\n\nconst OPENFILES = 'https://files.example.com';\nconst TOKEN = 'YOUR_TOKEN';\n\nasync function upload(path, name, type) {\n\tconst form = new FormData();\n\tform.append('file', new Blob([Fs.readFileSync(path)], { type }), name);\n\tconst res = await fetch(OPENFILES + '/upload/photos/?hostname=1', {\n\t\tmethod: 'POST',\n\t\theaders: { 'x-token': TOKEN },\n\t\tbody: form\n\t});\n\tif (!res.ok)\n\t\tthrow new Error('Upload failed: ' + res.status + ' ' + await res.text());\n\treturn res.json();\n}\n\nupload('sunset.png', 'sunset.png', 'image/png').then(console.log);\n```\n\n**2.** Run it:\n\n```bash\nnode upload.js\n```\n\nThe answer describes the file:\n\n```js\n{\n  id: 'JapO8K1j960f',\n  name: 'sunset.png',\n  size: 2795,\n  type: 'image/png',\n  width: 640,\n  height: 480,\n  ext: 'png',\n  url: 'https://files.example.com/files/photos/JapO8K1j960f-p9.png'\n}\n```\n\n**3.** Save `id` and `url` with your own record, for example the product the photo belongs to, and use `url` wherever you show the file.\n\nSee [Upload files](../../reference/upload/) for all options.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOG2gj61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/recipes/upload-from-nodejs/","project":"openfiles","version":"1-0","section":"recipes","language":"de","title":"Von Node.js hochladen","summary":"Schicke eine Datei aus einer Node.js-App an OpenFiles und behalte ihren Link.","markdown":"---\ntitle: Von Node.js hochladen\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/recipes/upload-from-nodejs/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Von Node.js hochladen\n\n> Schicke eine Datei aus einer Node.js-App an OpenFiles und behalte ihren Link.\n\nNode.js hat `fetch`, `FormData` und `Blob` eingebaut, du brauchst also kein zusätzliches Paket.\n\nDu brauchst einen Speicher (hier `photos`) und ein Token mit **Upload files** und **photos**. Mehr dazu unter [API-Tokens](../../guides/api-tokens/).\n\n**1.** Speichere das als `upload.js` und ersetze die Adresse und das Token:\n\n```js\nconst Fs = require('fs');\n\nconst OPENFILES = 'https://files.example.com';\nconst TOKEN = 'YOUR_TOKEN';\n\nasync function upload(path, name, type) {\n\tconst form = new FormData();\n\tform.append('file', new Blob([Fs.readFileSync(path)], { type }), name);\n\tconst res = await fetch(OPENFILES + '/upload/photos/?hostname=1', {\n\t\tmethod: 'POST',\n\t\theaders: { 'x-token': TOKEN },\n\t\tbody: form\n\t});\n\tif (!res.ok)\n\t\tthrow new Error('Upload failed: ' + res.status + ' ' + await res.text());\n\treturn res.json();\n}\n\nupload('sunset.png', 'sunset.png', 'image/png').then(console.log);\n```\n\n**2.** Führe es aus:\n\n```bash\nnode upload.js\n```\n\nDie Antwort beschreibt die Datei:\n\n```js\n{\n  id: 'JapO8K1j960f',\n  name: 'sunset.png',\n  size: 2795,\n  type: 'image/png',\n  width: 640,\n  height: 480,\n  ext: 'png',\n  url: 'https://files.example.com/files/photos/JapO8K1j960f-p9.png'\n}\n```\n\n**3.** Speichere `id` und `url` zusammen mit deinem eigenen Datensatz, zum Beispiel dem Produkt, zu dem das Foto gehört, und verwende `url` überall, wo du die Datei anzeigst.\n\nAlle Optionen findest du unter [Dateien hochladen](../../reference/upload/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOG2gj61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/recipes/upload-from-nodejs/","project":"openfiles","version":"1-0","section":"recipes","language":"es","title":"Subir desde Node.js","summary":"Envía un archivo desde una app de Node.js a OpenFiles y guarda su enlace.","markdown":"---\ntitle: Subir desde Node.js\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/recipes/upload-from-nodejs/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Subir desde Node.js\n\n> Envía un archivo desde una app de Node.js a OpenFiles y guarda su enlace.\n\nNode.js trae `fetch`, `FormData` y `Blob` incorporados, así que no necesitas ningún paquete más.\n\nNecesitas un almacén (aquí `photos`) y un token con **Upload files** y **photos**. Consulta [Tokens de API](../../guides/api-tokens/).\n\n**1.** Guarda esto como `upload.js` y sustituye la dirección y el token:\n\n```js\nconst Fs = require('fs');\n\nconst OPENFILES = 'https://files.example.com';\nconst TOKEN = 'YOUR_TOKEN';\n\nasync function upload(path, name, type) {\n\tconst form = new FormData();\n\tform.append('file', new Blob([Fs.readFileSync(path)], { type }), name);\n\tconst res = await fetch(OPENFILES + '/upload/photos/?hostname=1', {\n\t\tmethod: 'POST',\n\t\theaders: { 'x-token': TOKEN },\n\t\tbody: form\n\t});\n\tif (!res.ok)\n\t\tthrow new Error('Upload failed: ' + res.status + ' ' + await res.text());\n\treturn res.json();\n}\n\nupload('sunset.png', 'sunset.png', 'image/png').then(console.log);\n```\n\n**2.** Ejecútalo:\n\n```bash\nnode upload.js\n```\n\nLa respuesta describe el archivo:\n\n```js\n{\n  id: 'JapO8K1j960f',\n  name: 'sunset.png',\n  size: 2795,\n  type: 'image/png',\n  width: 640,\n  height: 480,\n  ext: 'png',\n  url: 'https://files.example.com/files/photos/JapO8K1j960f-p9.png'\n}\n```\n\n**3.** Guarda `id` y `url` junto con tu propio registro, por ejemplo el producto al que pertenece la foto, y usa `url` allí donde muestres el archivo.\n\nConsulta [Subir archivos](../../reference/upload/) para ver todas las opciones.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOG2gj61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/recipes/upload-from-nodejs/","project":"openfiles","version":"1-0","section":"recipes","language":"fr","title":"Envoyer depuis Node.js","summary":"Envoie un fichier depuis une application Node.js vers OpenFiles et garde son lien.","markdown":"---\ntitle: Envoyer depuis Node.js\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/recipes/upload-from-nodejs/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Envoyer depuis Node.js\n\n> Envoie un fichier depuis une application Node.js vers OpenFiles et garde son lien.\n\nNode.js intègre `fetch`, `FormData` et `Blob` : tu n’as besoin d’aucun paquet en plus.\n\nIl te faut un stockage (ici `photos`) et un jeton avec **Upload files** et **photos**. Consulte [Jetons d’API](../../guides/api-tokens/).\n\n**1.** Enregistre ceci sous `upload.js` et remplace l’adresse et le jeton :\n\n```js\nconst Fs = require('fs');\n\nconst OPENFILES = 'https://files.example.com';\nconst TOKEN = 'YOUR_TOKEN';\n\nasync function upload(path, name, type) {\n\tconst form = new FormData();\n\tform.append('file', new Blob([Fs.readFileSync(path)], { type }), name);\n\tconst res = await fetch(OPENFILES + '/upload/photos/?hostname=1', {\n\t\tmethod: 'POST',\n\t\theaders: { 'x-token': TOKEN },\n\t\tbody: form\n\t});\n\tif (!res.ok)\n\t\tthrow new Error('Upload failed: ' + res.status + ' ' + await res.text());\n\treturn res.json();\n}\n\nupload('sunset.png', 'sunset.png', 'image/png').then(console.log);\n```\n\n**2.** Lance-le :\n\n```bash\nnode upload.js\n```\n\nLa réponse décrit le fichier :\n\n```js\n{\n  id: 'JapO8K1j960f',\n  name: 'sunset.png',\n  size: 2795,\n  type: 'image/png',\n  width: 640,\n  height: 480,\n  ext: 'png',\n  url: 'https://files.example.com/files/photos/JapO8K1j960f-p9.png'\n}\n```\n\n**3.** Enregistre `id` et `url` avec ton propre enregistrement, par exemple le produit auquel appartient la photo, et utilise `url` partout où tu affiches le fichier.\n\nConsulte [Envoyer des fichiers](../../reference/upload/) pour toutes les options.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOG2gj61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/recipes/upload-from-nodejs/","project":"openfiles","version":"1-0","section":"recipes","language":"it","title":"Caricare da Node.js","summary":"Invia un file da un'app Node.js a OpenFiles e conserva il suo link.","markdown":"---\ntitle: Caricare da Node.js\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/recipes/upload-from-nodejs/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Caricare da Node.js\n\n> Invia un file da un'app Node.js a OpenFiles e conserva il suo link.\n\nNode.js ha `fetch`, `FormData` e `Blob` già integrati, quindi non ti serve nessun pacchetto in più.\n\nTi servono uno storage (qui `photos`) e un token con **Upload files** e **photos**. Leggi [Token API](../../guides/api-tokens/).\n\n**1.** Salva questo come `upload.js` e sostituisci l'indirizzo e il token:\n\n```js\nconst Fs = require('fs');\n\nconst OPENFILES = 'https://files.example.com';\nconst TOKEN = 'YOUR_TOKEN';\n\nasync function upload(path, name, type) {\n\tconst form = new FormData();\n\tform.append('file', new Blob([Fs.readFileSync(path)], { type }), name);\n\tconst res = await fetch(OPENFILES + '/upload/photos/?hostname=1', {\n\t\tmethod: 'POST',\n\t\theaders: { 'x-token': TOKEN },\n\t\tbody: form\n\t});\n\tif (!res.ok)\n\t\tthrow new Error('Upload failed: ' + res.status + ' ' + await res.text());\n\treturn res.json();\n}\n\nupload('sunset.png', 'sunset.png', 'image/png').then(console.log);\n```\n\n**2.** Eseguilo:\n\n```bash\nnode upload.js\n```\n\nLa risposta descrive il file:\n\n```js\n{\n  id: 'JapO8K1j960f',\n  name: 'sunset.png',\n  size: 2795,\n  type: 'image/png',\n  width: 640,\n  height: 480,\n  ext: 'png',\n  url: 'https://files.example.com/files/photos/JapO8K1j960f-p9.png'\n}\n```\n\n**3.** Salva `id` e `url` insieme al tuo record, per esempio il prodotto a cui appartiene la foto, e usa `url` ovunque mostri il file.\n\nLeggi [Caricare file](../../reference/upload/) per tutte le opzioni.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOG2gj61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/recipes/upload-from-nodejs/","project":"openfiles","version":"1-0","section":"recipes","language":"sk","title":"Nahrávanie z Node.js","summary":"Pošli súbor z aplikácie v Node.js do OpenFiles a ulož si jeho odkaz.","markdown":"---\ntitle: \"Nahrávanie z Node.js\"\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/recipes/upload-from-nodejs/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Nahrávanie z Node.js\n\n> Pošli súbor z aplikácie v Node.js do OpenFiles a ulož si jeho odkaz.\n\nNode.js má `fetch`, `FormData` a `Blob` priamo v sebe, takže nepotrebuješ žiadny ďalší balík.\n\nPotrebuješ úložisko (tu `photos`) a token s **Upload files** a **photos**. Pozri si [API tokeny](../../guides/api-tokens/).\n\n**1.** Ulož toto ako `upload.js` a nahraď adresu a token:\n\n```js\nconst Fs = require('fs');\n\nconst OPENFILES = 'https://files.example.com';\nconst TOKEN = 'YOUR_TOKEN';\n\nasync function upload(path, name, type) {\n\tconst form = new FormData();\n\tform.append('file', new Blob([Fs.readFileSync(path)], { type }), name);\n\tconst res = await fetch(OPENFILES + '/upload/photos/?hostname=1', {\n\t\tmethod: 'POST',\n\t\theaders: { 'x-token': TOKEN },\n\t\tbody: form\n\t});\n\tif (!res.ok)\n\t\tthrow new Error('Upload failed: ' + res.status + ' ' + await res.text());\n\treturn res.json();\n}\n\nupload('sunset.png', 'sunset.png', 'image/png').then(console.log);\n```\n\n**2.** Spusti to:\n\n```bash\nnode upload.js\n```\n\nOdpoveď opisuje súbor:\n\n```js\n{\n  id: 'JapO8K1j960f',\n  name: 'sunset.png',\n  size: 2795,\n  type: 'image/png',\n  width: 640,\n  height: 480,\n  ext: 'png',\n  url: 'https://files.example.com/files/photos/JapO8K1j960f-p9.png'\n}\n```\n\n**3.** Ulož `id` a `url` k vlastnému záznamu, napríklad k produktu, ku ktorému fotka patrí, a `url` používaj všade, kde súbor zobrazuješ.\n\nVšetky možnosti nájdeš v [Nahrávanie súborov](../../reference/upload/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOF2ej61f","url":"https://totaljs.es/docs/openfiles/1-0/recipes/upload-from-browser/","project":"openfiles","version":"1-0","section":"recipes","language":"en","title":"Upload from a web page","summary":"Let a web page on another domain upload a file directly to OpenFiles.","markdown":"---\ntitle: Upload from a web page\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/recipes/upload-from-browser/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Upload from a web page\n\n> Let a web page on another domain upload a file directly to OpenFiles.\n\nThe upload endpoints allow cross-origin requests, so a page on your website can send a file straight to OpenFiles.\n\nThe token is visible to every visitor of the page. Create a separate token for the page with **Upload files** and one storage only, for example `uploads`. See [Token permissions](../../guides/token-permissions/).\n\n**1.** Add a file field and a script to your page:\n\n```html\n<input type=\"file\" id=\"file\">\n<p id=\"result\"></p>\n\n<script>\ndocument.getElementById('file').addEventListener('change', async function() {\n\tconst data = new FormData();\n\tdata.append('file', this.files[0]);\n\tconst res = await fetch('https://files.example.com/upload/uploads/?hostname=1', {\n\t\tmethod: 'POST',\n\t\theaders: { 'x-token': 'PAGE_TOKEN' },\n\t\tbody: data\n\t});\n\tconst file = await res.json();\n\tdocument.getElementById('result').textContent = res.ok ? file.url : 'Upload failed';\n});\n</script>\n```\n\n**2.** Open the page, choose a file, and the page shows its link.\n\nThe answer is the same as in [Upload files](../../reference/upload/), for example:\n\n```json\n{\"id\":\"JapOAg1di60f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/JapOAg1di60f-rg.png\"}\n```\n\nWhen your server can do the upload instead, prefer that and keep the token on the server: see [Upload from Node.js](../upload-from-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOF2ej61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/recipes/upload-from-browser/","project":"openfiles","version":"1-0","section":"recipes","language":"de","title":"Von einer Webseite hochladen","summary":"Lass eine Webseite auf einer anderen Domain eine Datei direkt zu OpenFiles hochladen.","markdown":"---\ntitle: Von einer Webseite hochladen\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/recipes/upload-from-browser/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Von einer Webseite hochladen\n\n> Lass eine Webseite auf einer anderen Domain eine Datei direkt zu OpenFiles hochladen.\n\nDie Upload-Endpunkte erlauben Cross-Origin-Anfragen, eine Seite auf deiner Website kann also eine Datei direkt an OpenFiles schicken.\n\nDas Token ist für jeden Besucher der Seite sichtbar. Erstelle für die Seite ein eigenes Token mit **Upload files** und nur einem Speicher, zum Beispiel `uploads`. Mehr dazu unter [Token-Berechtigungen](../../guides/token-permissions/).\n\n**1.** Füge deiner Seite ein Dateifeld und ein Skript hinzu:\n\n```html\n<input type=\"file\" id=\"file\">\n<p id=\"result\"></p>\n\n<script>\ndocument.getElementById('file').addEventListener('change', async function() {\n\tconst data = new FormData();\n\tdata.append('file', this.files[0]);\n\tconst res = await fetch('https://files.example.com/upload/uploads/?hostname=1', {\n\t\tmethod: 'POST',\n\t\theaders: { 'x-token': 'PAGE_TOKEN' },\n\t\tbody: data\n\t});\n\tconst file = await res.json();\n\tdocument.getElementById('result').textContent = res.ok ? file.url : 'Upload failed';\n});\n</script>\n```\n\n**2.** Öffne die Seite, wähle eine Datei, und die Seite zeigt ihren Link.\n\nDie Antwort ist dieselbe wie unter [Dateien hochladen](../../reference/upload/), zum Beispiel:\n\n```json\n{\"id\":\"JapOAg1di60f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/JapOAg1di60f-rg.png\"}\n```\n\nWenn stattdessen dein Server den Upload übernehmen kann, ist das besser, und das Token bleibt auf dem Server: Mehr dazu unter [Von Node.js hochladen](../upload-from-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOF2ej61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/recipes/upload-from-browser/","project":"openfiles","version":"1-0","section":"recipes","language":"es","title":"Subir desde una página web","summary":"Deja que una página web de otro dominio suba un archivo directamente a OpenFiles.","markdown":"---\ntitle: \"Subir desde una página web\"\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/recipes/upload-from-browser/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Subir desde una página web\n\n> Deja que una página web de otro dominio suba un archivo directamente a OpenFiles.\n\nLos endpoints de subida permiten peticiones de otros orígenes, así que una página de tu sitio web puede enviar un archivo directamente a OpenFiles.\n\nEl token es visible para cada visitante de la página. Crea un token aparte para la página, solo con **Upload files** y un único almacén, por ejemplo `uploads`. Consulta [Permisos de los tokens](../../guides/token-permissions/).\n\n**1.** Añade a tu página un campo de archivo y un script:\n\n```html\n<input type=\"file\" id=\"file\">\n<p id=\"result\"></p>\n\n<script>\ndocument.getElementById('file').addEventListener('change', async function() {\n\tconst data = new FormData();\n\tdata.append('file', this.files[0]);\n\tconst res = await fetch('https://files.example.com/upload/uploads/?hostname=1', {\n\t\tmethod: 'POST',\n\t\theaders: { 'x-token': 'PAGE_TOKEN' },\n\t\tbody: data\n\t});\n\tconst file = await res.json();\n\tdocument.getElementById('result').textContent = res.ok ? file.url : 'Upload failed';\n});\n</script>\n```\n\n**2.** Abre la página, elige un archivo y la página muestra su enlace.\n\nLa respuesta es la misma que en [Subir archivos](../../reference/upload/), por ejemplo:\n\n```json\n{\"id\":\"JapOAg1di60f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/JapOAg1di60f-rg.png\"}\n```\n\nSi tu servidor puede hacer la subida, mejor hazla allí y guarda el token en el servidor: consulta [Subir desde Node.js](../upload-from-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOF2ej61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/recipes/upload-from-browser/","project":"openfiles","version":"1-0","section":"recipes","language":"fr","title":"Envoyer depuis une page web","summary":"Laisse une page web d’un autre domaine envoyer un fichier directement à OpenFiles.","markdown":"---\ntitle: Envoyer depuis une page web\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/recipes/upload-from-browser/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Envoyer depuis une page web\n\n> Laisse une page web d’un autre domaine envoyer un fichier directement à OpenFiles.\n\nLes endpoints d’envoi acceptent les requêtes cross-origin : une page de ton site web peut donc envoyer un fichier directement à OpenFiles.\n\nLe jeton est visible par chaque visiteur de la page. Crée un jeton à part pour la page, avec **Upload files** et un seul stockage, par exemple `uploads`. Consulte [Permissions des jetons](../../guides/token-permissions/).\n\n**1.** Ajoute un champ de fichier et un script à ta page :\n\n```html\n<input type=\"file\" id=\"file\">\n<p id=\"result\"></p>\n\n<script>\ndocument.getElementById('file').addEventListener('change', async function() {\n\tconst data = new FormData();\n\tdata.append('file', this.files[0]);\n\tconst res = await fetch('https://files.example.com/upload/uploads/?hostname=1', {\n\t\tmethod: 'POST',\n\t\theaders: { 'x-token': 'PAGE_TOKEN' },\n\t\tbody: data\n\t});\n\tconst file = await res.json();\n\tdocument.getElementById('result').textContent = res.ok ? file.url : 'Upload failed';\n});\n</script>\n```\n\n**2.** Ouvre la page, choisis un fichier, et la page affiche son lien.\n\nLa réponse est la même que dans [Envoyer des fichiers](../../reference/upload/), par exemple :\n\n```json\n{\"id\":\"JapOAg1di60f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/JapOAg1di60f-rg.png\"}\n```\n\nQuand ton serveur peut faire l’envoi à la place, préfère cette solution et garde le jeton sur le serveur : consulte [Envoyer depuis Node.js](../upload-from-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOF2ej61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/recipes/upload-from-browser/","project":"openfiles","version":"1-0","section":"recipes","language":"it","title":"Caricare da una pagina web","summary":"Fai caricare un file direttamente in OpenFiles da una pagina web su un altro dominio.","markdown":"---\ntitle: Caricare da una pagina web\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/recipes/upload-from-browser/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Caricare da una pagina web\n\n> Fai caricare un file direttamente in OpenFiles da una pagina web su un altro dominio.\n\nGli endpoint di caricamento accettano richieste cross-origin, quindi una pagina del tuo sito può inviare un file direttamente a OpenFiles.\n\nIl token è visibile a ogni visitatore della pagina. Crea un token separato per la pagina con **Upload files** e un solo storage, per esempio `uploads`. Leggi [Permessi dei token](../../guides/token-permissions/).\n\n**1.** Aggiungi alla tua pagina un campo per il file e uno script:\n\n```html\n<input type=\"file\" id=\"file\">\n<p id=\"result\"></p>\n\n<script>\ndocument.getElementById('file').addEventListener('change', async function() {\n\tconst data = new FormData();\n\tdata.append('file', this.files[0]);\n\tconst res = await fetch('https://files.example.com/upload/uploads/?hostname=1', {\n\t\tmethod: 'POST',\n\t\theaders: { 'x-token': 'PAGE_TOKEN' },\n\t\tbody: data\n\t});\n\tconst file = await res.json();\n\tdocument.getElementById('result').textContent = res.ok ? file.url : 'Upload failed';\n});\n</script>\n```\n\n**2.** Apri la pagina, scegli un file e la pagina mostra il suo link.\n\nLa risposta è la stessa di [Caricare file](../../reference/upload/), per esempio:\n\n```json\n{\"id\":\"JapOAg1di60f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/JapOAg1di60f-rg.png\"}\n```\n\nQuando può farlo il tuo server, preferisci il caricamento dal server e tieni lì il token: leggi [Caricare da Node.js](../upload-from-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOF2ej61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/recipes/upload-from-browser/","project":"openfiles","version":"1-0","section":"recipes","language":"sk","title":"Nahrávanie z webovej stránky","summary":"Nechaj webovú stránku na inej doméne nahrať súbor priamo do OpenFiles.","markdown":"---\ntitle: \"Nahrávanie z webovej stránky\"\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/recipes/upload-from-browser/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Nahrávanie z webovej stránky\n\n> Nechaj webovú stránku na inej doméne nahrať súbor priamo do OpenFiles.\n\nKoncové body na nahrávanie povoľujú požiadavky z iných domén (cross-origin), takže stránka na tvojom webe môže poslať súbor rovno do OpenFiles.\n\nToken vidí každý návštevník stránky. Vytvor pre stránku samostatný token len s **Upload files** a jedným úložiskom, napríklad `uploads`. Pozri si [Oprávnenia tokenov](../../guides/token-permissions/).\n\n**1.** Pridaj na svoju stránku pole na súbor a skript:\n\n```html\n<input type=\"file\" id=\"file\">\n<p id=\"result\"></p>\n\n<script>\ndocument.getElementById('file').addEventListener('change', async function() {\n\tconst data = new FormData();\n\tdata.append('file', this.files[0]);\n\tconst res = await fetch('https://files.example.com/upload/uploads/?hostname=1', {\n\t\tmethod: 'POST',\n\t\theaders: { 'x-token': 'PAGE_TOKEN' },\n\t\tbody: data\n\t});\n\tconst file = await res.json();\n\tdocument.getElementById('result').textContent = res.ok ? file.url : 'Upload failed';\n});\n</script>\n```\n\n**2.** Otvor stránku, vyber súbor a stránka ukáže jeho odkaz.\n\nOdpoveď je rovnaká ako v [Nahrávanie súborov](../../reference/upload/), napríklad:\n\n```json\n{\"id\":\"JapOAg1di60f\",\"name\":\"forest.png\",\"size\":1591,\"type\":\"image/png\",\"width\":400,\"height\":300,\"ext\":\"png\",\"url\":\"/files/photos/JapOAg1di60f-rg.png\"}\n```\n\nKeď môže nahrávanie namiesto toho urobiť tvoj server, uprednostni to a token nechaj na serveri: pozri si [Nahrávanie z Node.js](../upload-from-nodejs/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOD2cj61f","url":"https://totaljs.es/docs/openfiles/1-0/recipes/replace-file/","project":"openfiles","version":"1-0","section":"recipes","language":"en","title":"Replace a file at the same link","summary":"Upload with your own ID so a new version of a file keeps the same link.","markdown":"---\ntitle: Replace a file at the same link\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/recipes/replace-file/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Replace a file at the same link\n\n> Upload with your own ID so a new version of a file keeps the same link.\n\nWhen you upload with your own ID, the link depends only on the storage and that ID. Upload again with the same ID and the same link serves the new file, so pages that show it need no change.\n\n**1.** Upload the first version with an ID made of letters and digits:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sea.png \"https://files.example.com/upload/photos/?id=homepagebanner\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"/files/photos/homepagebanner-14s.png\"}\n```\n\n**2.** Later, upload the new version with the same ID:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/?id=homepagebanner\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/homepagebanner-14s.png\"}\n```\n\nThe `url` is the same, and it now serves `sunset.png`.\n\nBrowsers may keep the old version in their cache for a while. If visitors must see the change at once, add a version to the link in your page, for example `homepagebanner-14s.png?v=2`.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOD2cj61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/recipes/replace-file/","project":"openfiles","version":"1-0","section":"recipes","language":"de","title":"Eine Datei unter demselben Link ersetzen","summary":"Lade mit deiner eigenen ID hoch, damit eine neue Version einer Datei denselben Link behält.","markdown":"---\ntitle: Eine Datei unter demselben Link ersetzen\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/recipes/replace-file/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Eine Datei unter demselben Link ersetzen\n\n> Lade mit deiner eigenen ID hoch, damit eine neue Version einer Datei denselben Link behält.\n\nWenn du mit deiner eigenen ID hochlädst, hängt der Link nur vom Speicher und dieser ID ab. Lade noch einmal mit derselben ID hoch, und derselbe Link liefert die neue Datei. Seiten, die sie anzeigen, musst du also nicht ändern.\n\n**1.** Lade die erste Version mit einer ID aus Buchstaben und Ziffern hoch:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sea.png \"https://files.example.com/upload/photos/?id=homepagebanner\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"/files/photos/homepagebanner-14s.png\"}\n```\n\n**2.** Lade später die neue Version mit derselben ID hoch:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/?id=homepagebanner\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/homepagebanner-14s.png\"}\n```\n\nDie `url` ist dieselbe und liefert jetzt `sunset.png`.\n\nBrowser behalten die alte Version eventuell eine Weile im Cache. Wenn Besucher die Änderung sofort sehen müssen, häng in deiner Seite eine Version an den Link an, zum Beispiel `homepagebanner-14s.png?v=2`.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOD2cj61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/recipes/replace-file/","project":"openfiles","version":"1-0","section":"recipes","language":"es","title":"Sustituir un archivo en el mismo enlace","summary":"Sube con tu propio ID para que la nueva versión de un archivo mantenga el mismo enlace.","markdown":"---\ntitle: Sustituir un archivo en el mismo enlace\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/recipes/replace-file/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Sustituir un archivo en el mismo enlace\n\n> Sube con tu propio ID para que la nueva versión de un archivo mantenga el mismo enlace.\n\nCuando subes con tu propio ID, el enlace depende solo del almacén y de ese ID. Vuelve a subir con el mismo ID y el mismo enlace sirve el archivo nuevo, así que las páginas que lo muestran no necesitan ningún cambio.\n\n**1.** Sube la primera versión con un ID formado por letras y dígitos:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sea.png \"https://files.example.com/upload/photos/?id=homepagebanner\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"/files/photos/homepagebanner-14s.png\"}\n```\n\n**2.** Más adelante, sube la nueva versión con el mismo ID:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/?id=homepagebanner\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/homepagebanner-14s.png\"}\n```\n\nEl `url` es el mismo, y ahora sirve `sunset.png`.\n\nLos navegadores pueden guardar la versión antigua en su caché durante un tiempo. Si los visitantes tienen que ver el cambio enseguida, añade una versión al enlace en tu página, por ejemplo `homepagebanner-14s.png?v=2`.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOD2cj61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/recipes/replace-file/","project":"openfiles","version":"1-0","section":"recipes","language":"fr","title":"Remplacer un fichier au même lien","summary":"Envoie avec ton propre ID pour qu’une nouvelle version d’un fichier garde le même lien.","markdown":"---\ntitle: \"Remplacer un fichier au même lien\"\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/recipes/replace-file/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Remplacer un fichier au même lien\n\n> Envoie avec ton propre ID pour qu’une nouvelle version d’un fichier garde le même lien.\n\nQuand tu envoies avec ton propre ID, le lien ne dépend que du stockage et de cet ID. Envoie de nouveau avec le même ID, et le même lien sert le nouveau fichier : les pages qui l’affichent n’ont pas besoin d’être modifiées.\n\n**1.** Envoie la première version avec un ID composé de lettres et de chiffres :\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sea.png \"https://files.example.com/upload/photos/?id=homepagebanner\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"/files/photos/homepagebanner-14s.png\"}\n```\n\n**2.** Plus tard, envoie la nouvelle version avec le même ID :\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/?id=homepagebanner\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/homepagebanner-14s.png\"}\n```\n\nL’`url` est la même, et elle sert maintenant `sunset.png`.\n\nLes navigateurs peuvent garder l’ancienne version dans leur cache pendant un moment. Si les visiteurs doivent voir le changement tout de suite, ajoute une version au lien dans ta page, par exemple `homepagebanner-14s.png?v=2`.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOD2cj61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/recipes/replace-file/","project":"openfiles","version":"1-0","section":"recipes","language":"it","title":"Sostituire un file allo stesso link","summary":"Carica con un tuo ID, così una nuova versione di un file mantiene lo stesso link.","markdown":"---\ntitle: Sostituire un file allo stesso link\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/recipes/replace-file/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Sostituire un file allo stesso link\n\n> Carica con un tuo ID, così una nuova versione di un file mantiene lo stesso link.\n\nQuando carichi con un tuo ID, il link dipende solo dallo storage e da quell'ID. Carica di nuovo con lo stesso ID e lo stesso link serve il nuovo file, quindi le pagine che lo mostrano non hanno bisogno di modifiche.\n\n**1.** Carica la prima versione con un ID fatto di lettere e cifre:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sea.png \"https://files.example.com/upload/photos/?id=homepagebanner\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"/files/photos/homepagebanner-14s.png\"}\n```\n\n**2.** Più tardi, carica la nuova versione con lo stesso ID:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/?id=homepagebanner\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/homepagebanner-14s.png\"}\n```\n\nL'`url` è lo stesso e ora serve `sunset.png`.\n\nI browser possono tenere la vecchia versione nella cache per un po'. Se i visitatori devono vedere subito la modifica, aggiungi una versione al link nella tua pagina, per esempio `homepagebanner-14s.png?v=2`.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUOD2cj61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/recipes/replace-file/","project":"openfiles","version":"1-0","section":"recipes","language":"sk","title":"Nahradenie súboru pod tým istým odkazom","summary":"Nahraj súbor s vlastným ID, aby si nová verzia súboru ponechala ten istý odkaz.","markdown":"---\ntitle: \"Nahradenie súboru pod tým istým odkazom\"\nproject: OpenFiles\nversion: 1.0\nsection: recipes\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/recipes/replace-file/\nupdated: 2026-11-19T07:45:44.888Z\n---\n\n# Nahradenie súboru pod tým istým odkazom\n\n> Nahraj súbor s vlastným ID, aby si nová verzia súboru ponechala ten istý odkaz.\n\nKeď nahrávaš s vlastným ID, odkaz závisí len od úložiska a od tohto ID. Nahraj súbor znova s tým istým ID a ten istý odkaz bude poskytovať nový súbor, takže stránky, ktoré ho zobrazujú, netreba meniť.\n\n**1.** Nahraj prvú verziu s ID z písmen a číslic:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sea.png \"https://files.example.com/upload/photos/?id=homepagebanner\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sea.png\",\"size\":3577,\"type\":\"image/png\",\"width\":800,\"height\":600,\"ext\":\"png\",\"url\":\"/files/photos/homepagebanner-14s.png\"}\n```\n\n**2.** Neskôr nahraj novú verziu s tým istým ID:\n\n```bash\ncurl -H \"x-token: YOUR_TOKEN\" -F file=@sunset.png \"https://files.example.com/upload/photos/?id=homepagebanner\"\n```\n\n```json\n{\"id\":\"homepagebanner\",\"name\":\"sunset.png\",\"size\":2795,\"type\":\"image/png\",\"width\":640,\"height\":480,\"ext\":\"png\",\"url\":\"/files/photos/homepagebanner-14s.png\"}\n```\n\n`url` je rovnaké a teraz poskytuje `sunset.png`.\n\nPrehliadače si môžu starú verziu chvíľu držať vo vyrovnávacej pamäti. Ak musia návštevníci zmenu vidieť hneď, pridaj na svojej stránke k odkazu verziu, napríklad `homepagebanner-14s.png?v=2`.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:44.888Z"}
{"id":"JapUNU1uj61f","url":"https://totaljs.es/docs/openfiles/1-0/faq/sign-in/","project":"openfiles","version":"1-0","section":"faq","language":"en","title":"Sign-in","summary":"Questions about the admin account and signing in.","markdown":"---\ntitle: Sign-in\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/faq/sign-in/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# Sign-in\n\n> Questions about the admin account and signing in.\n\n## Where do I find the first password?\n\nOn the sign-in page, in the **Default account** box, until the first successful sign-in. See [First sign-in](../../guides/first-sign-in/).\n\n## I forgot my password. How do I get in?\n\n**1.** Stop OpenFiles.\n\n**2.** Move the account file out of the data folder:\n\n```bash\nmv databases/memorize_account.json memorize_account.old.json\n```\n\n**3.** Start OpenFiles. It creates a new first-start account, and the sign-in page shows it in the **Default account** box.\n\n**4.** Sign in and set your own credentials. See [Your account](../../guides/account/).\n\nYour storages, files and API tokens stay as they are.\n\n## Can several people have their own accounts?\n\nNo. OpenFiles has one admin account. Share it only with people you trust, and give apps their own [API tokens](../../guides/api-tokens/) instead.\n\n## Why was I signed out?\n\nA session lasts one month. A change of the **Login** in another browser also closes your session.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNU1uj61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/faq/sign-in/","project":"openfiles","version":"1-0","section":"faq","language":"de","title":"Anmeldung","summary":"Fragen zum Admin-Konto und zur Anmeldung.","markdown":"---\ntitle: Anmeldung\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/faq/sign-in/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# Anmeldung\n\n> Fragen zum Admin-Konto und zur Anmeldung.\n\n## Wo finde ich das erste Passwort?\n\nAuf der Anmeldeseite, im Feld **Default account** (Standardkonto), bis zur ersten erfolgreichen Anmeldung. Mehr dazu unter [Erste Anmeldung](../../guides/first-sign-in/).\n\n## Ich habe mein Passwort vergessen. Wie komme ich rein?\n\n**1.** Beende OpenFiles.\n\n**2.** Verschiebe die Kontodatei aus dem Datenordner:\n\n```bash\nmv databases/memorize_account.json memorize_account.old.json\n```\n\n**3.** Starte OpenFiles. Es erstellt ein neues Startkonto, und die Anmeldeseite zeigt es im Feld **Default account** an.\n\n**4.** Melde dich an und lege deine eigenen Zugangsdaten fest. Mehr dazu unter [Dein Konto](../../guides/account/).\n\nDeine Speicher, Dateien und API-Tokens bleiben unverändert.\n\n## Können mehrere Personen eigene Konten haben?\n\nNein. OpenFiles hat ein einziges Admin-Konto. Teile es nur mit Personen, denen du vertraust, und gib Apps stattdessen eigene [API-Tokens](../../guides/api-tokens/).\n\n## Warum wurde ich abgemeldet?\n\nEine Sitzung dauert einen Monat. Auch eine Änderung des **Login** in einem anderen Browser beendet deine Sitzung.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNU1uj61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/faq/sign-in/","project":"openfiles","version":"1-0","section":"faq","language":"es","title":"Inicio de sesión","summary":"Preguntas sobre la cuenta de administrador y cómo iniciar sesión.","markdown":"---\ntitle: \"Inicio de sesión\"\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/faq/sign-in/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# Inicio de sesión\n\n> Preguntas sobre la cuenta de administrador y cómo iniciar sesión.\n\n## ¿Dónde encuentro la primera contraseña?\n\nEn la página de inicio de sesión, en el recuadro **Default account** (cuenta predeterminada), hasta el primer inicio de sesión correcto. Consulta [Primer inicio de sesión](../../guides/first-sign-in/).\n\n## He olvidado mi contraseña. ¿Cómo entro?\n\n**1.** Detén OpenFiles.\n\n**2.** Saca el archivo de la cuenta de la carpeta de datos:\n\n```bash\nmv databases/memorize_account.json memorize_account.old.json\n```\n\n**3.** Inicia OpenFiles. Crea una nueva cuenta de primer arranque, y la página de inicio de sesión la muestra en el recuadro **Default account**.\n\n**4.** Inicia sesión y pon tus propias credenciales. Consulta [Tu cuenta](../../guides/account/).\n\nTus almacenes, archivos y tokens de API se quedan como estaban.\n\n## ¿Pueden tener varias personas su propia cuenta?\n\nNo. OpenFiles tiene una sola cuenta de administrador. Compártela solo con personas de confianza y, en su lugar, da a las apps sus propios [tokens de API](../../guides/api-tokens/).\n\n## ¿Por qué se ha cerrado mi sesión?\n\nUna sesión dura un mes. Si alguien cambia el **Login** en otro navegador, también se cierra tu sesión.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNU1uj61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/faq/sign-in/","project":"openfiles","version":"1-0","section":"faq","language":"fr","title":"Connexion","summary":"Les questions sur le compte administrateur et la connexion.","markdown":"---\ntitle: Connexion\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/faq/sign-in/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# Connexion\n\n> Les questions sur le compte administrateur et la connexion.\n\n## Où trouver le premier mot de passe ?\n\nSur la page de connexion, dans l’encadré **Default account** (compte par défaut), jusqu’à la première connexion réussie. Consulte [Première connexion](../../guides/first-sign-in/).\n\n## J’ai oublié mon mot de passe. Comment entrer ?\n\n**1.** Arrête OpenFiles.\n\n**2.** Sors le fichier du compte du dossier de données :\n\n```bash\nmv databases/memorize_account.json memorize_account.old.json\n```\n\n**3.** Démarre OpenFiles. Il crée un nouveau compte de premier démarrage, et la page de connexion l’affiche dans l’encadré **Default account**.\n\n**4.** Connecte-toi et choisis tes propres identifiants. Consulte [Ton compte](../../guides/account/).\n\nTes stockages, tes fichiers et tes jetons d’API restent tels quels.\n\n## Plusieurs personnes peuvent-elles avoir leur propre compte ?\n\nNon. OpenFiles a un seul compte administrateur. Ne le partage qu’avec des personnes de confiance, et donne plutôt à tes applications leurs propres [jetons d’API](../../guides/api-tokens/).\n\n## Pourquoi ai-je été déconnecté ?\n\nUne session dure un mois. Un changement du **Login** dans un autre navigateur ferme aussi ta session.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNU1uj61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/faq/sign-in/","project":"openfiles","version":"1-0","section":"faq","language":"it","title":"Accesso","summary":"Domande sull'account amministratore e sull'accesso.","markdown":"---\ntitle: Accesso\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/faq/sign-in/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# Accesso\n\n> Domande sull'account amministratore e sull'accesso.\n\n## Dove trovo la prima password?\n\nNella pagina di accesso, nel riquadro **Default account**, fino al primo accesso riuscito. Leggi [Primo accesso](../../guides/first-sign-in/).\n\n## Ho dimenticato la password. Come entro?\n\n**1.** Ferma OpenFiles.\n\n**2.** Sposta il file dell'account fuori dalla cartella dei dati:\n\n```bash\nmv databases/memorize_account.json memorize_account.old.json\n```\n\n**3.** Avvia OpenFiles. Crea un nuovo account di primo avvio e la pagina di accesso lo mostra nel riquadro **Default account**.\n\n**4.** Accedi e imposta le tue credenziali. Leggi [Il tuo account](../../guides/account/).\n\nI tuoi storage, i file e i token API restano come sono.\n\n## Più persone possono avere un proprio account?\n\nNo. OpenFiles ha un solo account amministratore. Condividilo solo con persone di cui ti fidi e dai invece alle app i loro [token API](../../guides/api-tokens/).\n\n## Perché sono stato disconnesso?\n\nUna sessione dura un mese. Anche una modifica del **Login** in un altro browser chiude la tua sessione.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNU1uj61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/faq/sign-in/","project":"openfiles","version":"1-0","section":"faq","language":"sk","title":"Prihlasovanie","summary":"Otázky o administrátorskom účte a prihlasovaní.","markdown":"---\ntitle: Prihlasovanie\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/faq/sign-in/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# Prihlasovanie\n\n> Otázky o administrátorskom účte a prihlasovaní.\n\n## Kde nájdem prvé heslo?\n\nNa prihlasovacej stránke, v rámčeku **Default account**, až do prvého úspešného prihlásenia. Pozri si [Prvé prihlásenie](../../guides/first-sign-in/).\n\n## Zabudol som heslo. Ako sa dostanem dnu?\n\n**1.** Zastav OpenFiles.\n\n**2.** Presuň súbor účtu von z priečinka s dátami:\n\n```bash\nmv databases/memorize_account.json memorize_account.old.json\n```\n\n**3.** Spusti OpenFiles. Vytvorí nový účet ako pri prvom spustení a prihlasovacia stránka ho ukáže v rámčeku **Default account**.\n\n**4.** Prihlás sa a nastav si vlastné prihlasovacie údaje. Pozri si [Tvoj účet](../../guides/account/).\n\nTvoje úložiská, súbory a API tokeny zostanú tak, ako sú.\n\n## Môže mať viac ľudí vlastné účty?\n\nNie. OpenFiles má jeden administrátorský účet. Zdieľaj ho len s ľuďmi, ktorým dôveruješ, a aplikáciám namiesto toho daj vlastné [API tokeny](../../guides/api-tokens/).\n\n## Prečo ma to odhlásilo?\n\nRelácia trvá jeden mesiac. Tvoju reláciu zatvorí aj zmena **Login** v inom prehliadači.\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNS1sj61f","url":"https://totaljs.es/docs/openfiles/1-0/faq/files/","project":"openfiles","version":"1-0","section":"faq","language":"en","title":"Files and links","summary":"Questions about uploading files and sharing their links.","markdown":"---\ntitle: Files and links\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/faq/files/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# Files and links\n\n> Questions about uploading files and sharing their links.\n\n## Are file links public?\n\nYes. Anyone who has a link can open the file, without a token. Links are hard to guess, but do not store files in OpenFiles that only some people may see.\n\n## How large can a file be?\n\nUp to 100 MB per request with `multipart/form-data`, and 10 MB per request with Base64. See [Errors and limits](../../reference/errors/).\n\n## Which file types can I upload?\n\nAny type. For images OpenFiles also stores the width and height.\n\n## How do I upload files?\n\nThrough the REST API, from your app or with `curl`. See [Upload files](../../reference/upload/).\n\n## A link answers 404. Why?\n\nThe file or its storage was removed, the link was changed by hand, or the file ID contains a hyphen. See [File links](../../reference/file-links/).\n\n## Can I keep the same link for a new version of a file?\n\nYes, upload it with your own ID. See [Replace a file at the same link](../../recipes/replace-file/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNS1sj61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/faq/files/","project":"openfiles","version":"1-0","section":"faq","language":"de","title":"Dateien und Links","summary":"Fragen zum Hochladen von Dateien und zum Teilen ihrer Links.","markdown":"---\ntitle: Dateien und Links\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/faq/files/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# Dateien und Links\n\n> Fragen zum Hochladen von Dateien und zum Teilen ihrer Links.\n\n## Sind Dateilinks öffentlich?\n\nJa. Wer einen Link hat, kann die Datei öffnen, auch ohne Token. Links sind schwer zu erraten, aber speichere in OpenFiles keine Dateien, die nur bestimmte Personen sehen dürfen.\n\n## Wie groß darf eine Datei sein?\n\nBis zu 100 MB pro Anfrage mit `multipart/form-data` und 10 MB pro Anfrage mit Base64. Mehr dazu unter [Fehler und Grenzen](../../reference/errors/).\n\n## Welche Dateitypen kann ich hochladen?\n\nJeden Typ. Bei Bildern speichert OpenFiles zusätzlich Breite und Höhe.\n\n## Wie lade ich Dateien hoch?\n\nÜber die REST API, aus deiner App oder mit `curl`. Mehr dazu unter [Dateien hochladen](../../reference/upload/).\n\n## Ein Link antwortet mit 404. Warum?\n\nDie Datei oder ihr Speicher wurde entfernt, der Link wurde von Hand geändert, oder die Datei-ID enthält einen Bindestrich. Mehr dazu unter [Dateilinks](../../reference/file-links/).\n\n## Kann ich für eine neue Version einer Datei denselben Link behalten?\n\nJa, lade sie mit deiner eigenen ID hoch. Mehr dazu unter [Eine Datei unter demselben Link ersetzen](../../recipes/replace-file/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNS1sj61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/faq/files/","project":"openfiles","version":"1-0","section":"faq","language":"es","title":"Archivos y enlaces","summary":"Preguntas sobre cómo subir archivos y compartir sus enlaces.","markdown":"---\ntitle: Archivos y enlaces\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/faq/files/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# Archivos y enlaces\n\n> Preguntas sobre cómo subir archivos y compartir sus enlaces.\n\n## ¿Los enlaces de los archivos son públicos?\n\nSí. Cualquiera que tenga un enlace puede abrir el archivo, sin token. Los enlaces son difíciles de adivinar, pero no guardes en OpenFiles archivos que solo deban ver algunas personas.\n\n## ¿Qué tamaño puede tener un archivo?\n\nHasta 100 MB por petición con `multipart/form-data`, y 10 MB por petición con Base64. Consulta [Errores y límites](../../reference/errors/).\n\n## ¿Qué tipos de archivo puedo subir?\n\nCualquier tipo. En las imágenes, OpenFiles guarda también el ancho y el alto.\n\n## ¿Cómo subo archivos?\n\nCon la API REST, desde tu app o con `curl`. Consulta [Subir archivos](../../reference/upload/).\n\n## Un enlace responde 404. ¿Por qué?\n\nSe eliminó el archivo o su almacén, alguien cambió el enlace a mano o el ID del archivo contiene un guion. Consulta [Enlaces de archivos](../../reference/file-links/).\n\n## ¿Puedo mantener el mismo enlace para una nueva versión de un archivo?\n\nSí, súbela con tu propio ID. Consulta [Sustituir un archivo en el mismo enlace](../../recipes/replace-file/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNS1sj61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/faq/files/","project":"openfiles","version":"1-0","section":"faq","language":"fr","title":"Fichiers et liens","summary":"Les questions sur l’envoi des fichiers et le partage de leurs liens.","markdown":"---\ntitle: Fichiers et liens\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/faq/files/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# Fichiers et liens\n\n> Les questions sur l’envoi des fichiers et le partage de leurs liens.\n\n## Les liens des fichiers sont-ils publics ?\n\nOui. Toute personne qui a un lien peut ouvrir le fichier, sans jeton. Les liens sont difficiles à deviner, mais ne mets pas dans OpenFiles des fichiers que seules certaines personnes ont le droit de voir.\n\n## Quelle taille peut avoir un fichier ?\n\nJusqu’à 100 Mo par requête avec `multipart/form-data`, et 10 Mo par requête en Base64. Consulte [Erreurs et limites](../../reference/errors/).\n\n## Quels types de fichiers puis-je envoyer ?\n\nTous les types. Pour les images, OpenFiles enregistre aussi la largeur et la hauteur.\n\n## Comment j’envoie des fichiers ?\n\nPar l’API REST, depuis ton application ou avec `curl`. Consulte [Envoyer des fichiers](../../reference/upload/).\n\n## Un lien répond 404. Pourquoi ?\n\nLe fichier ou son stockage a été supprimé, le lien a été modifié à la main, ou l’ID du fichier contient un tiret. Consulte [Liens des fichiers](../../reference/file-links/).\n\n## Puis-je garder le même lien pour une nouvelle version d’un fichier ?\n\nOui, envoie-le avec ton propre ID. Consulte [Remplacer un fichier au même lien](../../recipes/replace-file/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNS1sj61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/faq/files/","project":"openfiles","version":"1-0","section":"faq","language":"it","title":"File e link","summary":"Domande sul caricamento dei file e sulla condivisione dei loro link.","markdown":"---\ntitle: File e link\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/faq/files/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# File e link\n\n> Domande sul caricamento dei file e sulla condivisione dei loro link.\n\n## I link dei file sono pubblici?\n\nSì. Chiunque abbia un link può aprire il file, senza token. I link sono difficili da indovinare, ma non conservare in OpenFiles file che solo alcune persone possono vedere.\n\n## Quanto può essere grande un file?\n\nFino a 100 MB per richiesta con `multipart/form-data` e 10 MB per richiesta con Base64. Leggi [Errori e limiti](../../reference/errors/).\n\n## Quali tipi di file posso caricare?\n\nQualsiasi tipo. Per le immagini OpenFiles salva anche la larghezza e l'altezza.\n\n## Come carico i file?\n\nTramite la REST API, dalla tua app o con `curl`. Leggi [Caricare file](../../reference/upload/).\n\n## Un link risponde 404. Perché?\n\nIl file o il suo storage è stato rimosso, il link è stato modificato a mano oppure l'ID del file contiene un trattino. Leggi [Link dei file](../../reference/file-links/).\n\n## Posso mantenere lo stesso link per una nuova versione di un file?\n\nSì, caricala con un tuo ID. Leggi [Sostituire un file allo stesso link](../../recipes/replace-file/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNS1sj61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/faq/files/","project":"openfiles","version":"1-0","section":"faq","language":"sk","title":"Súbory a odkazy","summary":"Otázky o nahrávaní súborov a zdieľaní ich odkazov.","markdown":"---\ntitle: \"Súbory a odkazy\"\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/faq/files/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# Súbory a odkazy\n\n> Otázky o nahrávaní súborov a zdieľaní ich odkazov.\n\n## Sú odkazy na súbory verejné?\n\nÁno. Ktokoľvek, kto má odkaz, súbor otvorí aj bez tokenu. Odkazy sa ťažko hádajú, ale neukladaj do OpenFiles súbory, ktoré smú vidieť len niektorí ľudia.\n\n## Aký veľký môže byť súbor?\n\nAž 100 MB na požiadavku s `multipart/form-data` a 10 MB na požiadavku s Base64. Pozri si [Chyby a limity](../../reference/errors/).\n\n## Aké typy súborov môžem nahrávať?\n\nAkékoľvek. Pri obrázkoch OpenFiles uloží aj šírku a výšku.\n\n## Ako nahrám súbory?\n\nCez REST API, zo svojej aplikácie alebo pomocou `curl`. Pozri si [Nahrávanie súborov](../../reference/upload/).\n\n## Odkaz odpovedá 404. Prečo?\n\nSúbor alebo jeho úložisko bolo odstránené, odkaz bol ručne zmenený alebo ID súboru obsahuje pomlčku. Pozri si [Odkazy na súbory](../../reference/file-links/).\n\n## Môžem si pre novú verziu súboru ponechať ten istý odkaz?\n\nÁno, nahraj ju s vlastným ID. Pozri si [Nahradenie súboru pod tým istým odkazom](../../recipes/replace-file/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNV1wj61f","url":"https://totaljs.es/docs/openfiles/1-0/faq/tokens/","project":"openfiles","version":"1-0","section":"faq","language":"en","title":"API tokens","summary":"Questions about API tokens and permissions.","markdown":"---\ntitle: API tokens\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/openfiles/1-0/faq/tokens/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# API tokens\n\n> Questions about API tokens and permissions.\n\n## My upload answers \"Not allowed\". What is missing?\n\nThe token needs both **Upload files** and the name of the storage you upload to, and the storage must exist. See [Token permissions](../../guides/token-permissions/).\n\n## My upload answers 401. Why?\n\nThe token is missing, mistyped, or it was removed. Copy it again from **API Tokens**. See [API tokens](../../guides/api-tokens/).\n\n## Do tokens expire?\n\nNo. A token works until you remove it.\n\n## Can I see which app uploaded a file?\n\nYes, if you [index files in PostgreSQL](../../guides/postgresql/): the `createdby` column holds the **App name** of the token. The token card in **API Tokens** also shows when the token was last used.\n\n## Should I put a token in a web page?\n\nOnly a token made for that page, with **Upload files** and one storage. See [Upload from a web page](../../recipes/upload-from-browser/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNV1wj61f-de","url":"https://totaljs.es/docs/de/openfiles/1-0/faq/tokens/","project":"openfiles","version":"1-0","section":"faq","language":"de","title":"API-Tokens","summary":"Fragen zu API-Tokens und Berechtigungen.","markdown":"---\ntitle: API-Tokens\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: de\nlicense: MIT\nurl: https://totaljs.es/docs/de/openfiles/1-0/faq/tokens/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# API-Tokens\n\n> Fragen zu API-Tokens und Berechtigungen.\n\n## Mein Upload antwortet mit \"Not allowed\". Was fehlt?\n\nDas Token braucht sowohl **Upload files** als auch den Namen des Speichers, in den du hochlädst, und der Speicher muss existieren. Mehr dazu unter [Token-Berechtigungen](../../guides/token-permissions/).\n\n## Mein Upload antwortet mit 401. Warum?\n\nDas Token fehlt, ist falsch geschrieben oder wurde entfernt. Kopiere es noch einmal aus **API Tokens**. Mehr dazu unter [API-Tokens](../../guides/api-tokens/).\n\n## Laufen Tokens ab?\n\nNein. Ein Token funktioniert, bis du es entfernst.\n\n## Kann ich sehen, welche App eine Datei hochgeladen hat?\n\nJa, wenn du [Dateien in PostgreSQL indexierst](../../guides/postgresql/): Die Spalte `createdby` enthält den **App name** des Tokens. Die Token-Karte in **API Tokens** zeigt außerdem, wann das Token zuletzt verwendet wurde.\n\n## Sollte ich ein Token in eine Webseite einbauen?\n\nNur ein Token, das du für diese Seite erstellt hast, mit **Upload files** und einem einzigen Speicher. Mehr dazu unter [Von einer Webseite hochladen](../../recipes/upload-from-browser/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNV1wj61f-es","url":"https://totaljs.es/docs/es/openfiles/1-0/faq/tokens/","project":"openfiles","version":"1-0","section":"faq","language":"es","title":"Tokens de API","summary":"Preguntas sobre los tokens de API y sus permisos.","markdown":"---\ntitle: Tokens de API\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: es\nlicense: MIT\nurl: https://totaljs.es/docs/es/openfiles/1-0/faq/tokens/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# Tokens de API\n\n> Preguntas sobre los tokens de API y sus permisos.\n\n## Mi subida responde \"Not allowed\". ¿Qué falta?\n\nEl token necesita tanto **Upload files** (subir archivos) como el nombre del almacén al que subes, y el almacén tiene que existir. Consulta [Permisos de los tokens](../../guides/token-permissions/).\n\n## Mi subida responde 401. ¿Por qué?\n\nFalta el token, está mal escrito o se eliminó. Cópialo de nuevo desde **API Tokens**. Consulta [Tokens de API](../../guides/api-tokens/).\n\n## ¿Caducan los tokens?\n\nNo. Un token funciona hasta que lo eliminas.\n\n## ¿Puedo ver qué app subió un archivo?\n\nSí, si [indexas los archivos en PostgreSQL](../../guides/postgresql/): la columna `createdby` guarda el **App name** del token. La tarjeta del token en **API Tokens** también muestra cuándo se usó por última vez.\n\n## ¿Debo poner un token en una página web?\n\nSolo un token creado para esa página, con **Upload files** y un único almacén. Consulta [Subir desde una página web](../../recipes/upload-from-browser/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNV1wj61f-fr","url":"https://totaljs.es/docs/fr/openfiles/1-0/faq/tokens/","project":"openfiles","version":"1-0","section":"faq","language":"fr","title":"Jetons d’API","summary":"Les questions sur les jetons d’API et leurs permissions.","markdown":"---\ntitle: \"Jetons d’API\"\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: fr\nlicense: MIT\nurl: https://totaljs.es/docs/fr/openfiles/1-0/faq/tokens/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# Jetons d’API\n\n> Les questions sur les jetons d’API et leurs permissions.\n\n## Mon envoi répond « Not allowed ». Qu’est-ce qui manque ?\n\nLe jeton a besoin à la fois de **Upload files** et du nom du stockage vers lequel tu envoies, et ce stockage doit exister. Consulte [Permissions des jetons](../../guides/token-permissions/).\n\n## Mon envoi répond 401. Pourquoi ?\n\nLe jeton manque, il est mal saisi ou il a été supprimé. Copie-le de nouveau depuis **API Tokens**. Consulte [Jetons d’API](../../guides/api-tokens/).\n\n## Les jetons expirent-ils ?\n\nNon. Un jeton fonctionne jusqu’à ce que tu le supprimes.\n\n## Puis-je voir quelle application a envoyé un fichier ?\n\nOui, si tu [indexes les fichiers dans PostgreSQL](../../guides/postgresql/) : la colonne `createdby` contient l’**App name** du jeton. La carte du jeton dans **API Tokens** indique aussi quand il a été utilisé pour la dernière fois.\n\n## Dois-je mettre un jeton dans une page web ?\n\nSeulement un jeton créé pour cette page, avec **Upload files** et un seul stockage. Consulte [Envoyer depuis une page web](../../recipes/upload-from-browser/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNV1wj61f-it","url":"https://totaljs.es/docs/it/openfiles/1-0/faq/tokens/","project":"openfiles","version":"1-0","section":"faq","language":"it","title":"Token API","summary":"Domande sui token API e sui permessi.","markdown":"---\ntitle: Token API\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: it\nlicense: MIT\nurl: https://totaljs.es/docs/it/openfiles/1-0/faq/tokens/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# Token API\n\n> Domande sui token API e sui permessi.\n\n## Il mio caricamento risponde \"Not allowed\". Cosa manca?\n\nIl token ha bisogno sia di **Upload files** sia del nome dello storage in cui carichi, e lo storage deve esistere. Leggi [Permessi dei token](../../guides/token-permissions/).\n\n## Il mio caricamento risponde 401. Perché?\n\nIl token manca, è scritto male oppure è stato rimosso. Copialo di nuovo da **API Tokens**. Leggi [Token API](../../guides/api-tokens/).\n\n## I token scadono?\n\nNo. Un token funziona finché non lo rimuovi.\n\n## Posso vedere quale app ha caricato un file?\n\nSì, se [indicizzi i file in PostgreSQL](../../guides/postgresql/): la colonna `createdby` contiene l'**App name** del token. Anche la scheda del token in **API Tokens** mostra quando il token è stato usato l'ultima volta.\n\n## Devo mettere un token in una pagina web?\n\nSolo un token creato per quella pagina, con **Upload files** e un solo storage. Leggi [Caricare da una pagina web](../../recipes/upload-from-browser/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
{"id":"JapUNV1wj61f-sk","url":"https://totaljs.es/docs/sk/openfiles/1-0/faq/tokens/","project":"openfiles","version":"1-0","section":"faq","language":"sk","title":"API tokeny","summary":"Otázky o API tokenoch a oprávneniach.","markdown":"---\ntitle: API tokeny\nproject: OpenFiles\nversion: 1.0\nsection: faq\nlanguage: sk\nlicense: MIT\nurl: https://totaljs.es/docs/sk/openfiles/1-0/faq/tokens/\nupdated: 2026-11-19T07:45:36.793Z\n---\n\n# API tokeny\n\n> Otázky o API tokenoch a oprávneniach.\n\n## Moje nahrávanie odpovedá „Not allowed“. Čo chýba?\n\nToken potrebuje **Upload files** aj názov úložiska, do ktorého nahrávaš, a úložisko musí existovať. Pozri si [Oprávnenia tokenov](../../guides/token-permissions/).\n\n## Moje nahrávanie odpovedá 401. Prečo?\n\nToken chýba, je zle napísaný alebo bol odstránený. Skopíruj ho znova z **API Tokens**. Pozri si [API tokeny](../../guides/api-tokens/).\n\n## Vypršia tokeny?\n\nNie. Token funguje, kým ho neodstrániš.\n\n## Môžem zistiť, ktorá aplikácia nahrala súbor?\n\nÁno, ak [indexuješ súbory v PostgreSQL](../../guides/postgresql/): stĺpec `createdby` obsahuje **App name** tokenu. Karta tokenu v **API Tokens** tiež ukazuje, kedy bol token naposledy použitý.\n\n## Mám dať token do webovej stránky?\n\nLen token vytvorený pre túto stránku, s **Upload files** a jedným úložiskom. Pozri si [Nahrávanie z webovej stránky](../../recipes/upload-from-browser/).\n","entries":[],"license":"MIT","updated":"2026-11-19T07:45:36.793Z"}
