Browsing Files
List files and directories in any path:List Directory
Response
File Attributes
name- File or directory namemode- Unix permissions (octal)mode_bits- Human-readable permissionssize- File size in bytesis_file- True if regular fileis_symlink- True if symbolic linkmimetype- Detected MIME typecreated_at- Creation timestampmodified_at- Last modification timestamp
Reading Files
View file contents for editing:Read File
Response
Files larger than 5MB (configurable) cannot be edited via the web interface. The size limit is defined by
pterodactyl.files.max_edit_size in the panel configuration.Writing Files
Save changes to existing files or create new ones:Write File
Success
Make Changes
Edit the file content. The editor supports syntax highlighting for common formats (JSON, YAML, XML, properties).
Creating Directories
Create new folders:Create Directory
Success
0755 permissions by default.
Renaming Files
Rename or move files and directories:Rename Files
You can rename multiple files in a single request. Paths are relative to the
root directory.Copying Files
Duplicate a file:Copy File
default copy.yml in the same directory.
Deleting Files
Delete files or directories:Delete Files
Uploading Files
Files can be uploaded through the web interface:Upload Limits
- Maximum file size is controlled by Wings configuration
- Multiple files can be uploaded simultaneously
- Upload tokens expire after 15 minutes
Downloading Files
Download files to your computer:Get Download URL
Response
Compressing Files
Create archives from multiple files:Compress Files
Response
.tar.gz file with a timestamped name.
Decompressing Archives
Extract.tar.gz, .zip, or .rar files:
Decompress Archive
Success
Large archives may take time to extract. The operation is performed in the background.
Changing Permissions
Modify Unix file permissions:Change Permissions
Common Permission Modes
| Mode | Bits | Description |
|---|---|---|
0755 | rwxr-xr-x | Executable files, directories |
0644 | rw-r--r-- | Regular files |
0600 | rw------- | Private files (configs with passwords) |
0777 | rwxrwxrwx | Full permissions (not recommended) |
Pulling Remote Files
Download files from external URLs directly to your server:Pull Remote File
Parameters
url- Remote file URL (must be publicly accessible)directory- Destination directory on serverfilename- Optional: override filenameuse_header- Optional: use Content-Disposition header for filenameforeground- Optional: download in foreground (wait for completion)
Activity Logging
All file operations are logged:Example Logs
Best Practices
Backup Before Editing
Backup Before Editing
Always create a backup or copy of important files before editing them, especially configuration files.
Use Proper Permissions
Use Proper Permissions
Don’t use
0777 unless absolutely necessary. Stick to 0755 for executables and 0644 for regular files.Organize Files
Organize Files
Keep server files organized in directories. Use descriptive names for custom configs and scripts.
Watch File Sizes
Watch File Sizes
Large files (>5MB) can’t be edited in the web interface. Use SFTP for big files.
Troubleshooting
Cannot Edit Large Files
Cannot Edit Large Files
Files over 5MB cannot be edited via the web interface. Use SFTP or increase the limit in panel configuration:
Permission Denied Errors
Permission Denied Errors
Ensure you have the
file.update or file.create permissions. Check that the Wings user has write access to the server directory.Upload Fails
Upload Fails
- Check file size limits in Wings config
- Ensure upload token hasn’t expired
- Verify sufficient disk space
- Check Wings logs for errors
