Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions reference/ftp/configure.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: af432424136ff55777bd92ff4f83f01594612ef1 Maintainer: PhilDaiguille Status: ready -->
<!-- EN-Revision: 4f6712e64f60f7c76ddde820ed602ec604b4f37c Maintainer: PhilDaiguille Status: ready -->
<!-- Reviewed: no -->
<!-- CREDITS: DavidA -->

Expand All @@ -18,10 +18,9 @@
<option role="configure">--with-ftp-ssl</option> puede ser utilizada para activar
explícitamente el soporte FTP SSL.
</para>
<para>
En Windows, esta extensión siempre se construye como
extensión compartida, por lo que debe ser activada en el &php.ini;.
</para>
<simpara>
En Windows, <filename>php_ftp.dll</filename> debe estar activado en el &php.ini;.
</simpara>
<simplesect role="changelog">
&reftitle.changelog;
<para>
Expand Down
34 changes: 34 additions & 0 deletions reference/ftp/entities.ent
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 3823de9ad7361e67b681f0dfca3a03c2d6b6e849 Maintainer: lacatoire Status: ready -->
<!-- Reviewed: no -->
<!--
See `manual.xml` for XML namespaces defaults.
Keep the lines under 79 columns, to make the process of manual
translation easier, and to avoid wrap-around in some other contexts.
-->
<entities xmlns = "http://docbook.org/ns/docbook"
xmlns:xlink = "http://www.w3.org/1999/xlink"
translate = "yes">

<entity name="ext.ftp.changelog.mode-valueerror">
<row>
<entry>8.0.0</entry>
<entry>
Ahora lanza un <exceptionname>ValueError</exceptionname> si
<parameter>mode</parameter> no es <constant>FTP_ASCII</constant> ni
<constant>FTP_BINARY</constant>.
Anteriormente, se emitía una <constant>E_WARNING</constant> y se devolvía
&false;.
</entry>
</row>
</entity>

<entity name="ext.ftp.mode-valueerror">
<simpara>
Lanza un <exceptionname>ValueError</exceptionname> si
<parameter>mode</parameter> no es <constant>FTP_ASCII</constant> ni
<constant>FTP_BINARY</constant>.
</simpara>
</entity>

