--- rpms/smeserver-phpwebftp/contribs8/smeserver-phpwebftp-4.0-patchftpmode.patch 2013/11/04 23:51:35 1.1 +++ rpms/smeserver-phpwebftp/contribs8/smeserver-phpwebftp-4.0-patchftpmode.patch 2013/11/24 10:05:32 1.2 @@ -15,8 +15,8 @@ /** Set transfermode */ - function setMode($mode=0) { + function setMode($mode=FTP_BINARY) { -+ if ($mode==0){$mode=FTP_ASCII;} -+ else if ($mode==1) {$mode=FTP_BINARY;} ++ # if ($mode==0){$mode=FTP_ASCII;} ++ # else if ($mode==1) {$mode=FTP_BINARY;} $this->mode = $mode; return; }