<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.ftp.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'ftp.constants.php',
    1 => '预定义常量',
    2 => '预定义常量',
  ),
  'up' => 
  array (
    0 => 'book.ftp.php',
    1 => 'FTP',
  ),
  'prev' => 
  array (
    0 => 'ftp.resources.php',
    1 => '资源类型',
  ),
  'next' => 
  array (
    0 => 'ftp.examples.php',
    1 => '示例',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'reference/ftp/constants.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ftp.constants" class="appendix">
 <h1 class="title">预定义常量</h1>

 <p class="simpara">下列常量由此扩展定义，且仅在此扩展编译入 PHP 或在运行时动态载入时可用。</p>
 <dl>
  
   <dt id="constant.ftp-ascii">
    <strong><code><a href="ftp.constants.php#constant.ftp-ascii">FTP_ASCII</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para"/>
   </dd>
  
  
   <dt id="constant.ftp-autoseek">
    <strong><code><a href="ftp.constants.php#constant.ftp-autoseek">FTP_AUTOSEEK</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     更多信息请参考 <span class="function"><a href="function.ftp-set-option.php" class="function">ftp_set_option()</a></span>。
    </p>
   </dd>
  
  
   <dt id="constant.ftp-autoresume">
    <strong><code><a href="ftp.constants.php#constant.ftp-autoresume">FTP_AUTORESUME</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     自动确定 GET 和 PUT 请求的恢复位置和开始位置（仅在启用 FTP_AUTOSEEK 的情况下有效）
    </p>
   </dd>
  
  
   <dt id="constant.ftp-failed">
    <strong><code><a href="ftp.constants.php#constant.ftp-failed">FTP_FAILED</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     异步传输失败
    </p>
   </dd>
  
  
   <dt id="constant.ftp-finished">
    <strong><code><a href="ftp.constants.php#constant.ftp-finished">FTP_FINISHED</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     异步传输完成
    </p>
   </dd>
  
  
   <dt id="constant.ftp-moredata">
    <strong><code><a href="ftp.constants.php#constant.ftp-moredata">FTP_MOREDATA</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     异步传输正处于活动状态
    </p>
   </dd>
  
  
   <dt id="constant.ftp-text">
    <strong><code><a href="ftp.constants.php#constant.ftp-text">FTP_TEXT</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para"><strong><code><a href="ftp.constants.php#constant.ftp-ascii">FTP_ASCII</a></code></strong> 的别名。</p>
   </dd>
  
  
   <dt id="constant.ftp-binary">
    <strong><code><a href="ftp.constants.php#constant.ftp-binary">FTP_BINARY</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para"/>
   </dd>
  
  
   <dt id="constant.ftp-image">
    <strong><code><a href="ftp.constants.php#constant.ftp-image">FTP_IMAGE</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para"><strong><code><a href="ftp.constants.php#constant.ftp-binary">FTP_BINARY</a></code></strong> 的别名。</p>
   </dd>
  
  
   <dt id="constant.ftp-timeout-sec">
    <strong><code><a href="ftp.constants.php#constant.ftp-timeout-sec">FTP_TIMEOUT_SEC</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     更多信息请参考 <span class="function"><a href="function.ftp-set-option.php" class="function">ftp_set_option()</a></span>。
    </p>
   </dd>
  
  
   <dt id="constant.ftp-usepasvaddress">
    <strong><code><a href="ftp.constants.php#constant.ftp-usepasvaddress">FTP_USEPASVADDRESS</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <p class="para">
     更多信息请参考 <span class="function"><a href="function.ftp-set-option.php" class="function">ftp_set_option()</a></span>。
    </p>
   </dd>
  
 </dl>
</div>
<?php manual_footer($setup); ?>