/[smecontribs]/rpms/smeserver-phpwebftp/contribs8/smeserver-phpwebftp-4.0-patchftpmode.patch
ViewVC logotype

Contents of /rpms/smeserver-phpwebftp/contribs8/smeserver-phpwebftp-4.0-patchftpmode.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Sun Nov 24 10:05:32 2013 UTC (11 years ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-phpwebftp-4_0-7_el5_sme, smeserver-phpwebftp-4_0-8_el5_sme, smeserver-phpwebftp-4_0-10_el5_sme, HEAD
Changes since 1.1: +2 -2 lines
Error occurred while calculating annotation data.
* Sun Nov 24 2013 JP Pialasse <tests@pialasse.com> 4.0-7.sme
- new patch for [SME: 7973]

1 --- smeserver-phpwebftp-4.0/root/home/httpd/html/webftp/include/ftp.class.php.ftppatch 2006-11-28 22:01:00.000000000 +0100
2 +++ smeserver-phpwebftp-4.0/root/home/httpd/html/webftp/include/ftp.class.php 2013-11-05 00:30:11.000000000 +0100
3 @@ -22,7 +22,7 @@
4 /** Type of FTP server (UNIX, Windows, ...) */
5 var $systype = "";
6 /** Binary (1) or ASCII (0) mode */
7 - var $mode = 1;
8 + var $mode = FTP_BINARY;
9 /** Logon indicator */
10 var $loggedOn = false;
11 /** resume broken downloads */
12 @@ -64,7 +64,9 @@
13 }
14
15 /** Set transfermode */
16 - function setMode($mode=0) {
17 + function setMode($mode=FTP_BINARY) {
18 + # if ($mode==0){$mode=FTP_ASCII;}
19 + # else if ($mode==1) {$mode=FTP_BINARY;}
20 $this->mode = $mode;
21 return;
22 }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed