# Using the File Manager in KPanel

Source: https://support.kapsulehost.com/en-nz/file-manager

The KPanel File Manager lets you work with your website files directly in your browser. You can browse directories, upload files, create new files and folders, edit code, and delete items, without needing to install an FTP or SFTP client.

### Opening the File Manager

1. Log in to KPanel at [kpanel.kapsulehost.com](https://kpanel.kapsulehost.com)
2. Go to **Websites** and select the site you want to manage
3. Click **File Manager**

The file manager opens showing the root directory of your selected website.

### Navigating Your Files

Use the folder tree to browse directories. Common directories include:

- `public_html/` or the site root, your publicly accessible website files
- `wp-content/`, WordPress themes, plugins, and uploads (for WordPress sites)
- `logs/`, server error and access logs (see [Accessing Your Website Error Logs](https://support.kapsulehost.com/en-nz/error-logs))

### Uploading Files

1. Navigate to the directory you want to upload into
2. Click **Upload**
3. Select one or more files from your computer
4. The upload will begin immediately

For large file transfers or bulk uploads, SFTP is faster and more reliable. See [SFTP Access](https://support.kapsulehost.com/en-nz/sftp-access).

> **Tip:** The file manager has a per-file size limit for uploads. For files larger than 50 MB, use SFTP instead.

### Creating Files and Folders

- To create a new file: click **New File**, enter a name (including the extension), and click **Create**
- To create a new folder: click **New Folder**, enter a name, and click **Create**

### Editing Files

1. Click the file you want to edit
2. Click **Edit** (or double-click the file)
3. A code editor will open in your browser
4. Make your changes and click **Save**

> **Warning:** Editing files directly on your live site carries risk. A syntax error in a PHP file can cause a [white screen](https://support.kapsulehost.com/en-nz/wordpress-white-screen) or 500 error. For significant code changes, work on a staging environment first. See [Using Staging Environments](https://support.kapsulehost.com/en-nz/staging-environments).

### Permissions

File permissions control who can read, write, or execute each file. Standard permissions for WordPress are `644` for files and `755` for directories.

> **Note:** Do not set files to `777` unless specifically instructed by a plugin's documentation, as this creates a security risk.
