<?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 => 'ref.ftp.php',
    1 => 'FTP 函数',
    2 => 'FTP 函数',
  ),
  'up' => 
  array (
    0 => 'book.ftp.php',
    1 => 'FTP',
  ),
  'prev' => 
  array (
    0 => 'ftp.examples-basic.php',
    1 => '基本用法',
  ),
  'next' => 
  array (
    0 => 'function.ftp-alloc.php',
    1 => 'ftp_alloc',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'reference/ftp/reference.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/ref.ftp.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="ref.ftp" class="reference">
 <h1 class="title">FTP 函数</h1>

 























































































































































































  



































































<h2>目录</h2><ul class="chunklist chunklist_reference"><li><a href="function.ftp-alloc.php">ftp_alloc</a> — 为要上传的文件分配空间</li><li><a href="function.ftp-append.php">ftp_append</a> — 将文件内容追加到 FTP 服务器上的指定文件</li><li><a href="function.ftp-cdup.php">ftp_cdup</a> — 切换到当前目录的父目录</li><li><a href="function.ftp-chdir.php">ftp_chdir</a> — 在 FTP 服务器上改变当前目录</li><li><a href="function.ftp-chmod.php">ftp_chmod</a> — 设置 FTP 服务器上的文件权限</li><li><a href="function.ftp-close.php">ftp_close</a> — 关闭 FTP 连接</li><li><a href="function.ftp-connect.php">ftp_connect</a> — 建立新 FTP 连接</li><li><a href="function.ftp-delete.php">ftp_delete</a> — 删除 FTP 服务器上的文件</li><li><a href="function.ftp-exec.php">ftp_exec</a> — 在 FTP 服务器运行指定的命令</li><li><a href="function.ftp-fget.php">ftp_fget</a> — 从 FTP 服务器上下载文件并保存到本地已打开的文件中</li><li><a href="function.ftp-fput.php">ftp_fput</a> — 上传已打开的文件到 FTP 服务器</li><li><a href="function.ftp-get.php">ftp_get</a> — 从 FTP 服务器上下载文件</li><li><a href="function.ftp-get-option.php">ftp_get_option</a> — 返回当前 FTP 连接的各种不同的选项设置</li><li><a href="function.ftp-login.php">ftp_login</a> — 登录 FTP 服务器</li><li><a href="function.ftp-mdtm.php">ftp_mdtm</a> — 返回指定文件的最后修改时间</li><li><a href="function.ftp-mkdir.php">ftp_mkdir</a> — 建立新目录</li><li><a href="function.ftp-mlsd.php">ftp_mlsd</a> — 返回指定目录中的文件列表</li><li><a href="function.ftp-nb-continue.php">ftp_nb_continue</a> — 连续获取／发送文件（以不分块的方式 non-blocking）</li><li><a href="function.ftp-nb-fget.php">ftp_nb_fget</a> — 从 FTP 服务器获取文件并写入到一个打开的文件（非阻塞）</li><li><a href="function.ftp-nb-fput.php">ftp_nb_fput</a> — 将文件存储到 FTP 服务器 （非阻塞）</li><li><a href="function.ftp-nb-get.php">ftp_nb_get</a> — 从 FTP 服务器上获取文件并写入本地文件（non-blocking）</li><li><a href="function.ftp-nb-put.php">ftp_nb_put</a> — 存储一个文件至 FTP 服务器（non-blocking）</li><li><a href="function.ftp-nlist.php">ftp_nlist</a> — 返回给定目录的文件列表</li><li><a href="function.ftp-pasv.php">ftp_pasv</a> — 返回当前 FTP 被动模式是否打开</li><li><a href="function.ftp-put.php">ftp_put</a> — 上传文件到 FTP 服务器</li><li><a href="function.ftp-pwd.php">ftp_pwd</a> — 返回当前目录名</li><li><a href="function.ftp-quit.php">ftp_quit</a> — ftp_close 的 别名</li><li><a href="function.ftp-raw.php">ftp_raw</a> — 向 FTP 服务器发送命令</li><li><a href="function.ftp-rawlist.php">ftp_rawlist</a> — 返回指定目录下文件的详细列表</li><li><a href="function.ftp-rename.php">ftp_rename</a> — 更改 FTP 服务器上的文件或目录名</li><li><a href="function.ftp-rmdir.php">ftp_rmdir</a> — 删除目录</li><li><a href="function.ftp-set-option.php">ftp_set_option</a> — 设置各种 FTP 运行时选项</li><li><a href="function.ftp-site.php">ftp_site</a> — 向服务器发送 SITE 命令</li><li><a href="function.ftp-size.php">ftp_size</a> — 返回指定文件的大小</li><li><a href="function.ftp-ssl-connect.php">ftp_ssl_connect</a> — 打开安全 SSL-FTP 连接</li><li><a href="function.ftp-systype.php">ftp_systype</a> — 返回远程 FTP 服务器的操作系统类型</li></ul>
</div>
<?php manual_footer($setup); ?>