svn: /phpdoc/de/trunk/reference/ftp/ configure.xml constants.xml functions/ftp-fget.xml functions/ftp-fput.xml functions/ftp-get.xml functions/ftp-nb-fget.xml functions/ftp-nb-fput.xml functions/ftp-nb-get.xml functions/ftp-nb-put.xml functions/ftp-nlist.xml functions/ftp-pasv.xml functions/ftp-put.xml functions/ftp-rawlist.xml functions/ftp-rename.xml functions/ftp-set-option.xml functions/ftp-ssl-connect.xml
[email protected] (Christoph Michael Becker)
| Newsgroups | php.doc.de |
|---|---|
| Message-ID | <[email protected]> |
cmb Sun, 28 Jan 2018 16:29:58 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=344010
Log:
Sync with EN
Changed paths:
U phpdoc/de/trunk/reference/ftp/configure.xml
U phpdoc/de/trunk/reference/ftp/constants.xml
U phpdoc/de/trunk/reference/ftp/functions/ftp-fget.xml
U phpdoc/de/trunk/reference/ftp/functions/ftp-fput.xml
U phpdoc/de/trunk/reference/ftp/functions/ftp-get.xml
U phpdoc/de/trunk/reference/ftp/functions/ftp-nb-fget.xml
U phpdoc/de/trunk/reference/ftp/functions/ftp-nb-fput.xml
U phpdoc/de/trunk/reference/ftp/functions/ftp-nb-get.xml
U phpdoc/de/trunk/reference/ftp/functions/ftp-nb-put.xml
U phpdoc/de/trunk/reference/ftp/functions/ftp-nlist.xml
U phpdoc/de/trunk/reference/ftp/functions/ftp-pasv.xml
U phpdoc/de/trunk/reference/ftp/functions/ftp-put.xml
U phpdoc/de/trunk/reference/ftp/functions/ftp-rawlist.xml
U phpdoc/de/trunk/reference/ftp/functions/ftp-rename.xml
U phpdoc/de/trunk/reference/ftp/functions/ftp-set-option.xml
U phpdoc/de/trunk/reference/ftp/functions/ftp-ssl-connect.xml
svn-diffs-344010.txt
(text/x-diff, 22.9 KB)
Modified: phpdoc/de/trunk/reference/ftp/configure.xml
===================================================================
--- phpdoc/de/trunk/reference/ftp/configure.xml 2018-01-28 16:20:42 UTC (rev 344009)
+++ phpdoc/de/trunk/reference/ftp/configure.xml 2018-01-28 16:29:58 UTC (rev 344010)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 339802 Maintainer: wiesemann Status: ready -->
<section xml:id="ftp.installation" xmlns="http://docbook.org/ns/docbook">
&reftitle.install;
<para>
@@ -8,7 +8,15 @@
<option role="configure">--enable-ftp</option> bei der
Installation von PHP verwendet werden.
</para>
- &windows.builtin;
+ <para>
+ In der Windowsversion von PHP 5 ist diese Extension fest integriert. Es ist
+ nicht nötig zusätzliche Extensions zu laden, um diese Funktionen nutzen zu
+ können.
+ </para>
+ <para>
+ Von PHP 7.0.0 an wird diese Extension unter Windows immer als Shared Extension
+ kompiliert, und muss daher in &php.ini; aktiviert werden.
+ </para>
</section>
<!-- Keep this comment at the end of the file
Modified: phpdoc/de/trunk/reference/ftp/constants.xml
===================================================================
--- phpdoc/de/trunk/reference/ftp/constants.xml 2018-01-28 16:20:42 UTC (rev 344009)
+++ phpdoc/de/trunk/reference/ftp/constants.xml 2018-01-28 16:29:58 UTC (rev 344010)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 323624 Maintainer: tihox Status: ready -->
+<!-- EN-Revision: 341282 Maintainer: tihox Status: ready -->
<appendix xml:id="ftp.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
@@ -14,102 +14,97 @@
<para></para>
</listitem>
</varlistentry>
- <varlistentry xml:id="constant.ftp-text">
+ <varlistentry xml:id="constant.ftp-autoseek">
<term>
- <constant>FTP_TEXT</constant>
+ <constant>FTP_AUTOSEEK</constant>
(<type>integer</type>)
</term>
<listitem>
- <para></para>
+ <para>
+ Weitere Informationen finden Sie unter <function>ftp_set_option</function>.
+ </para>
</listitem>
</varlistentry>
- <varlistentry xml:id="constant.ftp-binary">
+ <varlistentry xml:id="constant.ftp-autoresume">
<term>
- <constant>FTP_BINARY</constant>
+ <constant>FTP_AUTORESUME</constant>
(<type>integer</type>)
</term>
<listitem>
- <para></para>
+ <para>
+ Ermittelt automatisch die Position zum Starten und Fortsetzen bei GET- und PUT-Befehlen
+ (funktioniert nur wenn FTP_AUTOSEEK aktiviert ist)
+ </para>
</listitem>
</varlistentry>
- <varlistentry xml:id="constant.ftp-image">
+ <varlistentry xml:id="constant.ftp-failed">
<term>
- <constant>FTP_IMAGE</constant>
+ <constant>FTP_FAILED</constant>
(<type>integer</type>)
</term>
<listitem>
- <para></para>
+ <para>
+ Die asynchrone Übertragung ist fehlgeschlagen
+ </para>
</listitem>
</varlistentry>
- <varlistentry xml:id="constant.ftp-timeout-sec">
+ <varlistentry xml:id="constant.ftp-finished">
<term>
- <constant>FTP_TIMEOUT_SEC</constant>
+ <constant>FTP_FINISHED</constant>
(<type>integer</type>)
</term>
<listitem>
<para>
- Weitere Informationen finden Sie unter <function>ftp_set_option</function>.
+ Die asynchrone Übertragung ist beendet
</para>
</listitem>
</varlistentry>
- </variablelist>
- <para>
- Die folgenden Konstanten existieren seit PHP 4.3.0.
- </para>
- <variablelist>
- <varlistentry xml:id="constant.ftp-autoseek">
+ <varlistentry xml:id="constant.ftp-moredata">
<term>
- <constant>FTP_AUTOSEEK</constant>
+ <constant>FTP_MOREDATA</constant>
(<type>integer</type>)
</term>
<listitem>
<para>
- Weitere Informationen finden Sie unter <function>ftp_set_option</function>.
+ Die asynchrone Übertragung läuft noch
</para>
</listitem>
</varlistentry>
- <varlistentry xml:id="constant.ftp-autoresume">
+ <varlistentry xml:id="constant.ftp-text">
<term>
- <constant>FTP_AUTORESUME</constant>
+ <constant>FTP_TEXT</constant>
(<type>integer</type>)
</term>
<listitem>
- <para>
- Ermittelt automatisch die Position zum Starten und Fortsetzen bei GET- und PUT-Befehlen
- (funktioniert nur wenn FTP_AUTOSEEK aktiviert ist)
- </para>
+ <para>Alias von <constant>FTP_ASCII</constant>.</para>
</listitem>
</varlistentry>
- <varlistentry xml:id="constant.ftp-failed">
+ <varlistentry xml:id="constant.ftp-binary">
<term>
- <constant>FTP_FAILED</constant>
+ <constant>FTP_BINARY</constant>
(<type>integer</type>)
</term>
<listitem>
- <para>
- Die asynchrone Übertragung ist fehlgeschlagen
- </para>
+ <para></para>
</listitem>
</varlistentry>
- <varlistentry xml:id="constant.ftp-finished">
+ <varlistentry xml:id="constant.ftp-image">
<term>
- <constant>FTP_FINISHED</constant>
+ <constant>FTP_IMAGE</constant>
(<type>integer</type>)
</term>
<listitem>
- <para>
- Die asynchrone Übertragung ist beendet
- </para>
+ <para>Alias von <constant>FTP_BINARY</constant>.</para>
</listitem>
</varlistentry>
- <varlistentry xml:id="constant.ftp-moredata">
+ <varlistentry xml:id="constant.ftp-timeout-sec">
<term>
- <constant>FTP_MOREDATA</constant>
+ <constant>FTP_TIMEOUT_SEC</constant>
(<type>integer</type>)
</term>
<listitem>
<para>
- Die asynchrone Übertragung läuft noch
+ Weitere Informationen finden Sie unter <function>ftp_set_option</function>.
</para>
</listitem>
</varlistentry>
Modified: phpdoc/de/trunk/reference/ftp/functions/ftp-fget.xml
===================================================================
--- phpdoc/de/trunk/reference/ftp/functions/ftp-fget.xml 2018-01-28 16:20:42 UTC (rev 344009)
+++ phpdoc/de/trunk/reference/ftp/functions/ftp-fget.xml 2018-01-28 16:29:58 UTC (rev 344010)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 334605 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 343898 Maintainer: wiesemann Status: ready -->
<refentry xml:id="function.ftp-fget" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ftp_fget</refname>
@@ -16,7 +16,7 @@
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
<methodparam><type>string</type><parameter>remote_file</parameter></methodparam>
- <methodparam><type>int</type><parameter>mode</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>FTP_IMAGE</constant></initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>resumepos</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Modified: phpdoc/de/trunk/reference/ftp/functions/ftp-fput.xml
===================================================================
--- phpdoc/de/trunk/reference/ftp/functions/ftp-fput.xml 2018-01-28 16:20:42 UTC (rev 344009)
+++ phpdoc/de/trunk/reference/ftp/functions/ftp-fput.xml 2018-01-28 16:29:58 UTC (rev 344010)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 334605 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 343898 Maintainer: wiesemann Status: ready -->
<refentry xml:id="function.ftp-fput" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ftp_fput</refname>
@@ -13,7 +13,7 @@
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
<methodparam><type>string</type><parameter>remote_file</parameter></methodparam>
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
- <methodparam><type>int</type><parameter>mode</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>FTP_IMAGE</constant></initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>startpos</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Modified: phpdoc/de/trunk/reference/ftp/functions/ftp-get.xml
===================================================================
--- phpdoc/de/trunk/reference/ftp/functions/ftp-get.xml 2018-01-28 16:20:42 UTC (rev 344009)
+++ phpdoc/de/trunk/reference/ftp/functions/ftp-get.xml 2018-01-28 16:29:58 UTC (rev 344010)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 334605 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 343898 Maintainer: wiesemann Status: ready -->
<refentry xml:id="function.ftp-get" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ftp_get</refname>
@@ -13,7 +13,7 @@
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
<methodparam><type>string</type><parameter>local_file</parameter></methodparam>
<methodparam><type>string</type><parameter>remote_file</parameter></methodparam>
- <methodparam><type>int</type><parameter>mode</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>FTP_IMAGE</constant></initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>resumepos</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Modified: phpdoc/de/trunk/reference/ftp/functions/ftp-nb-fget.xml
===================================================================
--- phpdoc/de/trunk/reference/ftp/functions/ftp-nb-fget.xml 2018-01-28 16:20:42 UTC (rev 344009)
+++ phpdoc/de/trunk/reference/ftp/functions/ftp-nb-fget.xml 2018-01-28 16:29:58 UTC (rev 344010)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 309282 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 343898 Maintainer: wiesemann Status: ready -->
<refentry xml:id="function.ftp-nb-fget" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ftp_nb_fget</refname>
@@ -16,7 +16,7 @@
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
<methodparam><type>string</type><parameter>remote_file</parameter></methodparam>
- <methodparam><type>int</type><parameter>mode</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>FTP_IMAGE</constant></initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>resumepos</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Modified: phpdoc/de/trunk/reference/ftp/functions/ftp-nb-fput.xml
===================================================================
--- phpdoc/de/trunk/reference/ftp/functions/ftp-nb-fput.xml 2018-01-28 16:20:42 UTC (rev 344009)
+++ phpdoc/de/trunk/reference/ftp/functions/ftp-nb-fput.xml 2018-01-28 16:29:58 UTC (rev 344010)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 308196 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 343898 Maintainer: wiesemann Status: ready -->
<refentry xml:id="function.ftp-nb-fput" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ftp_nb_fput</refname>
@@ -13,7 +13,7 @@
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
<methodparam><type>string</type><parameter>remote_file</parameter></methodparam>
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
- <methodparam><type>int</type><parameter>mode</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>FTP_IMAGE</constant></initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>startpos</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Modified: phpdoc/de/trunk/reference/ftp/functions/ftp-nb-get.xml
===================================================================
--- phpdoc/de/trunk/reference/ftp/functions/ftp-nb-get.xml 2018-01-28 16:20:42 UTC (rev 344009)
+++ phpdoc/de/trunk/reference/ftp/functions/ftp-nb-get.xml 2018-01-28 16:29:58 UTC (rev 344010)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 309282 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 343898 Maintainer: wiesemann Status: ready -->
<refentry xml:id="function.ftp-nb-get" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ftp_nb_get</refname>
@@ -13,7 +13,7 @@
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
<methodparam><type>string</type><parameter>local_file</parameter></methodparam>
<methodparam><type>string</type><parameter>remote_file</parameter></methodparam>
- <methodparam><type>int</type><parameter>mode</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>FTP_IMAGE</constant></initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>resumepos</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Modified: phpdoc/de/trunk/reference/ftp/functions/ftp-nb-put.xml
===================================================================
--- phpdoc/de/trunk/reference/ftp/functions/ftp-nb-put.xml 2018-01-28 16:20:42 UTC (rev 344009)
+++ phpdoc/de/trunk/reference/ftp/functions/ftp-nb-put.xml 2018-01-28 16:29:58 UTC (rev 344010)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 308196 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 343898 Maintainer: wiesemann Status: ready -->
<refentry xml:id="function.ftp-nb-put" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ftp_nb_put</refname>
@@ -13,7 +13,7 @@
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
<methodparam><type>string</type><parameter>remote_file</parameter></methodparam>
<methodparam><type>string</type><parameter>local_file</parameter></methodparam>
- <methodparam><type>int</type><parameter>mode</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>FTP_IMAGE</constant></initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>startpos</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Modified: phpdoc/de/trunk/reference/ftp/functions/ftp-nlist.xml
===================================================================
--- phpdoc/de/trunk/reference/ftp/functions/ftp-nlist.xml 2018-01-28 16:20:42 UTC (rev 344009)
+++ phpdoc/de/trunk/reference/ftp/functions/ftp-nlist.xml 2018-01-28 16:29:58 UTC (rev 344010)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 343808 Maintainer: wiesemann Status: ready -->
<refentry xml:id="function.ftp-nlist" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ftp_nlist</refname>
@@ -95,6 +95,7 @@
<para>
<simplelist>
<member><function>ftp_rawlist</function></member>
+ <member><function>ftp_mlsd</function></member>
</simplelist>
</para>
</refsect1>
Modified: phpdoc/de/trunk/reference/ftp/functions/ftp-pasv.xml
===================================================================
--- phpdoc/de/trunk/reference/ftp/functions/ftp-pasv.xml 2018-01-28 16:20:42 UTC (rev 344009)
+++ phpdoc/de/trunk/reference/ftp/functions/ftp-pasv.xml 2018-01-28 16:29:58 UTC (rev 344010)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 338890 Maintainer: wiesemann Status: ready -->
<refentry xml:id="function.ftp-pasv" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ftp_pasv</refname>
Modified: phpdoc/de/trunk/reference/ftp/functions/ftp-put.xml
===================================================================
--- phpdoc/de/trunk/reference/ftp/functions/ftp-put.xml 2018-01-28 16:20:42 UTC (rev 344009)
+++ phpdoc/de/trunk/reference/ftp/functions/ftp-put.xml 2018-01-28 16:29:58 UTC (rev 344010)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 334605 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 343898 Maintainer: wiesemann Status: ready -->
<refentry xml:id="function.ftp-put" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ftp_put</refname>
@@ -13,7 +13,7 @@
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
<methodparam><type>string</type><parameter>remote_file</parameter></methodparam>
<methodparam><type>string</type><parameter>local_file</parameter></methodparam>
- <methodparam><type>int</type><parameter>mode</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>FTP_IMAGE</constant></initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>startpos</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Modified: phpdoc/de/trunk/reference/ftp/functions/ftp-rawlist.xml
===================================================================
--- phpdoc/de/trunk/reference/ftp/functions/ftp-rawlist.xml 2018-01-28 16:20:42 UTC (rev 344009)
+++ phpdoc/de/trunk/reference/ftp/functions/ftp-rawlist.xml 2018-01-28 16:29:58 UTC (rev 344010)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 334605 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 343899 Maintainer: wiesemann Status: ready -->
<refentry xml:id="function.ftp-rawlist" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ftp_rawlist</refname>
@@ -12,10 +12,10 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>ftp_rawlist</methodname>
+ <type>array</type><methodname>ftp_rawlist</methodname>
<methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam>
<methodparam><type>string</type><parameter>directory</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>recursive</parameter><initializer>false</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>recursive</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
<function>ftp_rawlist</function> führt das
@@ -118,6 +118,7 @@
<para>
<simplelist>
<member><function>ftp_nlist</function></member>
+ <member><function>ftp_mlsd</function></member>
</simplelist>
</para>
</refsect1>
Modified: phpdoc/de/trunk/reference/ftp/functions/ftp-rename.xml
===================================================================
--- phpdoc/de/trunk/reference/ftp/functions/ftp-rename.xml 2018-01-28 16:20:42 UTC (rev 344009)
+++ phpdoc/de/trunk/reference/ftp/functions/ftp-rename.xml 2018-01-28 16:29:58 UTC (rev 344010)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 341745 Maintainer: wiesemann Status: ready -->
<refentry xml:id="function.ftp-rename" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ftp_rename</refname>
@@ -54,6 +54,8 @@
&reftitle.returnvalues;
<para>
&return.success;
+ Im Fehlerfall (wie dem Versuch eine nicht exisitierende Datei umzubenennen)
+ wird ein <literal>E_WARNING</literal> Fehler erzeugt.
</para>
</refsect1>
<refsect1 role="examples">
Modified: phpdoc/de/trunk/reference/ftp/functions/ftp-set-option.xml
===================================================================
--- phpdoc/de/trunk/reference/ftp/functions/ftp-set-option.xml 2018-01-28 16:20:42 UTC (rev 344009)
+++ phpdoc/de/trunk/reference/ftp/functions/ftp-set-option.xml 2018-01-28 16:29:58 UTC (rev 344010)
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: wiesemann Status: ready -->
+<!-- $Revision$ -->
+<!-- EN-Revision: 343809 Maintainer: wiesemann Status: ready -->
<refentry xml:id='function.ftp-set-option' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ftp_set_option</refname>
@@ -57,6 +58,16 @@
standardmäßig aktiviert.
</entry>
</row>
+ <row>
+ <entry><constant>FTP_USEPASVADDRESS</constant></entry>
+ <entry>
+ Falls deaktiviert, ignoriert PHP die IP-Adresse, die vom FTP-Server
+ als Antwort auf das PASV-Kommando zurückgeliefert wurde, und
+ verwendet statt dessen die IP-Adresse, die im ftp_connect() Aufruf
+ bereit gestellt wurde.
+ <parameter>value</parameter> muss boolean sein.
+ </entry>
+ </row>
</tbody>
</tgroup>
</table>
Modified: phpdoc/de/trunk/reference/ftp/functions/ftp-ssl-connect.xml
===================================================================
--- phpdoc/de/trunk/reference/ftp/functions/ftp-ssl-connect.xml 2018-01-28 16:20:42 UTC (rev 344009)
+++ phpdoc/de/trunk/reference/ftp/functions/ftp-ssl-connect.xml 2018-01-28 16:29:58 UTC (rev 344010)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 308203 Maintainer: wiesemann Status: ready -->
+<!-- EN-Revision: 343263 Maintainer: wiesemann Status: ready -->
<refentry xml:id="function.ftp-ssl-connect" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ftp_ssl_connect</refname>
@@ -15,8 +15,13 @@
<methodparam choice="opt"><type>int</type><parameter>timeout</parameter><initializer>90</initializer></methodparam>
</methodsynopsis>
<para>
- <function>ftp_ssl_connect</function> öffnet eine explizite SSL-FTP-Verbindung
+ <function>ftp_ssl_connect</function> öffnet eine <emphasis>explizite</emphasis> SSL-FTP-Verbindung
zu dem angegebenen <parameter>host</parameter>.
+ Das impliziert, dass <function>ftp_ssl_connect</function> gelingen wird,
+ selbst wenn der Server nicht für SSL-FTP konfiguriert ist, oder sein
+ Zertifikat ungültig ist. Erst wenn <function>ftp_login</function> aufgerufen
+ wird, sendet der Client das entsprechende AUTH-FTP-Kommando, so dass
+ <function>ftp_login</function> in den genannten Fällen fehlschlagen wird.
</para>
<note>
<title>Warum diese Funktion eventuell nicht vorhanden ist</title>
@@ -125,6 +130,11 @@
// Login mit Benutzername und Passwort
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
+if (!$login_result) {
+ // PHP hat in diesem Fall bereits eine Nachricht der Stufe E_WARNING erzeugt
+ die("Login nicht möglich");
+}
+
echo ftp_pwd($conn_id); // /
// SSL-Verbindung schließen