cvs: phpdoc-fr /reference/ftp/functions ftp-cdup.xml ftp-chdir.xml ftp-connect.xml ftp-delete.xml ftp-fget.xml ftp-fput.xml ftp-get.xml ftp-login.xml
ftp-mkdir.xml ftp-nlist.xml ftp-pasv.xml ftp-put.xml ftp-pwd.xml ftp-quit.xml ftp-rename.xml ftp-rmdir.xml ftp-site.xml
| From: | Damien Seguy | Date: | Thu, 30 Jan 2003 13:50:58 +0000 |
| Subject: | cvs: phpdoc-fr /reference/ftp/functions ftp-cdup.xml ftp-chdir.xml ftp-connect.xml ftp-delete.xml ftp-fget.xml ftp-fput.xml ftp-get.xml ftp-login.xml ftp-mkdir.xml ftp-nlist.xml ftp-pasv.xml ftp-put.xml ftp-pwd.xml ftp-quit.xml ftp-rename.xml ftp-rmdir.xml ftp-site.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-178@lists.php.net to get a copy of this message | ||
dams Thu Jan 30 08:50:58 2003 EDT
Modified files:
/phpdoc-fr/reference/ftp/functions ftp-cdup.xml ftp-chdir.xml
ftp-connect.xml ftp-delete.xml
ftp-fget.xml ftp-fput.xml
ftp-get.xml ftp-login.xml
ftp-mkdir.xml ftp-nlist.xml
ftp-pasv.xml ftp-put.xml
ftp-pwd.xml ftp-quit.xml
ftp-rename.xml ftp-rmdir.xml
ftp-site.xml
Log:
removing è chars
Index: phpdoc-fr/reference/ftp/functions/ftp-cdup.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-cdup.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-cdup.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-cdup.xml:1.1 Sun Apr 14 20:28:40 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-cdup.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-cdup"> <refnamediv> <refname>ftp_cdup</refname> - <refpurpose>Change de dossier, et passe au dossier parent.</refpurpose> + <refpurpose>Change de dossier, et passe au dossier parent</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -13,12 +13,11 @@ <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> </methodsynopsis> <para> - <function>ftp_cdup</function> retourne &true; - en cas de succès, et &false; sinon. - </para> - <para> <function>ftp_cdup</function> change de dossier, et passe au dossier parent. </para> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-chdir.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-chdir.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-chdir.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-chdir.xml:1.1 Sun Apr 14 20:28:40 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-chdir.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-chdir"> <refnamediv> <refname>ftp_chdir</refname> - <refpurpose>Change le dossier courant.</refpurpose> + <refpurpose>Change le dossier courant</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -14,13 +14,12 @@ <methodparam><type>string</type><parameter>directory</parameter></methodparam> </methodsynopsis> <para> - <function>ftp_chdir</function> retourne &true; - en cas de succès, et &false; sinon. - </para> - <para> <function>ftp_chdir</function> change le dossier courant en <parameter>directory</parameter>. </para> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-connect.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-connect.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-connect.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-connect.xml:1.1 Sun Apr 14 20:28:40 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-connect.xml Thu Jan 30 08:50:57 2003 @@ -8,14 +8,14 @@ </refnamediv> <refsect1> <title>Description</title> - <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> - </methodsynopsis> + <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> retourne un flot <acronym>FTP</acronym> + <function>ftp_connect</function> retourne un flôt <acronym>FTP</acronym> en cas de succès, et &false; sinon. </para> <para> @@ -24,6 +24,18 @@ spécifie le port de connexion. S'il est omis, le port 21 sera utilisé. </para> + <para> + Le paramètre <parameter>timeout</parameter> spécifie la durée d'expiration + des opérations réseaux ultérieures. Si il est omis, il vaut par + défaut 90 secondes. Ce délai d'expiration peut être modifiée et lu + à tout moment avec les fonctions <function>ftp_set_option</function> et + <function>ftp_get_option</function>. + <note> + <para> + Le paramètre <parameter>timeout</parameter> a été ajouté en &php; 4.2.0. + </para> + </note> + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-delete.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-delete.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-delete.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-delete.xml:1.1 Sun Apr 14 20:28:40 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-delete.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-delete"> <refnamediv> <refname>ftp_delete</refname> - <refpurpose>Efface un fichier sur un serveur FTP.</refpurpose> + <refpurpose>Efface un fichier sur un serveur FTP</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -14,13 +14,12 @@ <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> <para> - <function>ftp_delete</function> retourne &true; - en cas de succès, et &false; sinon. - </para> - <para> <function>ftp_delete</function> efface le fichier <parameter>path</parameter> sur un serveur FTP. </para> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-fget.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-fget.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-fget.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-fget.xml:1.1 Sun Apr 14 20:28:40 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-fget.xml Thu Jan 30 08:50:57 2003 @@ -5,30 +5,38 @@ <refnamediv> <refname>ftp_fget</refname> <refpurpose> - Télécharge un fichier depuis un serveur FTP et le sauve - dans un fichier déjà ouvert. + Télécharge un fichier via FTP dans un flôt local </refpurpose> </refnamediv> <refsect1> <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>ftp_fget</methodname> - <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> - <methodparam><type>int</type><parameter>fp</parameter></methodparam> - <methodparam><type>string</type><parameter>remote_file</parameter></methodparam> - <methodparam><type>int</type><parameter>mode</parameter></methodparam> - </methodsynopsis> - <para> - <function>ftp_fget</function> retourne &true; - en cas de succès, et &false; sinon. - </para> + <methodsynopsis> + <type>bool</type><methodname>ftp_fget</methodname> + <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> + <methodparam><type>resource</type><parameter>fp</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>resumepos</parameter></methodparam> + </methodsynopsis> <para> <function>ftp_fget</function> télécharge le fichier <parameter>remote_file</parameter> depuis le serveur FTP, et l'écrit dans le fichier identifié par <parameter>fp</parameter>. Le mode de transfert <parameter>mode</parameter> spécifié doit être - FTP_ASCII ou FTP_BINARY. + <constant>FTP_ASCII</constant> ou <constant>FTP_BINARY</constant>. </para> + <note> + <para> + La paramètre <parameter>resumepos</parameter> a été ajouté en &php; 4.3.0. + </para> + </note> + <para> + &return.success; + </para> + <para> + Voir aussi + <function>ftp_get</function>. + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-fput.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-fput.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-fput.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-fput.xml:1.1 Sun Apr 14 20:28:40 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-fput.xml Thu Jan 30 08:50:57 2003 @@ -4,29 +4,34 @@ <refentry id="function.ftp-fput"> <refnamediv> <refname>ftp_fput</refname> - <refpurpose>Charge un fichier ouvert sur un serveur FTP.</refpurpose> + <refpurpose>Charge un fichier ouvert sur un serveur FTP</refpurpose> </refnamediv> <refsect1> <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>ftp_fput</methodname> - <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> - <methodparam><type>string</type><parameter>remote_file</parameter></methodparam> - <methodparam><type>int</type><parameter>fp</parameter></methodparam> - <methodparam><type>int</type><parameter>mode</parameter></methodparam> - </methodsynopsis> - <para> - <function>ftp_fput</function> retourne &true; - en cas de succès, et &false; sinon. - </para> + <methodsynopsis> + <type>bool</type><methodname>ftp_fput</methodname> + <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> + <methodparam><type>string</type><parameter>remote_file</parameter></methodparam> + <methodparam><type>resource</type><parameter>fp</parameter></methodparam> + <methodparam><type>int</type><parameter>mode</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>startpos</parameter></methodparam> + </methodsynopsis> <para> <function>ftp_fput</function> charge les données issues du fichier identifié par <parameter>fp</parameter> jusqu'à la fin du fichier. Le résultat est stocké dans le fichier <parameter>remote_file</parameter> sur le serveur FTP. Le mode de transfert <parameter>mode</parameter> spécifié doit être - FTP_ASCII ou FTP_BINARY. + <constant>FTP_ASCII</constant> ou <constant>FTP_BINARY</constant>. </para> + <note> + <para> + Le paramètre <parameter>startpos</parameter> a été ajouté en &php; 4.3.0. + </para> + </note> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-get.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-get.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-get.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-get.xml:1.1 Sun Apr 14 20:28:40 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-get.xml Thu Jan 30 08:50:57 2003 @@ -18,16 +18,15 @@ <methodparam><type>int</type><parameter>mode</parameter></methodparam> </methodsynopsis> <para> - <function>ftp_get</function> retourne &true; en cas - de succès, et &false; sinon. - </para> - <para> <function>ftp_get</function> télécharge le fichier <parameter>remote_file</parameter> depuis le serveur FTP, et le sauve dans le fichier local <parameter>local_file</parameter>. Le mode de transfert <parameter>mode</parameter> spécifié doit être soit - FTP_ASCII ou FTP_BINARY. + <constant>FTP_ASCII</constant> ou <constant>FTP_BINARY</constant>. </para> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-login.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-login.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-login.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-login.xml:1.1 Sun Apr 14 20:28:41 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-login.xml Thu Jan 30 08:50:57 2003 @@ -15,12 +15,11 @@ <methodparam><type>string</type><parameter>password</parameter></methodparam> </methodsynopsis> <para> - <function>ftp_login</function> retourne &true; - en cas de succès, et &false; sinon. - </para> - <para> <function>ftp_login</function> authentifie le flot FTP. </para> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-mkdir.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-mkdir.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-mkdir.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-mkdir.xml:1.1 Sun Apr 14 20:28:41 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-mkdir.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-mkdir"> <refnamediv> <refname>ftp_mkdir</refname> - <refpurpose>Crée un dossier.</refpurpose> + <refpurpose>Crée un dossier</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/ftp/functions/ftp-nlist.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-nlist.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-nlist.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-nlist.xml:1.1 Sun Apr 14 20:28:41 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-nlist.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-nlist"> <refnamediv> <refname>ftp_nlist</refname> - <refpurpose>Retourne la liste des fichiers dans un dossier.</refpurpose> + <refpurpose>Retourne la liste des fichiers dans un dossier</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/ftp/functions/ftp-pasv.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-pasv.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-pasv.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-pasv.xml:1.1 Sun Apr 14 20:28:41 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-pasv.xml Thu Jan 30 08:50:57 2003 @@ -4,19 +4,15 @@ <refentry id="function.ftp-pasv"> <refnamediv> <refname>ftp_pasv</refname> - <refpurpose>Active ou désactive le mode passif.</refpurpose> + <refpurpose>Active ou désactive le mode passif</refpurpose> </refnamediv> <refsect1> <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>ftp_pasv</methodname> - <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> - <methodparam><type>int</type><parameter>pasv</parameter></methodparam> - </methodsynopsis> - <para> - <function>ftp_pasv</function> retourne &true; - en cas de succès, et &false; sinon. - </para> + <methodsynopsis> + <type>bool</type><methodname>ftp_pasv</methodname> + <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> + <methodparam><type>bool</type><parameter>pasv</parameter></methodparam> + </methodsynopsis> <para> <function>ftp_pasv</function> active le mode passif si <parameter>pasv</parameter> est à &true; @@ -24,6 +20,9 @@ &false;). En mode passif, les données de connexion sont initiées par le client, plutôt que par le serveur. </para> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-put.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-put.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-put.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-put.xml:1.1 Sun Apr 14 20:28:41 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-put.xml Thu Jan 30 08:50:57 2003 @@ -4,28 +4,45 @@ <refentry id="function.ftp-put"> <refnamediv> <refname>ftp_put</refname> - <refpurpose>Charge un fichier sur un serveur FTP.</refpurpose> + <refpurpose>Charge un fichier sur un serveur FTP</refpurpose> </refnamediv> <refsect1> <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>ftp_put</methodname> - <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> - </methodsynopsis> - <para> - <function>ftp_put</function> retourne &true; - en cas de succès, et &false; sinon. - </para> + <methodsynopsis> + <type>bool</type><methodname>ftp_put</methodname> + <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>startpos</parameter></methodparam> + </methodsynopsis> <para> <function>ftp_put</function> enregistre le fichier <parameter>local_file</parameter> sur le serveur FTP, sous le nom de <parameter>remote_file</parameter>. Le mode de transfert <parameter>mode</parameter> spécifié doit être - <literal>FTP_ASCII</literal> ou <literal>FTP_BINARY</literal>. + <constant>FTP_ASCII</constant> ou <constant>FTP_BINARY</constant>. </para> + <note> + <para> + Le paramètre <parameter>startpos</parameter> a été ajouté en &php; 4.3.0. + </para> + </note> + <para> + &return.success; + </para> + <para> + <example> + <title>Exemple avec <function>ftp_put</function></title> + <programlisting role="php"> +<![CDATA[ +<?php + $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII); +?> +]]> + </programlisting> + </example> + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-pwd.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-pwd.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-pwd.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-pwd.xml:1.1 Sun Apr 14 20:28:41 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-pwd.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-pwd"> <refnamediv> <refname>ftp_pwd</refname> - <refpurpose>Retourne le nom du dossier courant.</refpurpose> + <refpurpose>Retourne le nom du dossier courant</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/ftp/functions/ftp-quit.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-quit.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-quit.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-quit.xml:1.1 Sun Apr 14 20:28:41 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-quit.xml Thu Jan 30 08:50:57 2003 @@ -4,18 +4,22 @@ <refentry id="function.ftp-quit"> <refnamediv> <refname>ftp_quit</refname> - <refpurpose>Ferme une connexion FTP.</refpurpose> + <refpurpose>Ferme une connexion FTP</refpurpose> </refnamediv> <refsect1> <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>ftp_quit</methodname> - <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> - </methodsynopsis> + <methodsynopsis> + <type>void</type><methodname>ftp_quit</methodname> + <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> + </methodsynopsis> <para> <function>ftp_quit</function> ferme la connexion <parameter>ftp_stream</parameter>. </para> + <para> + <function>ftp_quit</function> est un alias de + <function>ftp_close</function>. + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-rename.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-rename.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-rename.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-rename.xml:1.1 Sun Apr 14 20:28:42 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-rename.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-rename"> <refnamediv> <refname>ftp_rename</refname> - <refpurpose>Renomme un fichier sur un serveur FTP.</refpurpose> + <refpurpose>Renomme un fichier sur un serveur FTP</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -15,14 +15,13 @@ <methodparam><type>string</type><parameter>to</parameter></methodparam> </methodsynopsis> <para> - <function>ftp_rename</function> retourne &true; - en cas de succès, et &false; sinon. - </para> - <para> <function>ftp_rename</function> renomme le fichier ou dossier <parameter>from</parameter> en <parameter>to</parameter>, sur le serveur <parameter>ftp_stream</parameter>. </para> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-rmdir.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-rmdir.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-rmdir.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-rmdir.xml:1.1 Sun Apr 14 20:28:42 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-rmdir.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-rmdir"> <refnamediv> <refname>ftp_rmdir</refname> - <refpurpose>Efface un dossier.</refpurpose> + <refpurpose>Efface un dossier</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -14,13 +14,12 @@ <methodparam><type>string</type><parameter>directory</parameter></methodparam> </methodsynopsis> <para> - <function>ftp_rmdir</function> retourne &true; - en cas de succès, et &false; sinon. - </para> - <para> <function>ftp_rmdir</function> efface le dossier <parameter>directory</parameter>. </para> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-site.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-site.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-site.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-site.xml:1.1 Sun Apr 14 20:28:42 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-site.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-site"> <refnamediv> <refname>ftp_site</refname> - <refpurpose>Envoie la commande SITE au serveur.</refpurpose> + <refpurpose>Envoie la commande SITE au serveur</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -14,15 +14,14 @@ <methodparam><type>string</type><parameter>cmd</parameter></methodparam> </methodsynopsis> <para> - <function>ftp_site</function> retourne &true; - en cas de succès, et &false; sinon. - </para> - <para> <function>ftp_site</function> envoie la commande <parameter>cmd</parameter> au serveur FTP. Les commandes SITE ne sont pas normalisées, et peuvent varier d'un serveur à l'autre. Elles permettent de gérer notamment les permissions de fichier, et les groupes. </para> + <para> + &return.success; + </para> </refsect1> </refentry>
Index: phpdoc-fr/reference/ftp/functions/ftp-cdup.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-cdup.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-cdup.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-cdup.xml:1.1 Sun Apr 14 20:28:40 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-cdup.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-cdup"> <refnamediv> <refname>ftp_cdup</refname> - <refpurpose>Change de dossier, et passe au dossier parent.</refpurpose> + <refpurpose>Change de dossier, et passe au dossier parent</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -13,12 +13,11 @@ <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> </methodsynopsis> <para> - <function>ftp_cdup</function> retourne &true; - en cas de succès, et &false; sinon. - </para> - <para> <function>ftp_cdup</function> change de dossier, et passe au dossier parent. </para> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-chdir.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-chdir.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-chdir.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-chdir.xml:1.1 Sun Apr 14 20:28:40 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-chdir.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-chdir"> <refnamediv> <refname>ftp_chdir</refname> - <refpurpose>Change le dossier courant.</refpurpose> + <refpurpose>Change le dossier courant</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -14,13 +14,12 @@ <methodparam><type>string</type><parameter>directory</parameter></methodparam> </methodsynopsis> <para> - <function>ftp_chdir</function> retourne &true; - en cas de succès, et &false; sinon. - </para> - <para> <function>ftp_chdir</function> change le dossier courant en <parameter>directory</parameter>. </para> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-connect.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-connect.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-connect.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-connect.xml:1.1 Sun Apr 14 20:28:40 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-connect.xml Thu Jan 30 08:50:57 2003 @@ -8,14 +8,14 @@ </refnamediv> <refsect1> <title>Description</title> - <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> - </methodsynopsis> + <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> retourne un flot <acronym>FTP</acronym> + <function>ftp_connect</function> retourne un flôt <acronym>FTP</acronym> en cas de succès, et &false; sinon. </para> <para> @@ -24,6 +24,18 @@ spécifie le port de connexion. S'il est omis, le port 21 sera utilisé. </para> + <para> + Le paramètre <parameter>timeout</parameter> spécifie la durée d'expiration + des opérations réseaux ultérieures. Si il est omis, il vaut par + défaut 90 secondes. Ce délai d'expiration peut être modifiée et lu + à tout moment avec les fonctions <function>ftp_set_option</function> et + <function>ftp_get_option</function>. + <note> + <para> + Le paramètre <parameter>timeout</parameter> a été ajouté en &php; 4.2.0. + </para> + </note> + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-delete.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-delete.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-delete.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-delete.xml:1.1 Sun Apr 14 20:28:40 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-delete.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-delete"> <refnamediv> <refname>ftp_delete</refname> - <refpurpose>Efface un fichier sur un serveur FTP.</refpurpose> + <refpurpose>Efface un fichier sur un serveur FTP</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -14,13 +14,12 @@ <methodparam><type>string</type><parameter>path</parameter></methodparam> </methodsynopsis> <para> - <function>ftp_delete</function> retourne &true; - en cas de succès, et &false; sinon. - </para> - <para> <function>ftp_delete</function> efface le fichier <parameter>path</parameter> sur un serveur FTP. </para> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-fget.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-fget.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-fget.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-fget.xml:1.1 Sun Apr 14 20:28:40 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-fget.xml Thu Jan 30 08:50:57 2003 @@ -5,30 +5,38 @@ <refnamediv> <refname>ftp_fget</refname> <refpurpose> - Télécharge un fichier depuis un serveur FTP et le sauve - dans un fichier déjà ouvert. + Télécharge un fichier via FTP dans un flôt local </refpurpose> </refnamediv> <refsect1> <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>ftp_fget</methodname> - <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> - <methodparam><type>int</type><parameter>fp</parameter></methodparam> - <methodparam><type>string</type><parameter>remote_file</parameter></methodparam> - <methodparam><type>int</type><parameter>mode</parameter></methodparam> - </methodsynopsis> - <para> - <function>ftp_fget</function> retourne &true; - en cas de succès, et &false; sinon. - </para> + <methodsynopsis> + <type>bool</type><methodname>ftp_fget</methodname> + <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> + <methodparam><type>resource</type><parameter>fp</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>resumepos</parameter></methodparam> + </methodsynopsis> <para> <function>ftp_fget</function> télécharge le fichier <parameter>remote_file</parameter> depuis le serveur FTP, et l'écrit dans le fichier identifié par <parameter>fp</parameter>. Le mode de transfert <parameter>mode</parameter> spécifié doit être - FTP_ASCII ou FTP_BINARY. + <constant>FTP_ASCII</constant> ou <constant>FTP_BINARY</constant>. </para> + <note> + <para> + La paramètre <parameter>resumepos</parameter> a été ajouté en &php; 4.3.0. + </para> + </note> + <para> + &return.success; + </para> + <para> + Voir aussi + <function>ftp_get</function>. + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-fput.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-fput.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-fput.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-fput.xml:1.1 Sun Apr 14 20:28:40 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-fput.xml Thu Jan 30 08:50:57 2003 @@ -4,29 +4,34 @@ <refentry id="function.ftp-fput"> <refnamediv> <refname>ftp_fput</refname> - <refpurpose>Charge un fichier ouvert sur un serveur FTP.</refpurpose> + <refpurpose>Charge un fichier ouvert sur un serveur FTP</refpurpose> </refnamediv> <refsect1> <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>ftp_fput</methodname> - <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> - <methodparam><type>string</type><parameter>remote_file</parameter></methodparam> - <methodparam><type>int</type><parameter>fp</parameter></methodparam> - <methodparam><type>int</type><parameter>mode</parameter></methodparam> - </methodsynopsis> - <para> - <function>ftp_fput</function> retourne &true; - en cas de succès, et &false; sinon. - </para> + <methodsynopsis> + <type>bool</type><methodname>ftp_fput</methodname> + <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> + <methodparam><type>string</type><parameter>remote_file</parameter></methodparam> + <methodparam><type>resource</type><parameter>fp</parameter></methodparam> + <methodparam><type>int</type><parameter>mode</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>startpos</parameter></methodparam> + </methodsynopsis> <para> <function>ftp_fput</function> charge les données issues du fichier identifié par <parameter>fp</parameter> jusqu'à la fin du fichier. Le résultat est stocké dans le fichier <parameter>remote_file</parameter> sur le serveur FTP. Le mode de transfert <parameter>mode</parameter> spécifié doit être - FTP_ASCII ou FTP_BINARY. + <constant>FTP_ASCII</constant> ou <constant>FTP_BINARY</constant>. </para> + <note> + <para> + Le paramètre <parameter>startpos</parameter> a été ajouté en &php; 4.3.0. + </para> + </note> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-get.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-get.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-get.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-get.xml:1.1 Sun Apr 14 20:28:40 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-get.xml Thu Jan 30 08:50:57 2003 @@ -18,16 +18,15 @@ <methodparam><type>int</type><parameter>mode</parameter></methodparam> </methodsynopsis> <para> - <function>ftp_get</function> retourne &true; en cas - de succès, et &false; sinon. - </para> - <para> <function>ftp_get</function> télécharge le fichier <parameter>remote_file</parameter> depuis le serveur FTP, et le sauve dans le fichier local <parameter>local_file</parameter>. Le mode de transfert <parameter>mode</parameter> spécifié doit être soit - FTP_ASCII ou FTP_BINARY. + <constant>FTP_ASCII</constant> ou <constant>FTP_BINARY</constant>. </para> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-login.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-login.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-login.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-login.xml:1.1 Sun Apr 14 20:28:41 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-login.xml Thu Jan 30 08:50:57 2003 @@ -15,12 +15,11 @@ <methodparam><type>string</type><parameter>password</parameter></methodparam> </methodsynopsis> <para> - <function>ftp_login</function> retourne &true; - en cas de succès, et &false; sinon. - </para> - <para> <function>ftp_login</function> authentifie le flot FTP. </para> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-mkdir.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-mkdir.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-mkdir.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-mkdir.xml:1.1 Sun Apr 14 20:28:41 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-mkdir.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-mkdir"> <refnamediv> <refname>ftp_mkdir</refname> - <refpurpose>Crée un dossier.</refpurpose> + <refpurpose>Crée un dossier</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/ftp/functions/ftp-nlist.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-nlist.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-nlist.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-nlist.xml:1.1 Sun Apr 14 20:28:41 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-nlist.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-nlist"> <refnamediv> <refname>ftp_nlist</refname> - <refpurpose>Retourne la liste des fichiers dans un dossier.</refpurpose> + <refpurpose>Retourne la liste des fichiers dans un dossier</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/ftp/functions/ftp-pasv.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-pasv.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-pasv.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-pasv.xml:1.1 Sun Apr 14 20:28:41 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-pasv.xml Thu Jan 30 08:50:57 2003 @@ -4,19 +4,15 @@ <refentry id="function.ftp-pasv"> <refnamediv> <refname>ftp_pasv</refname> - <refpurpose>Active ou désactive le mode passif.</refpurpose> + <refpurpose>Active ou désactive le mode passif</refpurpose> </refnamediv> <refsect1> <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>ftp_pasv</methodname> - <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> - <methodparam><type>int</type><parameter>pasv</parameter></methodparam> - </methodsynopsis> - <para> - <function>ftp_pasv</function> retourne &true; - en cas de succès, et &false; sinon. - </para> + <methodsynopsis> + <type>bool</type><methodname>ftp_pasv</methodname> + <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> + <methodparam><type>bool</type><parameter>pasv</parameter></methodparam> + </methodsynopsis> <para> <function>ftp_pasv</function> active le mode passif si <parameter>pasv</parameter> est à &true; @@ -24,6 +20,9 @@ &false;). En mode passif, les données de connexion sont initiées par le client, plutôt que par le serveur. </para> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-put.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-put.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-put.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-put.xml:1.1 Sun Apr 14 20:28:41 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-put.xml Thu Jan 30 08:50:57 2003 @@ -4,28 +4,45 @@ <refentry id="function.ftp-put"> <refnamediv> <refname>ftp_put</refname> - <refpurpose>Charge un fichier sur un serveur FTP.</refpurpose> + <refpurpose>Charge un fichier sur un serveur FTP</refpurpose> </refnamediv> <refsect1> <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>ftp_put</methodname> - <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> - </methodsynopsis> - <para> - <function>ftp_put</function> retourne &true; - en cas de succès, et &false; sinon. - </para> + <methodsynopsis> + <type>bool</type><methodname>ftp_put</methodname> + <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>startpos</parameter></methodparam> + </methodsynopsis> <para> <function>ftp_put</function> enregistre le fichier <parameter>local_file</parameter> sur le serveur FTP, sous le nom de <parameter>remote_file</parameter>. Le mode de transfert <parameter>mode</parameter> spécifié doit être - <literal>FTP_ASCII</literal> ou <literal>FTP_BINARY</literal>. + <constant>FTP_ASCII</constant> ou <constant>FTP_BINARY</constant>. </para> + <note> + <para> + Le paramètre <parameter>startpos</parameter> a été ajouté en &php; 4.3.0. + </para> + </note> + <para> + &return.success; + </para> + <para> + <example> + <title>Exemple avec <function>ftp_put</function></title> + <programlisting role="php"> +<![CDATA[ +<?php + $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_ASCII); +?> +]]> + </programlisting> + </example> + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-pwd.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-pwd.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-pwd.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-pwd.xml:1.1 Sun Apr 14 20:28:41 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-pwd.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-pwd"> <refnamediv> <refname>ftp_pwd</refname> - <refpurpose>Retourne le nom du dossier courant.</refpurpose> + <refpurpose>Retourne le nom du dossier courant</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/ftp/functions/ftp-quit.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-quit.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-quit.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-quit.xml:1.1 Sun Apr 14 20:28:41 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-quit.xml Thu Jan 30 08:50:57 2003 @@ -4,18 +4,22 @@ <refentry id="function.ftp-quit"> <refnamediv> <refname>ftp_quit</refname> - <refpurpose>Ferme une connexion FTP.</refpurpose> + <refpurpose>Ferme une connexion FTP</refpurpose> </refnamediv> <refsect1> <title>Description</title> - <methodsynopsis> - <type>bool</type><methodname>ftp_quit</methodname> - <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> - </methodsynopsis> + <methodsynopsis> + <type>void</type><methodname>ftp_quit</methodname> + <methodparam><type>resource</type><parameter>ftp_stream</parameter></methodparam> + </methodsynopsis> <para> <function>ftp_quit</function> ferme la connexion <parameter>ftp_stream</parameter>. </para> + <para> + <function>ftp_quit</function> est un alias de + <function>ftp_close</function>. + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-rename.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-rename.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-rename.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-rename.xml:1.1 Sun Apr 14 20:28:42 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-rename.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-rename"> <refnamediv> <refname>ftp_rename</refname> - <refpurpose>Renomme un fichier sur un serveur FTP.</refpurpose> + <refpurpose>Renomme un fichier sur un serveur FTP</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -15,14 +15,13 @@ <methodparam><type>string</type><parameter>to</parameter></methodparam> </methodsynopsis> <para> - <function>ftp_rename</function> retourne &true; - en cas de succès, et &false; sinon. - </para> - <para> <function>ftp_rename</function> renomme le fichier ou dossier <parameter>from</parameter> en <parameter>to</parameter>, sur le serveur <parameter>ftp_stream</parameter>. </para> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-rmdir.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-rmdir.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-rmdir.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-rmdir.xml:1.1 Sun Apr 14 20:28:42 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-rmdir.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-rmdir"> <refnamediv> <refname>ftp_rmdir</refname> - <refpurpose>Efface un dossier.</refpurpose> + <refpurpose>Efface un dossier</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -14,13 +14,12 @@ <methodparam><type>string</type><parameter>directory</parameter></methodparam> </methodsynopsis> <para> - <function>ftp_rmdir</function> retourne &true; - en cas de succès, et &false; sinon. - </para> - <para> <function>ftp_rmdir</function> efface le dossier <parameter>directory</parameter>. </para> + <para> + &return.success; + </para> </refsect1> </refentry> Index: phpdoc-fr/reference/ftp/functions/ftp-site.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-site.xml:1.1 phpdoc-fr/reference/ftp/functions/ftp-site.xml:1.2 --- phpdoc-fr/reference/ftp/functions/ftp-site.xml:1.1 Sun Apr 14 20:28:42 2002 +++ phpdoc-fr/reference/ftp/functions/ftp-site.xml Thu Jan 30 08:50:57 2003 @@ -4,7 +4,7 @@ <refentry id="function.ftp-site"> <refnamediv> <refname>ftp_site</refname> - <refpurpose>Envoie la commande SITE au serveur.</refpurpose> + <refpurpose>Envoie la commande SITE au serveur</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -14,15 +14,14 @@ <methodparam><type>string</type><parameter>cmd</parameter></methodparam> </methodsynopsis> <para> - <function>ftp_site</function> retourne &true; - en cas de succès, et &false; sinon. - </para> - <para> <function>ftp_site</function> envoie la commande <parameter>cmd</parameter> au serveur FTP. Les commandes SITE ne sont pas normalisées, et peuvent varier d'un serveur à l'autre. Elles permettent de gérer notamment les permissions de fichier, et les groupes. </para> + <para> + &return.success; + </para> </refsect1> </refentry>