File Management
12007Function Overview
File management is presented in the Windows file management style, facilitating operations and management of system files, with operations available via right-clicking on files. In the file management page, you can enter the file directory, where the file list displays information such as file name, permissions/owner, size, modification time, remarks, and operations.
1. File Directory
Root Directory
The Linux system generates a series of configuration files in the Jianghu panel, placed in the "root directory." The main program of the Jianghu panel and the data for various applications are stored in the /www directory.

/www Directory Structure
/www
├── backup
| ├── database
│ └── site
├── recycle_bin
├── server
| ├── cron
| ├── jh-panel
| ├── jianghujs
| ├── mysql-apt
| ├── nodejs
| ├── openresty
| ├── source
│ └── web_conf
├── wwwlogs
├── wwwroot
└── wwwstorage (optional)In the /www directory, the brief descriptions of each directory are as follows:
/www/backup: Stores backup data for the server./www/recycle_bin: Recycle bin. This directory cannot be deleted./www/server: The main storage directory for various software and plugins required by the Jianghu panel. Each directory under it corresponds to an installed plugin. The most important directories are:/www/server/jh-panel: Storage directory for the main program of the Jianghu panel./www/server/web_conf: Storage directory for websites in the Jianghu panel./www/server/source:/www/server/cron: Storage directory for scheduled tasks.
/www/wwwlogs: Stores access logs for various websites./www/wwwroot: Stores code, configuration files, and runtime logs for various projects and websites./www/wwwstorage: Stores user data for various projects.
2. Basic File Operations
The basic file operations include: copy, paste, cut, delete, rename, compress, refresh, create new file, and create new directory. The file management in the Jianghu panel is similar to Windows file management; you can right-click or select the file to perform copy, paste, cut, delete, rename, and compress operations.

Creating New Files and Directories
Select the new button in the toolbar, choose to create a directory or create a blank file, and you can create a file or directory in the current directory.

File Compression
Select the file or directory to be compressed, you can right-click or click "Compress" in the operation bar.

Choose the path where the compressed file will be stored, and click "Select."

Click "Compress," and the compression will be successful.


File Decompression
Select the file or directory to be decompressed, you can right-click or click "Decompress" in the operation bar.

Set the path and encoding format after decompression, and click the "Decompress" button to complete the decompression.

Note: The compression format is tar.gz, and the decompression formats supported are zip, tar.gz, etc. RAR, 7z formats are not supported. If the compressed package is encrypted, it cannot be decompressed normally.
3. File Upload
Click the "Upload" button in the toolbar, then click "Add File."

After selecting the file you want to upload, click "Start Upload" to upload the file.

4. Remote Download
Click the "Remote Download" button on the toolbar, enter the download address in the URL field, select the download path, and click "OK" to download.

5. Permission Management
Each file or directory contains access permissions, which determine who can access and how to access these files and directories.
- Select the file or directory, you can right-click or click "Permissions" in the operation bar.

- The permission area is divided into three parts: owner, user group, public;
- Permission rules: Read represents 4, Write represents 2, Execute represents 1, 4+2+1=7. 7 represents all permissions.

Note: Please allocate permissions reasonably to avoid situations where site resources become inaccessible.
6. Recycle Bin
The file recycle bin is designed to prevent users from accidentally deleting files. Therefore, before deleting files, please ensure that the file recycle bin function is enabled. If the recycle bin function is not enabled, files will be permanently deleted. After enabling the recycle bin, deleting files essentially moves the files to the recycle bin directory. To completely delete a file, you need to delete it from the recycle bin after deleting it.
- Click the "Recycle Bin" button on the toolbar to enter the file recycle bin, where you can enable or disable the file recycle bin and view deleted files.

- The file recycle bin is disabled by default, so you need to enable the recycle bin first to see deleted files. The recycle bin provides functions such as recovery, permanent deletion, and emptying the recycle bin.

Note: Please use the empty recycle bin function with caution, and confirm that there are no mistakenly deleted data before executing the deletion operation!
7. Terminal
Click the terminal button on the toolbar to enter the system terminal, which can be used to execute some non-interactive shell commands.
