rename() public method

Does not work on Lighttpd.
public rename ( string $pathFrom, string $pathTo )
$pathFrom string Original file name
$pathTo string New file name
Beispiel #1
0
 /**
  * Tests file renaming.
  *
  * @depends testPut
  */
 public function testRename()
 {
     // Lighttpd does not support this method.
     // $this->assertTrue($this->client->rename($this->file, $this->dir . '/testrename.txt'));
     $this->assertFalse($this->client->rename($this->dir . '/dummy.txt', $this->dir . '/dummyrename.txt'));
 }