cvs: peardoc /en/package/networking net-ftp.xml /en/package/networking/net-ftp exec.xml execute.xml
| From: | Stephan Schmidt | Date: | Tue, 23 Sep 2003 11:22:08 +0000 |
| Subject: | cvs: peardoc /en/package/networking net-ftp.xml /en/package/networking/net-ftp exec.xml execute.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-1543@lists.php.net to get a copy of this message | ||
schst Tue Sep 23 07:22:08 2003 EDT
Added files:
/peardoc/en/package/networking/net-ftp execute.xml
Removed files:
/peardoc/en/package/networking/net-ftp exec.xml
Modified files:
/peardoc/en/package/networking net-ftp.xml
Log:
renamed ftp-exec to ftp-execute
Index: peardoc/en/package/networking/net-ftp.xml
diff -u peardoc/en/package/networking/net-ftp.xml:1.2 peardoc/en/package/networking/net-ftp.xml:1.3
--- peardoc/en/package/networking/net-ftp.xml:1.2 Sun Aug 24 11:28:58 2003
+++ peardoc/en/package/networking/net-ftp.xml Tue Sep 23 07:22:07 2003
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<sect1 id="package.networking.net-ftp">
<title>Net_FTP</title>
<para>
@@ -23,7 +23,7 @@
&package.networking.net-ftp.cd;
&package.networking.net-ftp.pwd;
&package.networking.net-ftp.mkdir;
- &package.networking.net-ftp.exec;
+ &package.networking.net-ftp.execute;
&package.networking.net-ftp.mdtm;
&package.networking.net-ftp.size;
&package.networking.net-ftp.ls;
Index: peardoc/en/package/networking/net-ftp/execute.xml
+++ peardoc/en/package/networking/net-ftp/execute.xml
<!-- $Revision: 1.1 $ -->
<refentry id="package.networking.net-ftp.execute">
<refnamediv>
<refname>Net_FTP::execute()</refname>
<refpurpose>executes a command on the server.</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>
require_once 'Net/FTP.php';
</funcsynopsisinfo>
<funcprototype>
<funcdef>mixed <function>Net_FTP::execute</function></funcdef>
<paramdef>
string <parameter>$command</parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.networking.net-ftp.execute.desc">
&title.desc;
<para>
Executes a given command on the server (the SITE EXEC command is added by the method).
</para>
</refsect1>
<refsect1 id="package.networking.net-finger.execute.parameter">
&title.param;
<para>
<itemizedlist>
<listitem>
<para>
<parameter>string $command</parameter> - The command to be executed (without
SITE EXEC).
</para>
</listitem>
</itemizedlist>
</para>
</refsect1>
<refsect1 id="package.networking.net-ftp.execute.return">
&title.returns;
<para>
<parameter>mixed</parameter> - true on success, otherwise PEAR::Error.
</para>
</refsect1>
<refsect1 id="package.networking.net-ftp.execute.throws">
&title.throws;
<para>
The returned &class.pear-error; object in case of an error
is specific. There is only one errornumber which may occur. The message given by this error
will contain the directory where the error occurred in "Execution of command
'$command' failed".
operation fails.
</para>
</refsect1>
<refsect1 id="package.networking.net-ftp.execute.note">
&title.note;
¬e.notstatic;
</refsect1>
<refsect1 id="package.networking.net-ftp.execute.example">
&title.example;
<example>
<title>Using <function>execute</function></title>
<programlisting role="php">
<![CDATA[
<?php
$test->execute($myCommand);
?>
]]>
</programlisting>
</example>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->