Local storage

Uploaded files will be saved in a local directory on the server. This is suitable for small-scale or experimental scenarios where the total number of files managed by the system is relatively small.

Options

Example of file storage engine options

Note

This section only covers the specific options for the local storage engine. For common parameters, please refer to the General Engine Parameters.

Path

The path represents both the relative path of the file stored on the server and the URL access path. For example, "user/avatar" (without the leading and trailing "/") represents:

  1. The relative path of the uploaded file stored on the server: /path/to/nocobase-app/storage/uploads/user/avatar.
  2. The URL prefix for accessing the file: http://localhost:13000/storage/uploads/user/avatar.