Add update_image and download_image
This commit is contained in:
parent
0db8d0ebbe
commit
6e7c71db77
2 changed files with 35 additions and 10 deletions
server
|
@ -76,4 +76,17 @@ echo "</br>";
|
|||
//$file_name = "/home/yogg/Downloads/TinyCore-6.4.1.iso";
|
||||
//$image->upload_image($id_image, $file_name);
|
||||
|
||||
//$image->download_image($id_image);
|
||||
|
||||
/*
|
||||
$opt_update = Array();
|
||||
$opt_update['name'] = "TestUpdate";
|
||||
$opt_update['visibility'] = 'public';
|
||||
$opt_update['minDisk'] = 1;
|
||||
$opt_update['protected'] = false;
|
||||
$opt_update['minRam'] = 15;
|
||||
|
||||
$update = $image->update_image($id_image, $opt_update);
|
||||
echo $update->name;
|
||||
*/
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue