mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
ftp is not a function name, so removing from example title
more uppercasing ftp removing dots from refpurpose, where needed git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@74884 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
1060ddbb5b
commit
c99c794176
1 changed files with 16 additions and 18 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.41 $ -->
|
||||
<!-- $Revision: 1.42 $ -->
|
||||
<reference id="ref.ftp">
|
||||
<title>FTP functions</title>
|
||||
<titleabbrev>FTP</titleabbrev>
|
||||
|
@ -24,7 +24,7 @@
|
|||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title><function>ftp</function> example</title>
|
||||
<title>FTP</title>
|
||||
<programlisting>
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
@ -36,7 +36,7 @@ $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
|
|||
|
||||
// check connection
|
||||
if ((!$conn_id) || (!$login_result)) {
|
||||
echo "Ftp connection has failed!";
|
||||
echo "FTP connection has failed!";
|
||||
echo "Attempted to connect to $ftp_server for user $ftp_user_name";
|
||||
die;
|
||||
} else {
|
||||
|
@ -48,7 +48,7 @@ $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_BINARY);
|
|||
|
||||
// check upload status
|
||||
if (!$upload) {
|
||||
echo "Ftp upload has failed!";
|
||||
echo "FTP upload has failed!";
|
||||
} else {
|
||||
echo "Uploaded $source_file to $ftp_server as $destination_file";
|
||||
}
|
||||
|
@ -222,7 +222,7 @@ ftp_close($conn_id);
|
|||
<refentry id="function.ftp-nlist">
|
||||
<refnamediv>
|
||||
<refname>ftp_nlist</refname>
|
||||
<refpurpose>Returns a list of files in the given directory.</refpurpose>
|
||||
<refpurpose>Returns a list of files in the given directory</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -266,7 +266,7 @@ ftp_close($conn_id);
|
|||
<refnamediv>
|
||||
<refname>ftp_systype</refname>
|
||||
<refpurpose>
|
||||
Returns the system type identifier of the remote FTP server.
|
||||
Returns the system type identifier of the remote FTP server
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
|
@ -284,7 +284,7 @@ ftp_close($conn_id);
|
|||
<refentry id="function.ftp-pasv">
|
||||
<refnamediv>
|
||||
<refname>ftp_pasv</refname>
|
||||
<refpurpose>Turns passive mode on or off.</refpurpose>
|
||||
<refpurpose>Turns passive mode on or off</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -309,7 +309,7 @@ ftp_close($conn_id);
|
|||
<refentry id="function.ftp-get">
|
||||
<refnamediv>
|
||||
<refname>ftp_get</refname>
|
||||
<refpurpose>Downloads a file from the FTP server.</refpurpose>
|
||||
<refpurpose>Downloads a file from the FTP server</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -339,8 +339,7 @@ ftp_close($conn_id);
|
|||
<refentry id="function.ftp-fget">
|
||||
<refnamediv>
|
||||
<refname>ftp_fget</refname>
|
||||
<refpurpose>Downloads a file from the FTP server and saves to an
|
||||
open file.</refpurpose>
|
||||
<refpurpose>Downloads a file from the FTP server and saves to an open file</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -367,7 +366,7 @@ ftp_close($conn_id);
|
|||
<refentry id="function.ftp-put">
|
||||
<refnamediv>
|
||||
<refname>ftp_put</refname>
|
||||
<refpurpose>Uploads a file to the FTP server.</refpurpose>
|
||||
<refpurpose>Uploads a file to the FTP server</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -403,7 +402,7 @@ $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII);
|
|||
<refentry id="function.ftp-fput">
|
||||
<refnamediv>
|
||||
<refname>ftp_fput</refname>
|
||||
<refpurpose>Uploads from an open file to the FTP server.</refpurpose>
|
||||
<refpurpose>Uploads from an open file to the FTP server</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -430,7 +429,7 @@ $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII);
|
|||
<refentry id="function.ftp-size">
|
||||
<refnamediv>
|
||||
<refname>ftp_size</refname>
|
||||
<refpurpose>Returns the size of the given file.</refpurpose>
|
||||
<refpurpose>Returns the size of the given file</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -453,7 +452,7 @@ $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII);
|
|||
<refentry id="function.ftp-mdtm">
|
||||
<refnamediv>
|
||||
<refname>ftp_mdtm</refname>
|
||||
<refpurpose>Returns the last modified time of the given file.</refpurpose>
|
||||
<refpurpose>Returns the last modified time of the given file</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -482,7 +481,7 @@ $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII);
|
|||
<refentry id="function.ftp-rename">
|
||||
<refnamediv>
|
||||
<refname>ftp_rename</refname>
|
||||
<refpurpose>Renames a file on the ftp server.</refpurpose>
|
||||
<refpurpose>Renames a file on the FTP server</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -507,7 +506,7 @@ $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII);
|
|||
<refentry id="function.ftp-delete">
|
||||
<refnamediv>
|
||||
<refname>ftp_delete</refname>
|
||||
<refpurpose>Deletes a file on the ftp server.</refpurpose>
|
||||
<refpurpose>Deletes a file on the FTP server</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -529,7 +528,7 @@ $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII);
|
|||
<refentry id="function.ftp-site">
|
||||
<refnamediv>
|
||||
<refname>ftp_site</refname>
|
||||
<refpurpose>Sends a SITE command to the server.</refpurpose>
|
||||
<refpurpose>Sends a SITE command to the server</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -751,4 +750,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
|||
vim: et tw=78 syn=xml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
|
Loading…
Reference in a new issue