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

Annotation of /rpms/smeserver-phpwebftp/contribs9/smeserver-phpwebftp-4.0-patchftpmode.patch

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


Revision 1.1 - (hide annotations) (download)
Wed Aug 3 05:48:10 2016 UTC (8 years, 3 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-phpwebftp-4_0-10_el6_sme, smeserver-phpwebftp-4_0-11_el6_sme, HEAD
Initial import

1 unnilennium 1.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