# Manage files

> Browse, search, preview, copy links to, download, move, rename, and delete files and folders in the console.

The **File management (文件管理)** tab of a bucket is where you work with files already in the bucket. To get there, go to **Object Storage (对象存储) › [Bucket list (桶列表)](https://console.bitiful.com/buckets)** and click the bucket name.

## Browse and search

- The list shows **File name (文件名)**, **Size (容量)**, and **Time (时间)** (how long ago it was modified).
- Each load fetches 50 entries, and scrolling to the bottom of the page loads more automatically.
- Click a folder to go down a level, and use the breadcrumb at the top to go back.
- The icon to the right of the breadcrumb is **Refresh list (刷新列表)**.

The search box **supports prefix search only**: within the current directory, it finds files and folders whose names **begin with** the keyword, and it is case-sensitive. Search starts about 1 second after you type, and clearing the box restores the list.

For example, if the current directory has `logo.png` and `my-logo.png`, searching `logo` returns only `logo.png`.

## Preview and metadata

Hover over the file icon on the left of a file to open a preview window:

| Item             | Description                           |
| :--------------- | ------------------------------------- |
| **Copy URL**     | Copies a signed link valid for 1 hour |
| **Preview**      | A thumbnail preview of the image      |
| **Content-Type** | The file type                         |

Click a file name to open the file with a signed link. Because this uses the bucket default domain, the browser downloads it directly.

## Copy links

Click **…** on the right of a file:

| Menu                          | Link form                                 | Needs public access        | Validity  |
| :---------------------------- | ----------------------------------------- | -------------------------- | --------- |
| **Copy public URL (复制公开URL)** | `https://bucket-name.s3.bitiful.net/path` | Yes; otherwise returns 403 | Permanent |
| **Copy signed URL (复制签名URL)** | A link with signature parameters          | No                         | 1 hour    |

For a longer validity period, a download limit, or a specified download file name, generate a [presigned URL](https://docs.bitiful.com/en/developer/s3/presigned-url.md) with an SDK. For production distribution, we recommend a [CDN domain](https://docs.bitiful.com/en/cdn/intro.md).

## Download

Click **Download (下载)** in the **…** menu. The file is fully downloaded to the browser before it is saved, so this suits smaller files. For large files, copy the signed URL and use a download tool, or use an SDK or the command line.

`.apk` and `.ipa` files can't be downloaded directly from a bucket and return `403 FileTypeForbidden`. Distribute them through a CDN.

## Move and rename

S4 supports Move natively: it changes only the location of the file without copying data, so even large files move instantly.

### Open the dialog

In the file's **…** menu, click **Move (rename) (移动 (重命名))**.

### Edit the path

The input box holds the full path of the file (without the bucket name). Changing only the final file name renames the file, and changing the directory part moves it. Directories that don't exist are created automatically.

### Confirm

Press Enter or click the confirm button.

Rules for the new path: no emoji; can't begin with `/` or `\`; no consecutive `/`; no level named `..`; can't end with `/` or `.`.

> **Warning**
>
> If a file with the same name already exists at the destination, it is overwritten and can't be recovered. After a move, the old address stops working immediately, so update anything that references it.

Limits:

- You can move only files, not entire folders.
- You can move only within the same bucket.
- The destination directory path can't start with the full path of the original file. For example, you can't move `photo` to `photo-2026/1.jpg`.

To move with the API, see [Move and rename objects](https://docs.bitiful.com/en/bitiful-s4/features/move-object.md).

## Create a folder

Click **Create folder (创建文件夹)** in the upper-right corner, enter a name, and click **Confirm (确认)**. Writing `/` in the name creates multiple levels of directories.

You usually don't need to create folders manually. They are created automatically when you upload or move files.

## Delete

> **Warning**
>
> S4 has no recycle bin and no versioning. Deleted files **can't be recovered**.

### Delete files

- A single file: **…** menu › **Delete (删除)**, then confirm in the dialog.
- Multiple files: select them and click **Batch actions › Batch delete (批量操作 › 批量删除)**. You can select files and folders together.

Deleting a file takes effect immediately. Files accessed through a CDN may still be cached, so you need to [purge the cache](https://docs.bitiful.com/en/cdn/handbook/cache.md).

### Delete a folder

Click **Delete** in the folder's **…** menu. This submits a background task that deletes all files under the directory, and opens **Task list (任务列表) › Delete directory (删除目录)**:

| Column                               | Description                                                                                                           |
| :----------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| **Directory name (目录名)**, **Bucket** | The directory being deleted                                                                                           |
| **Files deleted (已删除文件数)**           | Updated every second                                                                                                  |
| **Status (状态)**                      | **Deleting (删除中)** or **Deletion complete (删除完成)**                                                                    |
| **Actions (操作)**                     | After completion, you can **Remove (移除)** the record, or click **Remove completed (移除已完成)** to clear them all at once |

Note:

- Once a task starts, it **can't be stopped**, and it keeps running even if you close the browser.
- Deleting many files takes time, so don't submit it again.
- New files written to the directory during deletion may also be deleted.

## FAQ

<details>
<summary>I deleted a file by mistake. Can I get it back?</summary>

No. Back up important data yourself, or use [directory-level permissions](https://docs.bitiful.com/en/bitiful-s4/handbook/permissions.md) to limit which accounts have write permission, because "write" includes delete.

</details>

<details>
<summary>How do I search by suffix or keyword?</summary>

The console supports only prefix search. To filter by other criteria, list all files with an SDK or Rclone and filter locally.

</details>

<details>
<summary>How do I move or rename an entire folder in bulk?</summary>

Use a script to list the objects in the directory and call the move API on each one. For an example, see [Move and rename objects](https://docs.bitiful.com/en/bitiful-s4/features/move-object.md).

</details>

<details>
<summary>The public URL I copied returns 403</summary>

The file isn't public, or it is blocked by [access control](https://docs.bitiful.com/en/bitiful-s4/handbook/anti-leech.md), or [original file protection](https://docs.bitiful.com/en/coreix/handbook/origin-protect.md) is enabled.

</details>
