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:
In the header bar, click on Open.
Click Other Locations.
Enter the IP Address or URL of the appropriate server.
Find and select the file that you wish to open.
Use the Character Encoding drop-down list to select the appropriate character coding.
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.