cvs: peardoc /en/package/networking net-ftp.xml /en/package/networking/net-ftp cd.xml checkfileextension.xml connect.xml constants.xml disconnect.xml
exec.xml get.xml getrecursive.xml login.xml ls.xml mdtm.xml mkdir.xml net-ftp.xml put.xml putrecursive.xml pwd.xml rm.xml size.xml

From: Date: Sun, 24 Aug 2003 15:29:00 +0000
Subject: cvs: peardoc /en/package/networking net-ftp.xml /en/package/networking/net-ftp cd.xml checkfileextension.xml connect.xml constants.xml disconnect.xml
exec.xml get.xml getrecursive.xml login.xml ls.xml mdtm.xml mkdir.xml net-ftp.xml put.xml putrecursive.xml pwd.xml rm.xml size.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-1388@lists.php.net to get a copy of this message
xnoguer Sun Aug 24 11:29:00 2003 EDT Modified files: /peardoc/en/package/networking net-ftp.xml /peardoc/en/package/networking/net-ftp cd.xml checkfileextension.xml connect.xml constants.xml disconnect.xml exec.xml get.xml getrecursive.xml login.xml ls.xml mdtm.xml mkdir.xml net-ftp.xml put.xml putrecursive.xml pwd.xml rm.xml size.xml Log: fixing typos

