How to Manage Your Minecraft Server Files with SFTP
SFTP allows you to securely manage the files and folders of your Minecraft server from your own computer. This is particularly useful when uploading or downloading many files or large files. This guide explains how to create an SFTP password, connect with FileZilla, and upload, download, edit or delete files.
Creating SFTP Credentials
- Log in to the game panel and go to your Minecraft server.
- Stop the Minecraft server if it is still running.
- Open the Settings page.
- Find the SFTP Details section and click Create SFTP Password.
- Copy the Server Address, Username and SFTP Password. You will need these details in the following steps.
Note The SFTP password is only displayed once. Never share this password with anyone else. Do you want to give someone access? Add that person as a subuser instead.
Connecting Through FileZilla
If you have not installed FileZilla Client yet, first follow our guide on installing FileZilla.
- Open FileZilla Client on your computer.
- Enter the following details at the top of the window:
|
FileZilla field |
Value |
|---|---|
|
Host |
The complete Server Address from the game panel, including |
|
Username |
The Username from the game panel |
|
Password |
The generated SFTP Password |
|
Port |
Leave this field empty; port |
- Click Quickconnect.
- Are you connecting for the first time? Accept the host key in FileZilla and click OK.
- Once connected, the files on your Minecraft server appear on the right side of FileZilla.
Tip Your Minecraft server does not need to be running to connect through SFTP. Leave the server stopped until you have completed all changes.
Downloading Files
The files on your computer are displayed on the left side of FileZilla. The files on your Minecraft server are displayed on the right.
- On the left, open the folder in which you want to save the files.
- On the right, select the files or folders you want to download.
- Right-click the selection and select Download.
- Wait until the transfer shown at the bottom of FileZilla has been completed.
Uploading Files
- On the right, open the folder on your Minecraft server to which you want to upload the files.
- On the left, locate the files or folders on your computer.
- Select the files or folders, right-click the selection and select Upload.
- Does FileZilla ask whether it may overwrite existing files? Check the filenames and only confirm if you want to replace the existing files.
- Wait until the transfer shown at the bottom of FileZilla has been completed before starting the Minecraft server.
Editing, Renaming or Deleting Files
Right-click a file or folder on the right side of FileZilla. Depending on your selection, you can perform the following actions:
- Select View/Edit to open a text file on your computer. Save your changes and then confirm in FileZilla that the modified file should be uploaded again.
- Select Rename to change the name of a file or folder.
- Select Create directory to create a new folder on the Minecraft server.
- Select Delete to remove a file or folder from the Minecraft server.
Note Deleted or overwritten files cannot be recovered through FileZilla. Create a backup first if you may need the files again.
Rotating the SFTP Password
Have you forgotten the SFTP password or do you suspect someone else has access to it? Create a new password.
- Open the Settings page in the game panel.
- Under SFTP Details, click Rotate SFTP Password.
- Copy and store the new password before leaving the page.
- Use the new password in FileZilla from now on.
FileZilla Cannot Connect
If the connection fails, check the following:
- Copy the complete Server Address and Username from the game panel again. Make sure no extra spaces are included.
- Make sure the server address starts with
sftp://and ends with port:2022. - Are you seeing an authentication error? Rotate the SFTP password and try connecting again with the new password.
- Make sure your firewall, antivirus software or network is not blocking connections through port
2022. This port may be unavailable on some public networks. If so, try a different network. - Check the ConsulHosting status page for an ongoing outage.