mazzanet Fri Jul 8 04:50:20 2005 EDT
Modified files:
/phpdoc/en/reference/ftp/functions ftp-fget.xml
Log:
Add description of resumepos parameter. Fix example.
http://cvs.php.net/diff.php/phpdoc/en/reference/ftp/functions/ftp-fget.xml?r1=1.11&r2=1.12&ty=u
Index: phpdoc/en/reference/ftp/functions/ftp-fget.xml
diff -u phpdoc/en/reference/ftp/functions/ftp-fget.xml:1.11
phpdoc/en/reference/ftp/functions/ftp-fget.xml:1.12
--- phpdoc/en/reference/ftp/functions/ftp-fget.xml:1.11 Fri Feb 4 19:11:21 2005
+++ phpdoc/en/reference/ftp/functions/ftp-fget.xml Fri Jul 8 04:50:18 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<refentry id="function.ftp-fget">
<refnamediv>
<refname>ftp_fget</refname>
@@ -60,7 +60,9 @@
<varlistentry>
<term><parameter>resumepos</parameter></term>
<listitem>
- <para></para>
+ <para>
+ The position in the remote file to start downloading from.
+ </para>
</listitem>
</varlistentry>
</variablelist>
@@ -92,7 +94,7 @@
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
// try to download $file
-if (ftp_fget($conn_id, $handle, $remote_file, FTP_ASCII, 1)) {
+if (ftp_fget($conn_id, $handle, $remote_file, FTP_ASCII, 0)) {
echo "successfully written to $file\n";
} else {
echo "There was a problem with $file\n";