Skip to content

Game Server: Access Server Files via SFTP

Learn how to securely access and manage your server files via SFTP—with encrypted file transfers and full server control. → Learn more

10 November 20266 min read9 Views0 helpful

Introduction

SFTP (SSH File Transfer Protocol) is an encrypted network protocol for transferring files over an SSH connection. It lets you securely exchange files between your PC and your game server. With SFTP, you can access and manage your server files—whether you want to upload or download files, or edit them directly.

Info

ZapX game servers only support access via SFTP. Classic, unencrypted FTP is not supported.

Getting started

To connect via SFTP, you need an SFTP client. There are many clients available, but two of the best-known and most established are FileZilla and WinSCP.

SFTP clientDownload
FileZillaOfficial website
WinSCPOfficial website

FiveM: Manage server files via SFTP

With FiveM, you mainly use SFTP to work with your resources, the server.cfg and the txAdmin data. Connecting and credentials work exactly as described above. Even though people often talk about "FiveM FTP": with ZapX you always connect via SFTP.

Where are resources, server.cfg and the txAdmin data?

After logging in, the FiveM files are in the fivem folder and, below it, in the folder of your variant, for example fivem/standard. There you'll find:

Folder / fileContents
<Name>_<Code>.base (e.g. Qbox_E99E54.base)The server folder txAdmin creates when you set it up with a recipe. It contains the server.cfg and the resources folder.
defaultThe txAdmin profile with settings (config.json), data and logs
admins.jsonThe txAdmin admin accounts
server-dataAnother server folder with its own server.cfg and resources folder
artifactsThe FiveM server files (FXServer). You don't need to change anything here.

ZapX has no separate txData folder. The txAdmin data sits directly in this variant folder.

Tip

To see which server folder is currently active, open txAdmin and go to Settings → FXServer, field Server Data Folder. Changes to a server.cfg in any other folder have no effect.

Upload resources

  1. Extract the downloaded resource on your PC. The fxmanifest.lua file (__resource.lua for older resources) must sit directly in the resource folder.
  2. Stop your server.
  3. Upload the folder via SFTP into the resources folder of your active server folder.
  4. Add the resource to the server.cfg with start <foldername> and start the server.

You'll find more details in the guide FiveM: Installing Resources.

Edit server.cfg and txAdmin data safely

  • Stop the server before you change the server.cfg, files in the default folder or the admins.json. The server and txAdmin write to these files, so changes made while the server is running can be overwritten.
  • Download a copy of the file first so you can go back if something goes wrong.
  • You can also make smaller changes to the server.cfg directly in the txAdmin CFG Editor.

Common FiveM issues

Storage is full

With FiveM, the folder that grows most is cache in the server folder (<Name>_<Code>.base/cache). You can delete it while the server is stopped, FiveM recreates it on the next start. You can also remove older log files in default/logs. Leave the artifacts folder and the other txAdmin files unchanged.

Resource doesn't start

Check that the folder name matches the name in the start command exactly (it's case-sensitive) and that the fxmanifest.lua sits directly in the folder, not in a subfolder. You'll find more issues under FiveM: Common Problems.

FAQ

Frequently asked questions

No. ZapX game servers only support SFTP (SSH File Transfer Protocol). Classic, unencrypted FTP is not supported.
Two of the best-known and most established clients are FileZilla and WinSCP.
In your game server management panel, under the Files tab in the External Access section. First, click "Enable SFTP" to set it up.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.