cvs: phpdoc-de /reference/ftp/functions ftp-connect.xml
| From: | Martin Samesch | Date: | Sun, 21 Sep 2008 14:06:49 +0000 |
| Subject: | cvs: phpdoc-de /reference/ftp/functions ftp-connect.xml | ||
| Groups: | php.doc.de | ||
| Request: | Send a blank email to doc-de+get-2806@lists.php.net to get a copy of this message | ||
samesch Sun Sep 21 14:06:49 2008 UTC
Modified files:
/phpdoc-de/reference/ftp/functions ftp-connect.xml
Log:
syncing with EN
http://cvs.php.net/viewvc.cgi/phpdoc-de/reference/ftp/functions/ftp-connect.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc-de/reference/ftp/functions/ftp-connect.xml
diff -u phpdoc-de/reference/ftp/functions/ftp-connect.xml:1.6
phpdoc-de/reference/ftp/functions/ftp-connect.xml:1.7
--- phpdoc-de/reference/ftp/functions/ftp-connect.xml:1.6 Sat Jun 23 13:21:36 2007
+++ phpdoc-de/reference/ftp/functions/ftp-connect.xml Sun Sep 21 14:06:48 2008
@@ -1,31 +1,129 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
-<!-- EN-Revision: 1.1 Maintainer: nobody Status: ready -->
- <refentry xml:id="function.ftp-connect" xmlns="http://docbook.org/ns/docbook">
- <refnamediv>
- <refname>ftp_connect</refname>
- <refpurpose>Stellt eine FTP-Verbindung her</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Beschreibung</title>
- <methodsynopsis>
- <type>int</type><methodname>ftp_connect</methodname>
-
<methodparam><type>string</type><parameter>Host</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>Port
- </parameter></methodparam>
- </methodsynopsis>
- <para>
- Gibt bei Erfolg einen Stream zurück, sonst &false;.
- </para>
- <para>
- <function>ftp_connect</function> stellt eine FTP-Verbindung zum
- angegebenen <parameter>Host</parameter> her. Der
- <parameter>Port</parameter>-Parameter enthält optional einen
- alternativer Port für die Verbindung. Fehlt er oder ist er &null;,
- wird der Standard-FTP-Port 21 benutzt.
- </para>
- </refsect1>
- </refentry>
+<!-- $Revision: 1.7 $ -->
+<!-- EN-Revision: 1.9 Maintainer: nobody Status: ready -->
+<refentry xml:id="function.ftp-connect" xmlns="http://docbook.org/ns/docbook">
+ <refnamediv>
+ <refname>ftp_connect</refname>
+ <refpurpose>Stellt eine FTP-Verbindung her</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>resource</type><methodname>ftp_connect</methodname>
+
<methodparam><type>string</type><parameter>Host</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>Port</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>Timeout</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ <function>ftp_connect</function> stellt eine FTP-Verbindung zum angegebenen
+ <parameter>Host</parameter> her.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>Host</parameter></term>
+ <listitem>
+ <para>
+ Die Adresse des FTP-Servers. Dieser Parameter sollte keinen
+ abschließenden Schrägstrich und kein vorangestelltes
+ <literal>ftp://</literal> haben.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>Port</parameter></term>
+ <listitem>
+ <para>
+ Gibt den Port für die Verbindung an. Fehlt er oder wird er auf 0
+ gesetzt, wird der Standard-FTP-Port 21 benutzt.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>Timeout</parameter></term>
+ <listitem>
+ <para>
+ Dieser Parameter bestimmt den Timeout für alle nachfolgenden
+ Netzwerktätigkeiten. Falls er fehlt, wird er auf den Standardwert von
+ 90 Sekunden gesetzt. Der Timeout kann jederzeit mittels
+ <function>ftp_set_option</function> gesetzt und mittels
+ <function>ftp_get_option</function> abgefragt werden.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Gibt bei Erfolg einen FTP-Stream zurück oder &false;, falls ein Fehler
+ autrat.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title><function>ftp_connect</function>-Beispiel</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+
+$ftp_server = "ftp.example.com";
+
+// stelle eine Verbindung her
+$verbindungskennung = ftp_connect($ftp_server) or die("Konnte keine Verbindung zu $ftp_server
aufbauen");
+
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>4.2.0</entry>
+ <entry>
+ <parameter>Timeout</parameter> hinzugefügt.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>ftp_close</function></member>
+ <member><function>ftp_ssl_connect</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+
+</refentry>
<!-- Keep this comment at the end of the file
Local variables: