if(!
$this->
_readmsg()) return FALSE;
if(!
$this->
_checkCode()) return FALSE;
return $ret;
} function mput($local=".",
$remote=NULL,
$continious=false
) { $local=
realpath($local);
if(!@
file_exists($local)) { $this->
PushError("mput","cannot open local folder", "Cannot stat folder \"".
$local."\""
);
return FALSE;
} if(!
is_dir($local)) return $this->
put($local,
$remote);
if(empty($remote)) $remote=".";
elseif(!
$this->
file_exists($remote) and !
$this->
mkdir($remote)) return FALSE;
if($handle =
opendir($local)) { $list=array
();
while (false
!== ($file =
readdir($handle))) { if ($file != "." &&
$file != ".."
) $list[]=
$file;
} closedir($handle);
} else { $this->
PushError("mput","cannot open local folder", "Cannot read folder \"".
$local."\""
);
return FALSE;
}