---
title: Edit a file of a server
project: TotalFiles
version: Latest
section: guides
language: en
license: 
url: https://totaljs.es/docs/totalfiles/latest/guides/edit-on-a-server/
updated: 2026-12-02T15:40:36.075Z
---

# Edit a file of a server

> Open a file of a server with the app that you use for it. Each time you save, it goes back to the server.

## Edit it

1. [Connect to the server](/totalfiles/latest/guides/connect-to-a-server/) and go to the file.
2. Double-click it, or go to its name and press Enter.
3. Change it in its app, and save.

The line at the bottom of TotalFiles says **saved to the server** with the name of the file, a moment after you save.

You are working with a copy on your computer. It is opened with the app that your system has for that kind of file.

## Keep TotalFiles connected

> A file goes back only while TotalFiles is open and connected to that server. If you quit it, disconnect or change to another server, what you save after that stays on your computer.

To go on, connect and open the file again from the server.

## The file as it was

The first time you save, the old file is kept on the server, as when you [upload](/totalfiles/latest/guides/publish/#what-is-kept-on-the-server). The following times do not add more copies: the one that stays is the file as it was before you started.

## The copy on your computer

TotalFiles removes the copy by itself when it starts, a week after its last change or later, and only if the server has the same. A copy that could not be sent back stays.

## If it is not saved

The line at the bottom says why, and where your copy is. The usual reason is that the file changed on the server while you were editing it. TotalFiles does not replace it, so the other change is not lost.

1. Take your copy from the place that it says.
2. Open the file of the server again, with the change of the other person.
3. Put your changes in it, and save.
