Code Duplication    Length = 5-5 lines in 2 locations

src/wp-admin/includes/class-ftp.php 2 locations

@@ 568-572 (lines=5) @@
565
			return FALSE;
566
		}
567
		if($this->_can_restore and $rest!=0) $this->restore($rest);
568
		if(!$this->_exec("RETR ".$remotefile, "get")) {
569
			$this->_data_close();
570
			fclose($fp);
571
			return FALSE;
572
		}
573
		if(!$this->_checkCode()) {
574
			$this->_data_close();
575
			fclose($fp);
@@ 631-635 (lines=5) @@
628
			return FALSE;
629
		}
630
		if($this->_can_restore and $rest!=0) $this->restore($rest);
631
		if(!$this->_exec("STOR ".$remotefile, "put")) {
632
			$this->_data_close();
633
			fclose($fp);
634
			return FALSE;
635
		}
636
		if(!$this->_checkCode()) {
637
			$this->_data_close();
638
			fclose($fp);