选择语言 :

 Core_Ftp::move

移动一个文件

bool Core_Ftp::move( string $old_file , string $new_file )

参数列表

参数 类型 描述 默认值
$old_file string
$new_file string
返回值
  • bool
File: ./core/classes/ftp.class.php
public function move($old_file, $new_file)
{
	return $this->rename($old_file, $new_file, true);
}