<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="gedit-open-on-server">

  <info>
    <link type="guide" xref="gedit-files-basic" group="sixth"/>
    <revision pkgversion="3.0" version="1.0" date="2011-03-25" status="final"/>
    <credit type="author">
      <name>Jim Campbell</name>
      <email>jwcampbell@gmail.com</email>
    </credit>
  </info>

  <title>打开位于服务器上的文件</title>

  <p>Prior to opening a file on a server from within <app>gedit</app>, 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.).</p>

  <p>还有，一些类型的服务器限制了文件存储。例如，您可以打开服务器上的一个文件，但是您只能将修改过的文件存储在本地计算机上。</p>

  <p>With these caveats in mind, perform the following steps to open a file from a server using <app>gedit</app>:</p>

    <steps>
      <item><p>Choose <guiseq><gui>File</gui><gui>Open</gui></guiseq> to display the <gui>Open Files</gui> dialog.</p></item>
      <item><p>Select the <gui>Pencil</gui> icon near the top of the <gui>Open Files</gui> dialog.</p></item>
      <item><p>输入服务器的 IP 地址或 URL。</p></item>
      <item><p>查找并选择您想打开的文件。</p></item>
      <item><p>在字符编码下拉列表中，选择合适的字符编码。</p></item>
      <item><p>Click <gui>Open</gui>.</p></item>
    </steps>

  <p>Valid types of URI include http:, ftp:, file:, and all of the methods supported by <app>gvfs</app>.</p>

  <note>
    <p>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.</p>
  </note>

</page>
