Alexandr - 2013-08-28

I use 3.3a verison; if you have other verison line numbers can be different; This happens bcz FTP_BINARY not equal 1.

You need to change 3 line:

291 -- $newMode=($ftp->mode==1)?0:1;
    ++ $newMode=($ftp->mode == FTP_BINARY)? FTP_ASCII: FTP_BINARY;
922 -- <?=$lblTransferMode;?>:<br/><?=$ftp->mode==1?$lblBinaryMode:$lblASCIIMode;?>
    ++ <?=$lblTransferMode;?>:<br/><?=$ftp->mode == FTP_BINARY? $lblBinaryMode: $lblASCIIMode;?>

in index.php:

25 -- $mode = 0;
   ++ $mode = FTP_ASCII
67 -- function setMode($mode=1) {
   ++ function setMode($mode=FTP_BINARY) {

in inluce/ftp.class.php

 

Last edit: Alexandr 2013-08-28