Section 12 Official Documentation

File Management & Web Hosting

File upload API, FileBrowser Quantum, Flutter Web hosting, and custom HTML pages.

File Management & Web Hosting

HosteDay provides built-in tools to upload and manage App files via REST API or FileBrowser Quantum, as well as host Flutter Web builds and custom HTML pages directly on your App's domain.


1. Uploading & Deleting Files via API

File endpoints require an authenticated verified user (Authorization: Bearer {token}) and X-Api-Token:

Action Method & Endpoint Required Fields
Upload File / Image POST /api/file/upload table_name, row_id, column_name, data_file (Base64), extension
Delete File / Image DELETE /api/file/delete id (record ID in files), index (zero-based index)
  • Supported Formats: Images (jpg, jpeg, png, webp, gif) and archives (zip).
  • Automatic Image Compression: When uploading images via POST /api/file/upload, a dedicated background job automatically compresses and optimizes them.

2. Managing Files via FileBrowser Quantum

From API Workspace in your App dashboard (dash.hosteday.com):

  1. Open FileBrowser Quantum.
  2. Copy the displayed Username and Password, then click Open File Manager.
  3. Browse, upload, and organize your App's files and media inside a workspace scoped strictly to your App.

3. Web Hosting (Flutter Web & HTML)

A. Flutter Web Hosting

From Flutter Hosting in the dashboard, upload a ZIP archive of your pre-built build/web directory (up to 50 MB). HosteDay validates the archive and publishes it directly on your App's domain.

B. Customizing Homepage & Static Pages

From your App card in the dashboard:

  • Customize Homepage: Edit the full HTML document (with CSS and JavaScript; PHP and Blade are disallowed).
  • Create Static Pages: Create and publish static HTML/CSS pages (such as Privacy Policy and Terms) on your App's domain.

Next Step

Discover how to manage your App's MySQL database directly via phpMyAdmin: