Edit server files with VS Code
Edit your server's config files in Visual Studio Code over SFTP, with the free SFTP extension, uploading each file as you save it.
Visual Studio Code can open your server's files over SFTP, so you get its search, syntax colouring and tabs while you edit configs. The browser File Manager is quicker for one small change (How to manage your server files). VS Code earns its place when you are working through several config files in one sitting.
Checked against the SFTP extension by Natizyskunk, version 1.16.3, October 2026.
What you need
- Visual Studio Code on your computer.
- The four values from your server's SFTP connection card: Host, Port, Username and Password. Open Settings under More in the left rail, then scroll to Connections. How to connect over SFTP shows where each one is and how to rotate the password.
Only the server owner can see the SFTP password. SFTP works whether the server is running or stopped.
Install the extension
- In VS Code, open the Extensions view with Ctrl+Shift+X.
- Search for
sftpand install SFTP by Natizyskunk.
Natizyskunk's SFTP is the maintained fork of the original SFTP extension by liximomo, which is no longer maintained. If you have the original installed, uninstall it first.
Create the connection file
- Make an empty folder on your computer and open it with File > Open Folder. It will hold the local copies of the files you edit.
- Press Ctrl+Shift+P (Cmd+Shift+P on a Mac) to open the Command Palette and run
SFTP: Config. VS Code creates.vscode/sftp.json. - Replace its contents with the values from the card:
{
"name": "My server",
"host": "paste the Host here",
"protocol": "sftp",
"port": 1234,
"username": "paste the Username here",
"remotePath": "/",
"uploadOnSave": true
}port is a number, so it takes no quotes. remotePath is the folder on the server that VS Code treats as the top, and / is the server's main folder, the same one the File Manager opens in. uploadOnSave sends a file back every time you save it.
The extension asks for your password the first time it connects, because sftp.json has no password line. You can add "password" to the file to skip the prompt, but the extension's own documentation warns that passwords in sftp.json are stored as plain text.
Open and edit a file
- Choose the SFTP icon in the Activity Bar (or run
View: Show SFTP). Your server's folders appear under the connection name. - Find the file you want. The remote view only shows a file's contents, so run
SFTP: Edit in Localto make an editable copy. - Make your change and save. With
uploadOnSaveon, the file uploads straight away. - Restart the server from the Console tab. Most games read their config files only at startup.
To pull down a whole folder, set remotePath to that folder first (a folder such as plugins, not /), then run SFTP: Download Project. That command downloads everything under remotePath, so leave it away from / or it will copy your world too.
Take a backup before you edit files that matter (How to create and restore backups), and stop the server before changing a world folder. Files the panel manages itself, such as start.sh, are locked for every connection, SFTP included.
Keep the folder you opened out of anything shared, such as a Git repository you publish, if you saved the password in sftp.json.
If it won't connect
Check that Host, Port and Username match the card exactly, and that protocol is sftp. If you rotated the password on the card, the old one stops working on all your servers, so update it here too. The checks in How to connect over SFTP cover the usual causes of a refused login.
Was this guide helpful?
Related guides
Upload blueprints to a Satisfactory server
Copy your Satisfactory blueprints from your PC to your server with the Files tab or SFTP, make the game see them, and download them back.
Move your server from another host
Copy your world, configs, mods and player data from your old host with the Migrate tab, or upload a download, then check everything works.
Connect over SFTP with FileZilla or WinSCP
Copy your SFTP host, port, username and password from the panel, connect with FileZilla or WinSCP, and upload files too big for the browser.