The File Manager
The file manager is best used for quickly editing text based files or uploading small files. It's also the main location where you'll interact with your files to Compress or Decompress them. To make the most out of your server it's important to understand what the File Manager can do for you, and what it can't. You'll find some walk throughs of the main features of the File Manager below.
Locating the File Manager
The File Manager can be found under the Management tab as seen in the image to the right. Once there you'll be taken to your server root and should see the all of the files currently located on your server.
Navigation
The File Manager displays the current file content of your server and allows you to navigate through the directories it contains. You can enter a Directory by clicking on it's name in the File Table located in the center of your screen. When you enter a Directory it will be added to the File Path at the top of the page as seen in the image to the right.
If you need to navigate back to the Directory above your current one, for example in the image to the right, the plugins Directory, you can select the ← <DIRECTORY>/
button at the top of the File Table.
If you need to navigate back to the Server Root at any time then you can select the ←
button at the far top of the File Table
. Your Server Root will always be /home/container
so you can double check your location using the file path at the top of the screen.
Editing a File
To edit a file navigate to it in the File Table
and the click on it's name. If it's a file that can be edited as text then you'll be sent to a basic text editor. You can easily edit your file from here and use the save button on the bottom right of the window to save your file. Once you're done editing you can use the Return to File Manager
button to return to the directory that contained the file.
There are some QoL keyboard shortcuts that might make editing your files a little bit easier. You'll find a list of them below.
Shortcuts
Shortcut | Action |
---|---|
CTRL+SHIFT+D | Duplicates the current line to the line below. |
CTRL+D | Deletes the current line. |
CTRL+A | Selects the entire file. |
CTRL+S | Saves the current contents of the file. |
CTRL+X | Removes the selected content from the file and places into your paste buffer. |
CTRL+V | Places the contents of your paste buffer at the text cursor position. |
CTRL+Z | Undoes the last action. Includes parts of typed text. |
CTRL+SHIFT+Z | Redoes the last action that was undone. |
Copying a file
You can copy, or "duplicate", any file on your server using the File Manager by clicking on the kebab menu on the right side of the file entry and clicking copy. After a few moments, you'll see a new file with the name of the file you copied and the word copy
followed by a -
with the UNIX timestamp of the time it was copied. For example, a file named testFile.txt
would be copied as testFile.txt copy-1674676225
This can be a great way to make a quick backup of a file you're working on. However, you can't copy folders at this time, but you can compress them by following these steps.
Decompressing a compressed file
After uploading your compressed file to your server Using SFTP you need to decompress it by following the steps below.
- Locate the file you uploaded on the File Manager
- Click the 3 dots on the right side of your file
- Select Decompress
- Ensure that the files you wanted are now in the correct location!
Compressing Folders and Files
Compressing a folder allows the folder to act as a single file and decreases it's size at the same time, while compressing an individual file will only decrease it size. In both cases, programs such as game servers, plugins, mods, or software won't be able to interact with the files or folders as they normally would, so being able to compress items is primarily useful to you as a user rather than the server.
You can use the web file manager to compress files/folders individually or in bulk.
You may find that the File Manager freezes or disconnects from the Daemon when creating large archives. This is normal and will not cause harm to a running server.
You'll be able to tell when the compression is done when the archive's "LAST MODIFIED" column is no longer "a few seconds ago".
Compressing an individual file or folder
You can compress a single file or a folder containing multiple files by following the steps below.
- Locate the file or folder you want to compress
- Click on the ellipsis menu on the right side of the item
- Click the compress option
Compressing multiple files or folders
You can compress multiple files/folders into one archive by following the steps below
- Locate the files/folders you want to compress.
- Select each file/folder using the check boxes on the left side of the items.
- Click the Orange
Compress
that appeared at the bottom of the webpage.
After compression finishes you'll find a new file named archive
with a suffix of 4 randomly generated characters. For example, archive.15Ji.tar
Uploading a file
You can upload files directly from the File Manager by either dragging the file into the File List, as you can see in the image to the right, or by using the ellipsis menu on the top right of the file table and electing upload, which will open a file selector. The Web Based File Manager has an upload limit of 100mb, so if you need to upload a file that's larger than 100mb you need to use SFTP. If you're not sure how to use SFTP, then check out our Using SFTP page.
Slow uploads can sometimes make the panel go unresponsive. It's likely that your upload is still taking place and will complete as expected, but if it takes longer than 10 minutes you should use SFTP.
Downloading a file
You can download a file from the file manager using the context menu for the file that appears after clicking on the ellipsis on the right side of the file entry and selecting the Download
option. The file will be downloaded to the default download location for your browser.
You can download multiple files at once, or a folder, by either compressing the files you want to download, or individually selecting them for download using the ellipsis on the right side of the file entries.
SFTP is faster and more stable for downloading large files, especially on unstable or slow connections.
Deleting a file/folder
You can delete a file or folder by using the context menu that's opened with the ellipses on the right side of the file entry, or delete multiple files or folders by selecting the files/folders you want to delete using the check boxes on the left side of the entries and clicking the Delete
option that shows up at the bottom of the screen.
Deleting large directories/files or directories that contain a large number of files can make the panel busy. Your file/directory is being deleted, but it may take some time. If it takes longer than 10 minutes, open a support ticket via Discord> or the Client Area and a team member may be able to assist you in removing the file(s)/directory.