Open a file that is located on a server

Prior to opening a file on a server from within gedit, you need to know some technical information about the server. For example, you will need to know the IP Address or URL of the server, and may need to know what kind of server it is (e.g., HTTP, FTP, etc.).

Also, some types of servers impose restrictions on what you can do with files stored on the server. For example, you may be able to open a file from a server, but may need to save any changes to the file locally, on your own computer.

With these caveats in mind, perform the following steps to open a file from a server using gedit:

  1. Choose File ▸ Open to display the Open Files dialog.

  2. Select the Pencil icon near the top of the Open Files dialog.

  3. Enter the IP Address or URL of the appropriate server.

  4. Find and select the file that you wish to open.

  5. Use the Character coding drop-down list to select the appropriate character coding.

  6. Click Open.

Valid types of URI include http:, ftp:, file:, and all of the methods supported by gvfs.

Files from some types of URI are opened as read-only, and any changes you make must be saved to a different location. For example, HTTP only allows files to be read. Files opened from FTP are read-only because not all FTP servers may correctly work with saving remote files.