cvs: peardoc /fr/package/networking/net-ftp put.xml
| From: | Christophe Gesché | Date: | Wed, 11 Jun 2008 07:15:36 +0000 |
| Subject: | cvs: peardoc /fr/package/networking/net-ftp put.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10849@lists.php.net to get a copy of this message | ||
moosh Wed Jun 11 07:15:36 2008 UTC
Modified files:
/peardoc/fr/package/networking/net-ftp put.xml
Log:
- sync to en 1.4
- complete translation
http://cvs.php.net/viewvc.cgi/peardoc/fr/package/networking/net-ftp/put.xml?r1=1.1&r2=1.2&diff_format=u
Index: peardoc/fr/package/networking/net-ftp/put.xml
diff -u peardoc/fr/package/networking/net-ftp/put.xml:1.1
peardoc/fr/package/networking/net-ftp/put.xml:1.2
--- peardoc/fr/package/networking/net-ftp/put.xml:1.1 Thu Apr 12 05:28:56 2007
+++ peardoc/fr/package/networking/net-ftp/put.xml Wed Jun 11 07:15:36 2008
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.1 $ -->
-<!-- $Id: put.xml,v 1.1 2007/04/12 05:28:56 moosh Exp $ -->
-<!-- EN-Revision: 1.3 Maintainer: moosh Status: started -->
+<!-- $Revision: 1.2 $ -->
+<!-- $Id: put.xml,v 1.2 2008/06/11 07:15:36 moosh Exp $ -->
+<!-- EN-Revision: 1.4 Maintainer: moosh Status: started -->
<refentry id="package.networking.net-ftp.put">
<refnamediv>
<refname>Net_FTP::put()</refname>
@@ -55,20 +55,20 @@
<listitem>
<para>
<parameter>string $remote_file</parameter>
- - The path (including filename) you'd like to upload to.
+ - le chemin (nom de fichier compris) que vous voulez uploader.
- This could either be an absolute or relative path to a file
+ Cela doit absolument être le chemin relatif ou absolu d'un fichier.
- (not a directory! see:
+ (Et pas d'un répertoire. Pour cela voyez:
<link
linkend="package.networking.net-ftp.putrecursive">Net_FTP::putRecursive()</link>).
</para>
</listitem>
<listitem>
<para>
<parameter><optional>bool $overwrite = false</optional></parameter>
- - Whether to overwrite the remote file, if it exists or not.
+ - Indique s'il faut écraser les fichiers existant sur la cible.
- If not set the file will not be overwritten.
+ Si non indiqué les fichiers ne sont pas écrasés.
</para>
</listitem>
<listitem>
@@ -76,15 +76,16 @@
<parameter>
<optional>int $mode = null</optional>
</parameter>
- - This has to be one of the constants
+ - Cela doit être une de ces constantes
<constant>FTP_ASCII</constant> or
<constant>FTP_BINARY</constant>.
- If not specified,
- the class will try to determine the mode
- from the file extension
- (from extensions.ini)
- or fall back to the standard transfer mode (attribute).
+ Si le mode n'est pas donné,
+ la classe essayera de déterminer le mode
+ à partir de l'extension du fichier
+ (en se basant sur extensions.ini)
+ ou retournera à au mode de transfert par défaut
+ (attribute).
</para>
</listitem>
</itemizedlist>
@@ -99,7 +100,7 @@
<refsect1 id="package.networking.net-ftp.put.throws">
&title.throws;
<para>
- Several errors may be returned by put.
+ Plusieurs erreurs peuvent être renvoyées par put.
The errornumber is unspecific (until now) and will not
tell you anything about the errormessage.
@@ -135,12 +136,12 @@
Remote file '$remote_file' exists and may not be overwriten.
</entry>
<entry>
- The specified remote file exists but may not be overwritten.
+ Le fichier distant existe mais ne peut pas être écrasé.
</entry>
<entry>
Maybe you don't have the permission to overwrite the file.
- Check the filepermissions.
+ Vérifiez les permissions du fichier.
</entry>
</row>
<row>
@@ -148,14 +149,14 @@
File '$local_file' could not be uploaded to '$remote_file'.
</entry>
<entry>
- The upload of the local file failed.
+ L'upload du fichier local a échoué.
</entry>
<entry>
- This may have several reasons:
+ Il peut y avoir plusieurs raisons:
- Maybe the local file does not exist or the remote
- directory you wanted to upload
- to does not exist or is not writeable.
+ Le fichier local peut ne pas exister
+ ou le répertoire cible n'existe pas,
+ ou n'est pas disponible en écriture.
</entry>
</row>
</tbody>
@@ -170,7 +171,7 @@
<refsect1 id="package.networking.net-ftp.put.example">
&title.example;
<example>
- <title>Using <function>put</function></title>
+ <title>Utilisation de <function>put</function></title>
<programlisting role="php">
<![CDATA[
<?php