Index: peardoc/en/package/networking/net-ftp.xml diff -u peardoc/en/package/networking/net-ftp.xml:1.1 peardoc/en/package/networking/net-ftp.xml:1.2 --- peardoc/en/package/networking/net-ftp.xml:1.1 Sun Aug 24 06:06:58 2003 +++ peardoc/en/package/networking/net-ftp.xml Sun Aug 24 11:28:58 2003 @@ -1,11 +1,11 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <sect1 id="package.networking.net-ftp"> <title>Net_FTP</title> <para> Net_FTP provides comfortable communication with FTP-Servers. It mainly provides an OO wrapper to PHP's integrated FTP functions, adding some missing features like recursive up- and downloading - of complete folders, so as deleting. The directorylisting + of complete folders, so as deleting. The directory listing possibilites were although extended to feature well structured listing of directories and/or files. </para> Index: peardoc/en/package/networking/net-ftp/cd.xml diff -u peardoc/en/package/networking/net-ftp/cd.xml:1.1 peardoc/en/package/networking/net-ftp/cd.xml:1.2 --- peardoc/en/package/networking/net-ftp/cd.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/cd.xml Sun Aug 24 11:28:59 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.cd"> <refnamediv> <refname>Net_FTP::cd()</refname> @@ -40,7 +40,7 @@ <refsect1 id="package.networking.net-ftp.cd.return"> &title.returns; <para> - <parameter>mixed</parameter> - true on succes, otherwise PEAR::Error. + <parameter>mixed</parameter> - true on success, otherwise PEAR::Error. </para> </refsect1> <refsect1 id="package.networking.net-ftp.cd.throws"> @@ -48,8 +48,8 @@ <para> The returned &class.pear-error; object in case of an error is unspecific. You can ignore the errornumber and errormessage, - because only "Directory change failed" will be returend if the - opeartion fails. + because only "Directory change failed" will be returned if the + operation fails. </para> </refsect1> <refsect1 id="package.networking.net-ftp.cd.note"> Index: peardoc/en/package/networking/net-ftp/checkfileextension.xml diff -u peardoc/en/package/networking/net-ftp/checkfileextension.xml:1.1 peardoc/en/package/networking/net-ftp/checkfileextension.xml:1.2 --- peardoc/en/package/networking/net-ftp/checkfileextension.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/checkfileextension.xml Sun Aug 24 11:28:59 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.checkfileextension"> <refnamediv> <refname>Net_FTP::checkFileExtension()</refname> @@ -10,7 +10,7 @@ require_once 'Net/FTP.php'; </funcsynopsisinfo> <funcprototype> - <funcdef>mixed <function>Net_FTP::checkfileextension</function></funcdef> + <funcdef>integer <function>Net_FTP::checkfileextension</function></funcdef> <paramdef> string <parameter>$filename</parameter> </paramdef> @@ -46,7 +46,7 @@ <refsect1 id="package.networking.net-ftp.checkfileextension.throws"> &title.throws; <para> - No errors. Allways a filetransfermode should be returned. + No errors. Always a filetransfermode should be returned. </para> </refsect1> <refsect1 id="package.networking.net-ftp.checkfileextension.note"> Index: peardoc/en/package/networking/net-ftp/connect.xml diff -u peardoc/en/package/networking/net-ftp/connect.xml:1.1 peardoc/en/package/networking/net-ftp/connect.xml:1.2 --- peardoc/en/package/networking/net-ftp/connect.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/connect.xml Sun Aug 24 11:28:59 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.connect"> <refnamediv> <refname>Net_FTP::connect()</refname> @@ -33,14 +33,14 @@ <listitem> <para> <parameter><optional>string $host = null</optional></parameter> - The host to connect to ( - either an IP adress or a domain name). This parameter can be left out, if it has been set - in the constructor or manualy! + either an IP address or a domain name). This parameter can be left out, if it has been set + in the constructor or manually! </para> </listitem> <listitem> <para> <parameter><optional>int $port = null</optional></parameter> - The port to connect to on the - server. This parameter can be left out, if it has been set in the constructor or manualy! + server. This parameter can be left out, if it has been set in the constructor or manually! </para> </listitem> </itemizedlist> @@ -49,7 +49,7 @@ <refsect1 id="package.networking.net-ftp.connect.return"> &title.returns; <para> - <parameter>mixed</parameter> - true on succes, otherwise PEAR::Error. + <parameter>mixed</parameter> - true on success, otherwise PEAR::Error. </para> </refsect1> <refsect1 id="package.networking.net-ftp.connect.throws"> @@ -57,7 +57,7 @@ <para> The returned &class.pear-error; object in case of an error is unspecific. You can ignore the errornumber and errormessage, - because only "Connection failed" will be returend if the + because only "Connection failed" will be returned if the connection fails. </para> </refsect1> Index: peardoc/en/package/networking/net-ftp/constants.xml diff -u peardoc/en/package/networking/net-ftp/constants.xml:1.1 peardoc/en/package/networking/net-ftp/constants.xml:1.2 --- peardoc/en/package/networking/net-ftp/constants.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/constants.xml Sun Aug 24 11:28:59 2003 @@ -6,29 +6,29 @@ <refsect1 id="package.networking.net-ftp.constants.net-ftp-files-only"> <title><constant>NET_FTP_FILES_ONLY</constant></title> <para> - Makes <link linkend="package.networking.ftp.ls">FTP::ls()</link> return a structures array of files - (no directorys) in a directory. + Makes <link linkend="package.networking.net-ftp.ls">Net_FTP::ls()</link> return a structures array of files + (no directories) in a directory. </para> </refsect1> <refsect1 id="package.networking.net-ftp.constants.net-ftp-dirs-only"> <title><constant>NET_FTP_DIRS_ONLY</constant></title> <para> - Makes <link linkend="package.networking.ftp.ls">FTP::ls()</link> return a structures array of + Makes <link linkend="package.networking.net-ftp.ls">Net_FTP::ls()</link> return a structures array of directories (no files) in a directory. </para> </refsect1> <refsect1 id="package.networking.net-ftp.constants.net-ftp-dirs-files"> <title><constant>NET_FTP_DIRS_FILES</constant></title> <para> - Makes <link linkend="package.networking.ftp.ls">FTP::ls()</link> return a structures array of + Makes <link linkend="package.networking.net-ftp.ls">Net_FTP::ls()</link> return a structures array of directories and files in a directory. </para> </refsect1> <refsect1 id="package.networking.net-ftp.constants.net-ftp-rawlist"> <title><constant>NET_FTP_RAWLIST</constant></title> <para> - Makes <link linkend="package.networking.ftp.ls">FTP::ls()</link> return an unstructred - array as returned by PHP functions ftp_raw_list(). + Makes <link linkend="package.networking.net-ftp.ls">Net_FTP::ls()</link> return an unstructred + array as returned by the PHP function ftp_raw_list(). </para> </refsect1> </refentry> Index: peardoc/en/package/networking/net-ftp/disconnect.xml diff -u peardoc/en/package/networking/net-ftp/disconnect.xml:1.1 peardoc/en/package/networking/net-ftp/disconnect.xml:1.2 --- peardoc/en/package/networking/net-ftp/disconnect.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/disconnect.xml Sun Aug 24 11:28:59 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.disconnect"> <refnamediv> <refname>Net_FTP::disconnect()</refname> @@ -10,7 +10,7 @@ require_once 'Net/FTP.php'; </funcsynopsisinfo> <funcprototype> - <funcdef>mixed <function>Net_FTP::connect</function></funcdef> + <funcdef>void <function>Net_FTP::connect</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> Index: peardoc/en/package/networking/net-ftp/exec.xml diff -u peardoc/en/package/networking/net-ftp/exec.xml:1.1 peardoc/en/package/networking/net-ftp/exec.xml:1.2 --- peardoc/en/package/networking/net-ftp/exec.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/exec.xml Sun Aug 24 11:28:59 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.exec"> <refnamediv> <refname>Net_FTP::exec()</refname> @@ -38,16 +38,16 @@ <refsect1 id="package.networking.net-ftp.exec.return"> &title.returns; <para> - <parameter>mixed</parameter> - true on succes, otherwise PEAR::Error. + <parameter>mixed</parameter> - true on success, otherwise PEAR::Error. </para> </refsect1> <refsect1 id="package.networking.net-ftp.exec.throws"> &title.throws; <para> The returned &class.pear-error; object in case of an error - is specific. There is only one errornumber wich may occur. The message given by this error - willcontain the directory where the error occured in "Execution of command '$command' faild". - opeartion fails. + is specific. There is only one errornumber which may occur. The message given by this error + will contain the directory where the error occurred in "Execution of command '$command' failed". + operation fails. </para> </refsect1> <refsect1 id="package.networking.net-ftp.exec.note"> Index: peardoc/en/package/networking/net-ftp/get.xml diff -u peardoc/en/package/networking/net-ftp/get.xml:1.1 peardoc/en/package/networking/net-ftp/get.xml:1.2 --- peardoc/en/package/networking/net-ftp/get.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/get.xml Sun Aug 24 11:29:00 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.get"> <refnamediv> <refname>Net_FTP::get()</refname> @@ -40,21 +40,21 @@ <para> <parameter>string $remote_file</parameter> - The file you'd like to download. This could either be an absolute or relative path to a file (not a directory! see: - <link linkend="package.networking.ftp.getRecursive">Net_FTP::getRecursive()</link>). + <link linkend="package.networking.net-ftp.getrecursive">Net_FTP::getRecursive()</link>). </para> </listitem> <listitem> <para> <parameter>string $local_file</parameter> - - The destination you'd like to download the file to (including filename, no directory!). You - can specify this with either an absolute path or a path relative to the scipts directory. + The destination you'd like to download the file to (including filename, not directory!). You + can specify this with either an absolute path or a path relative to the scripts directory. (Beware: The script directory is determined by the called script, if you use includes!) </para> </listitem> <listitem> <para> <parameter><optional>bool $overwrite = false</optional></parameter> - - Wether to overwrite the local file, if it exists or not. if not set the file will not be + Whether to overwrite the local file if it exists, or not. if not set the file will not be overwritten. </para> </listitem> @@ -79,7 +79,7 @@ <refsect1 id="package.networking.net-ftp.get.throws"> &title.throws; <para> - Several errors maybe returned by mdtm. The errornumber is unspecific (until now) and will not + Several errors may be returned by get. The errornumber is unspecific (until now) and will not tell you anything about the errormessage. Possible errors are: </para> @@ -92,7 +92,7 @@ <thead> <row> <entry>Error message</entry> - <entry>Describtion</entry> + <entry>Description</entry> <entry>Solution</entry> </row> </thead> @@ -130,7 +130,7 @@ The download of the remote file failed. </entry> <entry> - This may have several reasons: Maybe the remote file does not exists or the local + This may have several reasons: Maybe the remote file does not exist or the local directory you wanted to download to does not exist or is not writeable. </entry> </row> Index: peardoc/en/package/networking/net-ftp/getrecursive.xml diff -u peardoc/en/package/networking/net-ftp/getrecursive.xml:1.1 peardoc/en/package/networking/net-ftp/getrecursive.xml:1.2 --- peardoc/en/package/networking/net-ftp/getrecursive.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/getrecursive.xml Sun Aug 24 11:29:00 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.getrecursive"> <refnamediv> <refname>Net_FTP::getRecursive()</refname> @@ -46,14 +46,14 @@ <para> <parameter>string $local_path</parameter> - The destination you'd like to download the directory to. You can specify this with - either an absolute path or a path relative to the scipts directory. + either an absolute path or a path relative to the scripts directory. (Beware: The script directory is determined by the called script, if you use includes!) </para> </listitem> <listitem> <para> <parameter><optional>bool $overwrite = false</optional></parameter> - - Wether to overwrite the local files, if their exist or not. if not set the directory will not be + Whether to overwrite the local files if they exist, or not. if not set the directory will not be overwritten. </para> </listitem> @@ -78,7 +78,7 @@ <refsect1 id="package.networking.net-ftp.getrecursive.throws"> &title.throws; <para> - Several errors maybe returned by mdtm. The errornumber is unspecific (until now) and will not + Several errors may be returned by getRecursive. The errornumber is unspecific (until now) and will not tell you anything about the errormessage. Possible errors are: </para> @@ -125,7 +125,7 @@ Could not create dir '$local_path'. </entry> <entry> - The given directorie could not be created. + The given directory could not be created. </entry> <entry> Check your permissions on the source-directory. @@ -137,7 +137,7 @@ Could not create dir '$local_path'. </entry> <entry> - The given directorie could not be created. + The given directory could not be created. </entry> <entry> Check your permissions on the source-directory. Index: peardoc/en/package/networking/net-ftp/login.xml diff -u peardoc/en/package/networking/net-ftp/login.xml:1.1 peardoc/en/package/networking/net-ftp/login.xml:1.2 --- peardoc/en/package/networking/net-ftp/login.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/login.xml Sun Aug 24 11:29:00 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.login"> <refnamediv> <refname>Net_FTP::login()</refname> @@ -24,8 +24,8 @@ &title.desc; <para> Does the login on the FTP server you are connected to. for that you first have - to connect to a FTP server before loging in. Username and Password can either be - set by the parameters or manualy before (using the set-methods). + to connect to a FTP server before logging in. Username and Password can either be + set by the parameters or manually before (using the set-methods). </para> </refsect1> <refsect1 id="package.networking.net-finger.login.parameter"> @@ -35,13 +35,13 @@ <listitem> <para> <parameter><optional>string $username = null</optional></parameter> - The username - to be used for login to. This parameter can be left out, if it has been set manualy! + to be used for login to. This parameter can be left out, if it has been set manually! </para> </listitem> <listitem> <para> <parameter><optional>int $password = null</optional></parameter> - The password to use for - login. This parameter can be left out, if it has been set manualy! + login. This parameter can be left out, if it has been set manually! </para> </listitem> </itemizedlist> @@ -50,7 +50,7 @@ <refsect1 id="package.networking.net-ftp.login.return"> &title.returns; <para> - <parameter>mixed</parameter> - true on succes, otherwise PEAR::Error. + <parameter>mixed</parameter> - true on success, otherwise PEAR::Error. </para> </refsect1> <refsect1 id="package.networking.net-ftp.login.throws"> @@ -58,7 +58,7 @@ <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 returend if the + because only "Login failed" will be returned if the login fails. </para> </refsect1> Index: peardoc/en/package/networking/net-ftp/ls.xml diff -u peardoc/en/package/networking/net-ftp/ls.xml:1.1 peardoc/en/package/networking/net-ftp/ls.xml:1.2 --- peardoc/en/package/networking/net-ftp/ls.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/ls.xml Sun Aug 24 11:29:00 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.ls"> <refnamediv> <refname>Net_FTP::ls()</refname> @@ -24,7 +24,7 @@ &title.desc; <para> this function gives you a listing of either the files / directories / both or an unformated - array (like PHP function ftp_rawlist()). + array (like the PHP function ftp_rawlist()). </para> </refsect1> <refsect1 id="package.networking.net-finger.ls.parameter"> @@ -41,9 +41,9 @@ <listitem> <para> <parameter><optional>int $mode = <constant>NET_FTP_DIRS_FILES</constant></optional></parameter> - - A constant representing the nodes wanted to be list (directories, files, both or a ram directory + A constant representing the nodes list (directories, files, both or a ram directory listing). This parameter is determined by the constants ( - see: <link linkend="package.networking.ftp.constants">Constants</link>). This parameter is + see: <link linkend="package.networking.net-ftp.constants">Constants</link>). This parameter is optional and will be set for listing directories and files structured in an array. </para> </listitem> @@ -53,14 +53,14 @@ <refsect1 id="package.networking.net-ftp.ls.return"> &title.returns; <para> - <parameter>mixed</parameter> - a directorylisting in the form you determine on success, + <parameter>mixed</parameter> - a directory listing in the form you determine on success, otherwise PEAR::Error. </para> </refsect1> <refsect1 id="package.networking.net-ftp.ls.throws"> &title.throws; <para> - Several errors maybe returned by mdtm. The errornumber is unspecific (until now) and will not + Several errors may be returned by ls. The errornumber is unspecific (until now) and will not tell you anything about the errormessage. Possible errors are: </para> @@ -73,7 +73,7 @@ <thead> <row> <entry>Error message</entry> - <entry>Describtion</entry> + <entry>Description</entry> <entry>Solution</entry> </row> </thead> @@ -89,7 +89,7 @@ </entry> <entry> Specify a correct directory path (eg. <constant>/my/file/path/</constant>, <constant>../</constant>) - and proof (maybe change) the rights on it. + and check (maybe change) the rights on it. </entry> </row> <row> @@ -97,14 +97,14 @@ Could not get last-modification-date of '$file'. </entry> <entry> - The last-modification date could not be determined by PHP. This may have the reason, + The last-modification date could not be determined by PHP. Reasons for this might be that your FTP-server does not support the used command or that you gave the function a - not existing file as reference. + non existent file as reference. </entry> <entry> <itemizedlist> <listitem> - <simpara>check the given file for existance</simpara> + <simpara>check the given file for existence</simpara> </listitem> <listitem> <simpara>contact the FTP server's admin</simpara> Index: peardoc/en/package/networking/net-ftp/mdtm.xml diff -u peardoc/en/package/networking/net-ftp/mdtm.xml:1.1 peardoc/en/package/networking/net-ftp/mdtm.xml:1.2 --- peardoc/en/package/networking/net-ftp/mdtm.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/mdtm.xml Sun Aug 24 11:29:00 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.mdtm"> <refnamediv> <refname>Net_FTP::mdtm()</refname> @@ -23,7 +23,7 @@ <refsect1 id="package.networking.net-ftp.mdtm.desc"> &title.desc; <para> - gives you the last modification-date of a file either as a unix timestamp or in a formted + gives you the last modification-date of a file either as a unix timestamp or in a formated date. </para> </refsect1> @@ -36,8 +36,7 @@ <parameter>string $file</parameter> - The file to check. </para> <para> - <parameter><optional>string $format</optional></parameter> - A date()-function styled format- - string. + <parameter><optional>string $format</optional></parameter> - A date()-function styled format-string. </para> </listitem> </itemizedlist> @@ -46,13 +45,13 @@ <refsect1 id="package.networking.net-ftp.mdtm.return"> &title.returns; <para> - <parameter>mixed</parameter> - the last modification date on succes, otherwise PEAR::Error. + <parameter>mixed</parameter> - the last modification date on success, otherwise PEAR::Error. </para> </refsect1> <refsect1 id="package.networking.net-ftp.mdtm.throws"> &title.throws; <para> - Several errors maybe returned by mdtm. The errornumber is unspecific (until now) and will not + Several errors may be returned by mdtm. The errornumber is unspecific (until now) and will not tell you anything about the errormessage. Possible errors are: </para> @@ -88,14 +87,14 @@ Could not get last-modification-date of '$file'. </entry> <entry> - The last-modification date could not be determined by PHP. This may have the reason, + The last-modification date could not be determined by PHP. Reasons for this may be that your FTP-server does not support the used command or that you gave the function a - not existing file as reference. + non existent file as reference. </entry> <entry> <itemizedlist> <listitem> - <simpara>check the given file for existance</simpara> + <simpara>check the given file for existence</simpara> </listitem> <listitem> <simpara>contact the FTP server's admin</simpara> Index: peardoc/en/package/networking/net-ftp/mkdir.xml diff -u peardoc/en/package/networking/net-ftp/mkdir.xml:1.1 peardoc/en/package/networking/net-ftp/mkdir.xml:1.2 --- peardoc/en/package/networking/net-ftp/mkdir.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/mkdir.xml Sun Aug 24 11:29:00 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.mkdir"> <refnamediv> <refname>Net_FTP::mkdir()</refname> @@ -26,7 +26,7 @@ Creates a new directory on the FTP server. You can give this function either a relative or an absolute path as the first parameter. The second (optional) parameter lets you create directories recursively (meaning you can create - './my/new/dir' without /my even exists. All 3 directories would be created). + './my/new/dir' even if '/my' doesn't exist. All 3 directories would be created). </para> </refsect1> <refsect1 id="package.networking.net-finger.mkdir.parameter"> @@ -45,16 +45,16 @@ <refsect1 id="package.networking.net-ftp.mkdir.return"> &title.returns; <para> - <parameter>mixed</parameter> - true on succes, otherwise PEAR::Error. + <parameter>mixed</parameter> - true on success, otherwise PEAR::Error. </para> </refsect1> <refsect1 id="package.networking.net-ftp.mkdir.throws"> &title.throws; <para> The returned &class.pear-error; object in case of an error - is specific. There is only one errornumber wich may occur. The message given by this error - willcontain the directory where the error occured in "Creation of '$dir' failed". - opeartion fails. + is specific. There is only one errornumber which may occur. The message given by this error + will contain the directory where the error occurred in "Creation of '$dir' failed". + operation fails. </para> </refsect1> <refsect1 id="package.networking.net-ftp.mkdir.note"> Index: peardoc/en/package/networking/net-ftp/net-ftp.xml diff -u peardoc/en/package/networking/net-ftp/net-ftp.xml:1.1 peardoc/en/package/networking/net-ftp/net-ftp.xml:1.2 --- peardoc/en/package/networking/net-ftp/net-ftp.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/net-ftp.xml Sun Aug 24 11:29:00 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.net-ftp"> <refnamediv> <refname>Net_FTP::Net_FTP()</refname> @@ -33,7 +33,7 @@ <listitem> <para> <parameter><optional>string $host = null</optional></parameter> - The host to connect to ( - either an IP adress or a domain name). + either an IP address or a domain name). </para> </listitem> <listitem> @@ -48,7 +48,7 @@ <refsect1 id="package.networking.net-ftp.net-ftp.return"> &title.returns; <para> - <parameter>object</parameter> - the new FTP object. + <parameter>object</parameter> - the new Net_FTP object. </para> </refsect1> <refsect1 id="package.networking.net-ftp.net-ftp.note"> Index: peardoc/en/package/networking/net-ftp/put.xml diff -u peardoc/en/package/networking/net-ftp/put.xml:1.1 peardoc/en/package/networking/net-ftp/put.xml:1.2 --- peardoc/en/package/networking/net-ftp/put.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/put.xml Sun Aug 24 11:29:00 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.put"> <refnamediv> <refname>Net_FTP::put()</refname> @@ -40,7 +40,7 @@ <para> <parameter>string $local_file</parameter> - The source file you'd like to upload. You can specify this with either an absolute path - or a path relative to the scipts directory. (Beware: The script directory is + or a path relative to the scripts directory. (Beware: The script directory is determined by the called script, if you use includes!) </para> </listitem> @@ -54,7 +54,7 @@ <listitem> <para> <parameter><optional>bool $overwrite = false</optional></parameter> - - Wether to overwrite the remote file, if it exists or not. if not set the file will not be + Whether to overwrite the remote file, if it exists or not. if not set the file will not be overwritten. </para> </listitem> @@ -79,7 +79,7 @@ <refsect1 id="package.networking.net-ftp.put.throws"> &title.throws; <para> - Several errors maybe returned by mdtm. The errornumber is unspecific (until now) and will not + Several errors may be returned by put. The errornumber is unspecific (until now) and will not tell you anything about the errormessage. Possible errors are: </para> @@ -92,7 +92,7 @@ <thead> <row> <entry>Error message</entry> - <entry>Describtion</entry> + <entry>Description</entry> <entry>Solution</entry> </row> </thead> @@ -130,7 +130,7 @@ The upload of the local file failed. </entry> <entry> - This may have several reasons: Maybe the local file does not exists or the remote + This may have several reasons: Maybe the local file does not exist or the remote directory you wanted to upload to does not exist or is not writeable. </entry> </row> Index: peardoc/en/package/networking/net-ftp/putrecursive.xml diff -u peardoc/en/package/networking/net-ftp/putrecursive.xml:1.1 peardoc/en/package/networking/net-ftp/putrecursive.xml:1.2 --- peardoc/en/package/networking/net-ftp/putrecursive.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/putrecursive.xml Sun Aug 24 11:29:00 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.putrecursive"> <refnamediv> <refname>Net_FTP::putRecursive()</refname> @@ -40,7 +40,7 @@ <para> <parameter>string $local_path</parameter> - The source directory you'd like to upload. You can specify this with either an absolute path - or a path relative to the scipts directory. (Beware: The script directory is + or a path relative to the scripts directory. (Beware: The script directory is determined by the called script, if you use includes!) </para> </listitem> @@ -53,7 +53,7 @@ <listitem> <para> <parameter><optional>bool $overwrite = false</optional></parameter> - - Wether to overwrite the remote directory, if it exists or not. if not set the directroy + Whether to overwrite the remote directory if it exists, or not. if not set the directory will not be overwritten. </para> </listitem> @@ -78,7 +78,7 @@ <refsect1 id="package.networking.net-ftp.putrecursive.throws"> &title.throws; <para> - Several errors maybe returned by mdtm. The errornumber is unspecific (until now) and will not + Several errors may be returned by putRecursive. The errornumber is unspecific (until now) and will not tell you anything about the errormessage. Possible errors are: </para> @@ -91,7 +91,7 @@ <thead> <row> <entry>Error message</entry> - <entry>Describtion</entry> + <entry>Description</entry> <entry>Solution</entry> </row> </thead> @@ -132,7 +132,7 @@ <refsect1 id="package.networking.net-ftp.putrecursive.example"> &title.example; <example> - <title>Using <function>putrecursive</function></title> + <title>Using <function>putRecursive</function></title> <programlisting role="php"> <![CDATA[ <?php Index: peardoc/en/package/networking/net-ftp/pwd.xml diff -u peardoc/en/package/networking/net-ftp/pwd.xml:1.1 peardoc/en/package/networking/net-ftp/pwd.xml:1.2 --- peardoc/en/package/networking/net-ftp/pwd.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/pwd.xml Sun Aug 24 11:29:00 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.pwd"> <refnamediv> <refname>Net_FTP::pwd()</refname> @@ -32,8 +32,8 @@ <para> The returned &class.pear-error; object in case of an error is unspecific. You can ignore the errornumber and errormessage, - because only "Could not determine the actual path" will be returend if the - opeartion fails. + because only "Could not determine the actual path" will be returned if the + operation fails. </para> </refsect1> <refsect1 id="package.networking.net-ftp.pwd.note"> Index: peardoc/en/package/networking/net-ftp/rm.xml diff -u peardoc/en/package/networking/net-ftp/rm.xml:1.1 peardoc/en/package/networking/net-ftp/rm.xml:1.2 --- peardoc/en/package/networking/net-ftp/rm.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/rm.xml Sun Aug 24 11:29:00 2003 @@ -1,4 +1,4 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.rm"> <refnamediv> <refname>Net_FTP::rm()</refname> @@ -40,7 +40,7 @@ <listitem> <para> <parameter><optional>$recursive = false</optional></parameter> - - This parameter determines, wether a directory is deleted only if it's empty (standard) or if + This parameter determines, whether a directory is deleted only if it's empty (standard) or if all included files and directories will be deleted with it ($recursive = true). </para> </listitem> @@ -56,7 +56,7 @@ <refsect1 id="package.networking.net-ftp.rm.throws"> &title.throws; <para> - Several errors maybe returned by mdtm. The errornumber is unspecific (until now) and will not + Several errors may be returned by rm. The errornumber is unspecific (until now) and will not tell you anything about the errormessage. Possible errors are: </para> @@ -67,7 +67,7 @@ <thead> <row> <entry>Error message</entry> - <entry>Describtion</entry> + <entry>Description</entry> <entry>Solution</entry> </row> </thead> @@ -82,7 +82,7 @@ </entry> <entry> Either the file does not exist or you do not have the permission to delete it. So - check if the file exists and you permissions on it. + check if the file exists and you have permissions on it. </entry> </row> <row> Index: peardoc/en/package/networking/net-ftp/size.xml diff -u peardoc/en/package/networking/net-ftp/size.xml:1.1 peardoc/en/package/networking/net-ftp/size.xml:1.2 --- peardoc/en/package/networking/net-ftp/size.xml:1.1 Sun Aug 24 06:07:04 2003 +++ peardoc/en/package/networking/net-ftp/size.xml Sun Aug 24 11:29:00 2003 @@ -1,8 +1,8 @@ -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.networking.net-ftp.size"> <refnamediv> <refname>Net_FTP::size()</refname> - <refpurpose>returns the size in byte of a file.</refpurpose> + <refpurpose>returns the size in bytes of a file.</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> @@ -20,7 +20,7 @@ <refsect1 id="package.networking.net-ftp.size.desc"> &title.desc; <para> - gives you the size of a file either in byte. + gives you the size of a file bytes. </para> </refsect1> <refsect1 id="package.networking.net-finger.size.parameter"> @@ -38,7 +38,7 @@ <refsect1 id="package.networking.net-ftp.size.return"> &title.returns; <para> - <parameter>mixed</parameter> - the size of the given on succes, otherwise PEAR::Error. + <parameter>mixed</parameter> - the size of the given file on success, otherwise PEAR::Error. </para> </refsect1> <refsect1 id="package.networking.net-ftp.size.throws"> @@ -46,7 +46,7 @@ <para> The returned &class.pear-error; object in case of an error is unspecific. You can ignore the errornumber and errormessage, - because only "Connection failed" will be returend if the + because only "Connection failed" will be returned if the connection fails. </para> </refsect1>
« previous php.pear.doc (#1388) next »