public function testFailure() { $ftp = new Ftp("chc-deaf.org.ua"); $ftp->login("chc-deaf", "moskvich408"); $this->assertFalse($ftp->push_file("/file/maxim3.jpg", "../maxim3.jpg", "jpg2")); $this->assertFalse($ftp->push_file("/file/maxim3.jpg", "../maxim3.jpg", "doc")); }