rename() 공개 메소드

Does not work on Lighttpd.
public rename ( string $pathFrom, string $pathTo )
$pathFrom string Original file name
$pathTo string New file name
예제 #1
0
파일: ClientTest.php 프로젝트: honzap/php
 /**
  * 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'));
 }