cvs: peardoc /fr/package/networking/net-ftp cd.xml login.xml
| From: | Christophe Gesch� | Date: | Wed, 31 Jan 2007 21:23:46 +0000 |
| Subject: | cvs: peardoc /fr/package/networking/net-ftp cd.xml login.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-9378@lists.php.net to get a copy of this message | ||
moosh Wed Jan 31 21:23:46 2007 UTC
Added files:
/peardoc/fr/package/networking/net-ftp cd.xml login.xml
Log:
-initial translation
http://cvs.php.net/viewvc.cgi/peardoc/fr/package/networking/net-ftp/cd.xml?view=markup&rev=1.1
Index: peardoc/fr/package/networking/net-ftp/cd.xml
+++ peardoc/fr/package/networking/net-ftp/cd.xml
<?xml version="1.0" encoding="iso-8859-1" ?>
<!-- $Revision: 1.1 $ -->
<!-- $Id: cd.xml,v 1.1 2007/01/31 21:23:46 moosh Exp $ -->
<!-- EN-Revision: 1.2 Maintainer: moosh Status: started -->
<refentry id="package.networking.net-ftp.cd">
<refnamediv>
<refname>Net_FTP::cd()</refname>
<refpurpose>changes le répertoire sur le serveur.</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>
require_once 'Net/FTP.php';
</funcsynopsisinfo>
<funcprototype>
<funcdef>mixed <function>Net_FTP::cd</function></funcdef>
<paramdef>
string <parameter>$directory</parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.networking.net-ftp.cd.desc">
&title.desc;
<para>
Change le répertoire sur le serveur FTP où vous êtes connecté.
Le paramètre peut-être un chemin absolu
(p.e. '/home/monRep')
ou un chemin relatif
(p.e. 'monRep').
</para>
</refsect1>
<refsect1 id="package.networking.net-finger.cd.parameter">
&title.param;
<para>
<itemizedlist>
<listitem>
<para>
<parameter>string $directory</parameter>
- Le répertoire où vous désirez aller.
Ca peut-être un chemin absolu
(p.e. '/home/monRep')
ou un chemin relatif
(p.e. 'monRep').
</para>
</listitem>
</itemizedlist>
</para>
</refsect1>
<refsect1 id="package.networking.net-ftp.cd.return">
&title.returns;
<para>
<parameter>mixed</parameter> - true on success, otherwise PEAR::Error.
</para>
</refsect1>
<refsect1 id="package.networking.net-ftp.cd.throws">
&title.throws;
<para>
L'objet &class.pear-error; retourné dans le cas d'une erreur
n'est pasobject spécifique.
Vous pouvez ignorer le numéro et le message parce que
seul "Directory change failed" sera retourné en cas d'echec.
</para>
</refsect1>
<refsect1 id="package.networking.net-ftp.cd.note">
&title.note;
¬e.notstatic;
</refsect1>
<refsect1 id="package.networking.net-ftp.cd.example">
&title.example;
<example>
<title>Utiliser <function>cd</function></title>
<programlisting role="php">
<![CDATA[
<?php
$test->cd('../monRep');
?>
]]>
</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
-->
http://cvs.php.net/viewvc.cgi/peardoc/fr/package/networking/net-ftp/login.xml?view=markup&rev=1.1
Index: peardoc/fr/package/networking/net-ftp/login.xml
+++ peardoc/fr/package/networking/net-ftp/login.xml
<?xml version="1.0" encoding="iso-8859-1" ?>
<!-- $Revision: 1.1 $ -->
<!-- $Id: login.xml,v 1.1 2007/01/31 21:23:46 moosh Exp $ -->
<!-- EN-Revision: 1.2 Maintainer: moosh Status: started -->
<refentry id="package.networking.net-ftp.login">
<refnamediv>
<refname>Net_FTP::login()</refname>
<refpurpose>S'identifier sur le serveur FTP en connection</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>
require_once 'Net/FTP.php';
</funcsynopsisinfo>
<funcprototype>
<funcdef>mixed <function>Net_FTP::login</function></funcdef>
<paramdef>
string <parameter><optional>$username = null</optional></parameter>
</paramdef>
<paramdef>
int <parameter><optional>$password = null</optional></parameter>
</paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.networking.net-ftp.login.desc">
&title.desc;
<para>
Tente de s'identifier sur le serveur FTP auquel vous êtes connecté.
Pour cela vous devez d'abord vous être connecté au serveur FTP.
L'identifiant et le mot de passe peuvent être passé dans les paramètres
ou manuellement (en utilisant les méthodes set ad hoc).
</para>
</refsect1>
<refsect1 id="package.networking.net-finger.login.parameter">
&title.param;
<para>
<itemizedlist>
<listitem>
<para>
<parameter>
<optional>string $username = null</optional></parameter>
- Le nom d'utilisateur à utiliser pour l'authentification.
Ce paramètre peut-être laissé vide si il a été donné manuellement!
</para>
</listitem>
<listitem>
<para>
<parameter><optional>int $password = null</optional></parameter>
- Le mot de passe à utiliser pour l'authentification.
Ce paramètre peut-être laissé vide si il a été donné manuellement!
</para>
</listitem>
</itemizedlist>
</para>
</refsect1>
<refsect1 id="package.networking.net-ftp.login.return">
&title.returns;
<para>
<parameter>mixed</parameter>
- true on success, otherwise PEAR::Error.
</para>
</refsect1>
<refsect1 id="package.networking.net-ftp.login.throws">
&title.throws;
<para>
The returned &class.pear-error; object in case of an error
is unspecific. You can ignore the errornumber and errormessage,
because only "Login failed" will be returned if the
login fails.
</para>
</refsect1>
<refsect1 id="package.networking.net-ftp.login.note">
&title.note;
¬e.notstatic;
</refsect1>
<refsect1 id="package.networking.net-ftp.login.example">
&title.example;
<example>
<title>Using <function>login</function></title>
<programlisting role="php">
<![CDATA[
<?php
$test->login('myuser', 'mypass');
?>
]]>
</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
-->