</entities>
8 changes: 7 additions & 1 deletion reference/ftp/functions/ftp-append.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: d6f8f4cd2b73d0198d06999ebecb5b3a26775431 Maintainer: PhilDaiguille Status: ready -->
<!-- EN-Revision: 3823de9ad7361e67b681f0dfca3a03c2d6b6e849 Maintainer: PhilDaiguille Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.ftp-append" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Expand Down Expand Up @@ -67,6 +67,11 @@
</simpara>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
&ext.ftp.mode-valueerror;
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand All @@ -79,6 +84,7 @@
</thead>
<tbody>
&ftp.changelog.ftp-param;
&ext.ftp.changelog.mode-valueerror;
</tbody>
</tgroup>
</informaltable>
Expand Down
8 changes: 7 additions & 1 deletion reference/ftp/functions/ftp-fget.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 4d1c34c9b7a30cfc3a59641122c707a2812cfed7 Maintainer: PhilDaiguille Status: ready -->
<!-- EN-Revision: 3823de9ad7361e67b681f0dfca3a03c2d6b6e849 Maintainer: PhilDaiguille Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.ftp-fget" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -75,6 +75,11 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
&ext.ftp.mode-valueerror;
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand All @@ -87,6 +92,7 @@
</thead>
<tbody>
&ftp.changelog.ftp-param;
&ext.ftp.changelog.mode-valueerror;
<row>
<entry>7.3.0</entry>
<entry>
Expand Down
12 changes: 9 additions & 3 deletions reference/ftp/functions/ftp-fput.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 4d1c34c9b7a30cfc3a59641122c707a2812cfed7 Maintainer: PhilDaiguille Status: ready -->
<!-- EN-Revision: 3823de9ad7361e67b681f0dfca3a03c2d6b6e849 Maintainer: PhilDaiguille Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.ftp-fput" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand All @@ -17,8 +17,8 @@
<methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
<function>ftp_fput</function> carga los datos del fichero
identificado por <parameter>stream</parameter> hasta el final del fichero.
<function>ftp_fput</function> carga los datos de un puntero de fichero
hacia un fichero remoto en el servidor FTP.
</para>
</refsect1>
<refsect1 role="parameters">
Expand Down Expand Up @@ -76,6 +76,11 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
&ext.ftp.mode-valueerror;
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand All @@ -88,6 +93,7 @@
</thead>
<tbody>
&ftp.changelog.ftp-param;
&ext.ftp.changelog.mode-valueerror;
<row>
<entry>7.3.0</entry>
<entry>
Expand Down
8 changes: 7 additions & 1 deletion reference/ftp/functions/ftp-get.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 4d1c34c9b7a30cfc3a59641122c707a2812cfed7 Maintainer: PhilDaiguille Status: ready -->
<!-- EN-Revision: 3823de9ad7361e67b681f0dfca3a03c2d6b6e849 Maintainer: PhilDaiguille Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.ftp-get" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -75,6 +75,11 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
&ext.ftp.mode-valueerror;
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand All @@ -87,6 +92,7 @@
</thead>
<tbody>
&ftp.changelog.ftp-param;
&ext.ftp.changelog.mode-valueerror;
<row>
<entry>7.3.0</entry>
<entry>
Expand Down
8 changes: 7 additions & 1 deletion reference/ftp/functions/ftp-nb-fget.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 21840cc5931a3d97534a17204d621471348fa4cb Maintainer: PhilDaiguille Status: ready -->
<!-- EN-Revision: 3823de9ad7361e67b681f0dfca3a03c2d6b6e849 Maintainer: PhilDaiguille Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.ftp-nb-fget" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -81,6 +81,11 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
&ext.ftp.mode-valueerror;
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand All @@ -93,6 +98,7 @@
</thead>
<tbody>
&ftp.changelog.ftp-param;
&ext.ftp.changelog.mode-valueerror;
<row>
<entry>7.3.0</entry>
<entry>
Expand Down
18 changes: 12 additions & 6 deletions reference/ftp/functions/ftp-nb-fput.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 4d1c34c9b7a30cfc3a59641122c707a2812cfed7 Maintainer: PhilDaiguille Status: ready -->
<!-- EN-Revision: 3823de9ad7361e67b681f0dfca3a03c2d6b6e849 Maintainer: PhilDaiguille Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.ftp-nb-fput" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand All @@ -17,14 +17,14 @@
<methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
<function>ftp_nb_fput</function> escribe el fichero <parameter>remote_filename</parameter>
presente en la máquina local, en el servidor FTP <parameter>ftp</parameter>.
<function>ftp_nb_fput</function> carga los datos de un puntero de fichero
hacia un fichero remoto en el servidor FTP.
</para>
<para>
La diferencia entre esta función y <function>ftp_fput</function> es
que esta función puede leer el fichero de manera asíncrona, para
que esta función carga el fichero de manera asíncrona, para
que su programa realice otras tareas mientras el fichero
se descarga.
se carga.
</para>
</refsect1>
<refsect1 role="parameters">
Expand Down Expand Up @@ -68,7 +68,7 @@
<listitem>
<para>
La posición en el fichero remoto desde la cual
comenzará la descarga.
comenzará la carga.
</para>
</listitem>
</varlistentry>
Expand All @@ -83,6 +83,11 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
&ext.ftp.mode-valueerror;
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand All @@ -95,6 +100,7 @@
</thead>
<tbody>
&ftp.changelog.ftp-param;
&ext.ftp.changelog.mode-valueerror;
<row>
<entry>7.3.0</entry>
<entry>
Expand Down
10 changes: 8 additions & 2 deletions reference/ftp/functions/ftp-nb-get.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: ce3f60dc2f3ef847d44a08d84506464acff45bb6 Maintainer: PhilDaiguille Status: ready -->
<!-- EN-Revision: 3823de9ad7361e67b681f0dfca3a03c2d6b6e849 Maintainer: PhilDaiguille Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.ftp-nb-get" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand All @@ -22,7 +22,7 @@
en un fichero local.
</para>
<para>
La diferencia entre esta función y <function>ftp_fget</function> es
La diferencia entre esta función y <function>ftp_get</function> es
que esta función puede leer el fichero de manera asíncrona, para
que el programa realice otras tareas mientras el fichero
se descarga.
Expand Down Expand Up @@ -83,6 +83,11 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
&ext.ftp.mode-valueerror;
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand All @@ -95,6 +100,7 @@
</thead>
<tbody>
&ftp.changelog.ftp-param;
&ext.ftp.changelog.mode-valueerror;
<row>
<entry>7.3.0</entry>
<entry>
Expand Down
17 changes: 11 additions & 6 deletions reference/ftp/functions/ftp-nb-put.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 4d1c34c9b7a30cfc3a59641122c707a2812cfed7 Maintainer: PhilDaiguille Status: ready -->
<!-- EN-Revision: 3823de9ad7361e67b681f0dfca3a03c2d6b6e849 Maintainer: PhilDaiguille Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.ftp-nb-put" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand All @@ -17,14 +17,13 @@
<methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
<function>ftp_nb_put</function> escribe el fichero <parameter>remote_filename</parameter>
presente en la máquina local, en el servidor FTP <parameter>ftp</parameter>.
<function>ftp_nb_put</function> almacena un fichero local en el servidor FTP.
</para>
<para>
La diferencia entre esta función y <function>ftp_put</function> es
que esta función puede leer el fichero de manera asíncrona, de modo
que esta función carga el fichero de manera asíncrona, de modo
que el programa pueda realizar otras tareas mientras el fichero
se está descargando.
se está cargando.
</para>
</refsect1>
<refsect1 role="parameters">
Expand Down Expand Up @@ -67,7 +66,7 @@
<listitem>
<para>
La posición en el fichero remoto desde la cual
comenzará la descarga.
comenzará la carga.
</para>
</listitem>
</varlistentry>
Expand All @@ -82,6 +81,11 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
&ext.ftp.mode-valueerror;
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand All @@ -94,6 +98,7 @@
</thead>
<tbody>
&ftp.changelog.ftp-param;
&ext.ftp.changelog.mode-valueerror;
<row>
<entry>7.3.0</entry>
<entry>
Expand Down
8 changes: 7 additions & 1 deletion reference/ftp/functions/ftp-put.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 4d1c34c9b7a30cfc3a59641122c707a2812cfed7 Maintainer: PhilDaiguille Status: ready -->
<!-- EN-Revision: 3823de9ad7361e67b681f0dfca3a03c2d6b6e849 Maintainer: PhilDaiguille Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.ftp-put" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -75,6 +75,11 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
&ext.ftp.mode-valueerror;
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand All @@ -87,6 +92,7 @@
</thead>
<tbody>
&ftp.changelog.ftp-param;
&ext.ftp.changelog.mode-valueerror;
<row>
<entry>7.3.0</entry>
<entry>
Expand Down
Loading