Skip to content

How to upload files and whole folders, write code in the browser-based code editor, restore deleted files from the trash, and use SFTP.

The Files tab in the Portal gives you browser-based access to your server's filesystem. You can upload files and whole folders, create directories, write code in a full code editor, restore deleted files from the trash, and extract archives — all without leaving the browser. For very large transfers, SFTP is also available.

What you'll learn

  • How to navigate and manage files
  • How to upload files and whole folders directly in the browser
  • How to write and edit code in the built-in code editor
  • How the trash protects you from accidentally deleted files
  • How to use SFTP for unrestricted access

The file manager shows your server's directory tree. Click folders to enter them, and click any text file to open it in the built-in code editor.


Uploading Files

Click Upload to upload one or more files from your computer, or drag them from your computer onto the file manager. Files land in the currently open directory.

The web file manager has an upload size limit per file. For very large files, use SFTP instead (see the section below).


Uploading Folders

You can upload whole folders directly in the browser — no ZIP file or SFTP client needed.

Option 1: Upload the folder in the browser (simplest)

  1. Open the directory on your server where the folder should go.
  2. Drag the folder from your computer onto the file manager.
  3. The folder is uploaded with all its subfolders and files, in the same structure as on your computer.

Option 2: Upload an archive

Handy for projects with thousands of small files:

  1. Compress your folder on your computer into a .zip or .tar.gz file.
  2. Upload the archive using the Upload button.
  3. Right-click the archive in the file manager and select Extract to unpack it on the server.

Option 3: Use SFTP (no size limits)

SFTP lets you upload entire folder trees from a desktop client with no browser restrictions. See the SFTP section below.

Leave out folders that are installed automatically, such as node_modules or a Python virtual environment. They make the upload much bigger and are recreated by the install command.


Creating and Editing Files

ActionHow
Create a new fileClick New File
Edit an existing fileClick the file to open it in the code editor, then click Save
Create a directoryClick New Directory
Rename or deleteRight-click a file or folder to access these options

Code Editor

Files open in a full code editor based on the open-source version of the VS Code editor, so you can really program in the browser — no local setup needed for quick changes or even whole projects.

  • Syntax highlighting for JavaScript, TypeScript, Python, JSON, YAML, .env files and many more languages
  • Autocomplete, bracket matching and automatic indentation as you type
  • Find & replace, multiple cursors and the keyboard shortcuts you know from VS Code

Save your changes and restart the server from the Console tab to run the new code.


Trash

Deleted files and folders are not removed right away: they are moved to the trash first — whether you delete them in the file manager or via SFTP. If you deleted something by mistake, open the trash in the file manager and restore it to its original location.

The trash is emptied automatically one day after a file was moved there. Until then you can also delete a file from the trash, or empty the trash yourself, to remove it for good right away.

The trash keeps deleted files for one day only, and it does not help when files are overwritten or the server itself is deleted — the trash is no backup. For real copies of your server, use Backups.


Archive Operations

  • Extract: Upload a .zip or .tar.gz, right-click it, and select Extract to unpack it in place.
  • Compress: Select files or folders and use the archive option to create a .zip.

Using SFTP

SFTP gives you direct, unrestricted filesystem access from a desktop client.

Getting your SFTP details

  1. In the Portal, open your server and go to the Settings tab.
  2. Find the SFTP Details section:
    • Host — the SFTP server address
    • Port — typically 2022
    • Username — your Portal username
  3. Use your Portal account password as the SFTP password.
ClientPlatform
FileZillaWindows, Mac, Linux (free)
WinSCPWindows (free)
CyberduckMac, Windows (free)
sftpAny terminal

What SFTP lets you do

  • Upload entire folder trees in one transfer
  • Transfer large files without hitting browser limits
  • Manage files efficiently from your desktop environment

Tips

  • Stop your server before uploading a replacement version of your application to avoid file conflicts.
  • Upload your project folder in the browser and edit it in the code editor; use SFTP for very large uploads.
  • Your code is on GitHub, GitLab, Gitea or Forgejo? Let the Git Deploy tab copy it to your server automatically on every push instead of uploading it by hand. See Git Deploy.
  • Link Google Drive in the Backups tab for automatic backups, and keep a copy of your code elsewhere (e.g., on GitHub). See Backups.

Next Steps