public function downloadFile($filePath, $targetPath)
	{
		$result = $this->s3Client->getObject(array(
			'Bucket' => $this->getBucket(),
			'Key'    => $filePath,
			'SaveAs' => $targetPath
		));

		return $result;
	}
public function downloadFile($filePath, $targetPath)
	{
		$result = $this->s3Client->getObject(array(
			'Bucket' => $this->getBucket(),
			'Key'    => $filePath,
			'SaveAs' => $targetPath
		));

		return $result;
	}
public function downloadFile ( $ filePath , $ targetPath ) { $ result = $ this -> s3Client -> getObject ( array ( 'Bucket' => $ this -> getBucket ( ) , 'Key' => $ filePath , 'SaveAs' => $ targetPath ) ) ; return $ result ; }
Downloads file from s3 and saves to local disk
@param  string $filePath   path to file on s3
@param  string $targetPath absolute path where to save file on local storage
@return bool
Downloads file from s3 and saves to local disk