File Management
The file management feature provides SFTP-like file browsing and editing capabilities, supporting the management of remote server files in a graphical interface.
Browsing Files
Click "File Management" in the left menu, and the system will display the file tree of the currently connected host. The file tree displays the server's directories and files in a tree structure, supporting:
- Expand/Collapse: Click folders to expand or collapse directories
- Refresh: Right-click directories to refresh the file list
- Search: Search for files or directories in the file tree
Editing Files
Double-click a file to open the file editor. The editor supports:
- Syntax Highlighting: Automatically identifies and highlights syntax based on file type
- Save File: After editing, click the save button to save changes to the remote server
The editor provides a Sublime-like editing experience, supporting multi-language syntax highlighting, giving you a modern IDE-like file editing experience within the terminal.
File Transfer
The file management feature supports file upload and download:
- Upload Files: Upload local files to remote servers
- Download Files: Download files from remote servers to local
- Transfer Progress: Display transfer progress and speed during file transfer
Upload Operation
- Select the target directory in the file tree
- Click the upload button or drag files to the file tree area
- Select the file or folder to upload
- Wait for the transfer to complete
Download Operation
- Select the file or folder to download in the file tree
- Right-click and select "Download" or click the download button
- Select the local save location
- Wait for the transfer to complete
File Management Operations
File management supports the following operations on files or folders:
- Rename: Modify file or folder names
- Permissions: Modify file permissions (chmod)
- Copy: File copy operation
- Move: File move operation
- Delete: File delete operation (please operate with caution)
Operation Methods
- Right-click Menu: Right-click files or folders and select the corresponding operation
- Shortcuts: Some operations support shortcuts (please refer to shortcut settings for details)
System Requirements
Important Notice
The file management feature depends on the server's SFTP service. If the server does not have SFTP service enabled, the file management feature will not work properly.
Please ensure:
- The server has SFTP service installed and enabled
- User accounts have appropriate file system access permissions
- Network connection is stable and supports file transfer
Notes
- Large file transfers may take a long time, please be patient
- Some system files may require administrator permissions to modify
- Do not close the connection during file transfer
- Delete operations are irreversible, please operate with caution
- Pay attention to saving when editing files to avoid data loss
Best Practices
File Editing
- It is recommended to backup important files before editing
- Use syntax highlighting to improve code readability
- Check file content before saving to ensure accuracy
File Transfer
- It is recommended to transfer large files when the network is stable
- Do not close the connection during transfer
- Regularly check transfer progress and status
Permission Management
- Understand permission meanings before modifying file permissions
- Be cautious when modifying system file permissions
- Follow the principle of least privilege