Parent Directory | Revision Log | Revision Graph | Patch
Revision 1.1 by unnilennium, Mon Nov 4 23:51:35 2013 UTC | Revision 1.2 by unnilennium, Sun Nov 24 10:05:32 2013 UTC | |
---|---|---|
# | Line 15 | Line 15 |
15 | /** Set transfermode */ | /** Set transfermode */ |
16 | - function setMode($mode=0) { | - function setMode($mode=0) { |
17 | + function setMode($mode=FTP_BINARY) { | + function setMode($mode=FTP_BINARY) { |
18 | + if ($mode==0){$mode=FTP_ASCII;} | + # if ($mode==0){$mode=FTP_ASCII;} |
19 | + else if ($mode==1) {$mode=FTP_BINARY;} | + # else if ($mode==1) {$mode=FTP_BINARY;} |
20 | $this->mode = $mode; | $this->mode = $mode; |
21 | return; | return; |
22 | } | } |
|
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |