cvs: pear /Net_FTP/Net FTP.php

From: Date: Sun, 14 Mar 2004 13:25:45 +0000
Subject: cvs: pear /Net_FTP/Net FTP.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-17391@lists.php.net to get a copy of this message
toby Sun Mar 14 08:25:45 2004 EDT Modified files: /pear/Net_FTP/Net FTP.php Log: * Fix bug #918: getRecursive() corrupts binary file. http://cvs.php.net/diff.php/pear/Net_FTP/Net/FTP.php?r1=1.11&r2=1.12&ty=u Index: pear/Net_FTP/Net/FTP.php diff -u pear/Net_FTP/Net/FTP.php:1.11 pear/Net_FTP/Net/FTP.php:1.12 --- pear/Net_FTP/Net/FTP.php:1.11 Sun Mar 14 08:23:36 2004 +++ pear/Net_FTP/Net/FTP.php Sun Mar 14 08:25:45 2004 @@ -14,7 +14,7 @@ // | Authors: Tobias Schlitt <toby@php.net> | // +----------------------------------------------------------------------+ // -// $Id: FTP.php,v 1.11 2004/03/14 13:23:36 toby Exp $ +// $Id: FTP.php,v 1.12 2004/03/14 13:25:45 toby Exp $ require_once 'PEAR.php'; @@ -776,7 +776,7 @@ } } $dir_list = array(); - $dir_list = $this->ls($remote_path, $mode = NET_FTP_DIRS_ONLY); + $dir_list = $this->ls($remote_path, NET_FTP_DIRS_ONLY); foreach ($dir_list as $dir_entry) { $remote_path_new = $remote_path.$dir_entry["name"]."/"; $local_path_new = $local_path.$dir_entry["name"]."/"; @@ -786,7 +786,7 @@ } } $file_list = array(); - $file_list = $this->ls($remote_path, $mode = NET_FTP_FILES_ONLY); + $file_list = $this->ls($remote_path, NET_FTP_FILES_ONLY); foreach ($file_list as $file_entry) { $remote_file = $remote_path.$file_entry["name"]; $local_file = $local_path.$file_entry["name"];

« previous php.pear.cvs (#17391) next »