Skip to main content
All CollectionsSupport
File Management in Xano
File Management in Xano
Chris Coleman avatar
Written by Chris Coleman
Updated over a week ago

The File section enables you to view and manage all of the files (images, videos, audio files, and attachments) in your workspace. You can easily see and search the files of your workspace and see the file name, mime type, size, and date it was created.

If a file appears in this section then it is included in the overall media storage of your plan. Files will be represented here in two ways:

  1. Uploading a file directly to the database.

  2. Uploading a file directly to the File page.

  3. Creating Metadata for any type of file in the function stack.

Files do not necessarily need to be added to your database to be a file of your workspace. Creating the metadata of a file through the function stack associates that file with your workspace - even if you do not add it to a record in one of your database tables.

Delete a File

File management is extra useful because files are not automatically removed from media storage. For example, deleting a record in the database that contains an image does not remove that image from media storage. If necessary, you can leverage the file management page to remove unwanted files from media storage.

**Deleting a file on the file management page is permanent. You should only do so if you are absolutely certain that you wish to permanently delete the file.**

Deleting a file on the file management page does not remove any database records associated with the file.

To delete a file:

  1. Use the select box on the left side.

  2. Click the red delete button (trash can icon).

  3. Confirm the action. It cannot be undone so be absolutely sure you wish to delete the file.

Upload a File into File Management

Uploading a file directly to the file management page is useful if you wish to add a file to the cloud and create a link for it. Previously, this would require you to add schema to a database table and store the file in the database.

If you are looking for details on uploading files through the API please visit content upload.

Once the file is uploaded, you can click on the file name to preview it, download it, or retrieve the URL reference to it.

Did this answer your question?