downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/ref.ftp.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = 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 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'ref.ftp.php',
   
1 => 'FTP Functions',
  ),
 
'up' =>
  array (
   
0 => 'book.ftp.php',
   
1 => 'FTP',
  ),
 
'prev' =>
  array (
   
0 => 'ftp.examples-basic.php',
   
1 => 'FTP example',
  ),
 
'next' =>
  array (
   
0 => 'function.ftp-alloc.php',
   
1 => 'ftp_alloc',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div>
 <h1 class="title">FTP Functions</h1>

 













































































































































































































<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.ftp-alloc.php">ftp_alloc</a> — Allocates space for a file to be uploaded</li><li><a href="function.ftp-cdup.php">ftp_cdup</a> — Changes to the parent directory</li><li><a href="function.ftp-chdir.php">ftp_chdir</a> — Changes the current directory on a FTP server</li><li><a href="function.ftp-chmod.php">ftp_chmod</a> — Set permissions on a file via FTP</li><li><a href="function.ftp-close.php">ftp_close</a> — Closes an FTP connection</li><li><a href="function.ftp-connect.php">ftp_connect</a> — Opens an FTP connection</li><li><a href="function.ftp-delete.php">ftp_delete</a> — Deletes a file on the FTP server</li><li><a href="function.ftp-exec.php">ftp_exec</a> — Requests execution of a command on the FTP server</li><li><a href="function.ftp-fget.php">ftp_fget</a> — Downloads a file from the FTP server and saves to an open file</li><li><a href="function.ftp-fput.php">ftp_fput</a> — Uploads from an open file to the FTP server</li><li><a href="function.ftp-get-option.php">ftp_get_option</a> — Retrieves various runtime behaviours of the current FTP stream</li><li><a href="function.ftp-get.php">ftp_get</a> — Downloads a file from the FTP server</li><li><a href="function.ftp-login.php">ftp_login</a> — Logs in to an FTP connection</li><li><a href="function.ftp-mdtm.php">ftp_mdtm</a> — Returns the last modified time of the given file</li><li><a href="function.ftp-mkdir.php">ftp_mkdir</a> — Creates a directory</li><li><a href="function.ftp-nb-continue.php">ftp_nb_continue</a> — Continues retrieving/sending a file (non-blocking)</li><li><a href="function.ftp-nb-fget.php">ftp_nb_fget</a> — Retrieves a file from the FTP server and writes it to an open file (non-blocking)</li><li><a href="function.ftp-nb-fput.php">ftp_nb_fput</a> — Stores a file from an open file to the FTP server (non-blocking)</li><li><a href="function.ftp-nb-get.php">ftp_nb_get</a> — Retrieves a file from the FTP server and writes it to a local file (non-blocking)</li><li><a href="function.ftp-nb-put.php">ftp_nb_put</a> — Stores a file on the FTP server (non-blocking)</li><li><a href="function.ftp-nlist.php">ftp_nlist</a> — Returns a list of files in the given directory</li><li><a href="function.ftp-pasv.php">ftp_pasv</a> — Turns passive mode on or off</li><li><a href="function.ftp-put.php">ftp_put</a> — Uploads a file to the FTP server</li><li><a href="function.ftp-pwd.php">ftp_pwd</a> — Returns the current directory name</li><li><a href="function.ftp-quit.php">ftp_quit</a> — Alias of ftp_close</li><li><a href="function.ftp-raw.php">ftp_raw</a> — Sends an arbitrary command to an FTP server</li><li><a href="function.ftp-rawlist.php">ftp_rawlist</a> — Returns a detailed list of files in the given directory</li><li><a href="function.ftp-rename.php">ftp_rename</a> — Renames a file or a directory on the FTP server</li><li><a href="function.ftp-rmdir.php">ftp_rmdir</a> — Removes a directory</li><li><a href="function.ftp-set-option.php">ftp_set_option</a> — Set miscellaneous runtime FTP options</li><li><a href="function.ftp-site.php">ftp_site</a> — Sends a SITE command to the server</li><li><a href="function.ftp-size.php">ftp_size</a> — Returns the size of the given file</li><li><a href="function.ftp-ssl-connect.php">ftp_ssl_connect</a> — Opens an Secure SSL-FTP connection</li><li><a href="function.ftp-systype.php">ftp_systype</a> — Returns the system type identifier of the remote FTP server</li></ul>
</div>
<?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites