public static function changeMode($path, $chmodValue)
 {
     $fake = new ftpAccessWrapper();
     $parts = $fake->parseUrl($path);
     $link = $fake->createFTPLink();
     $serverPath = AJXP_Utils::securePath($fake->path . "/" . $parts["path"]);
     ftp_chmod($link, $chmodValue, $serverPath);
 }
 public function dir_rewinddir()
 {
     self::$dirContentIndex = 0;
 }