Ejemplo n.º 1
0
<?php

require __DIR__ . '/../vendor/autoload.php';
use ridesoft\AzureCloudMap\AzureIO;
$config = (require_once 'src/config/config.php');
$azure = new AzureIO($config);
$azure->copy('pdf', 'skateboard.pdf', '/home/maurizio/Desktop/CVEU_2015.pdf');
Ejemplo n.º 2
0
 /**
  * @depends testCopyandScanDirDownload
  */
 public function testUnlink()
 {
     $azure = new AzureIO($this->config);
     $this->assertTrue($azure->copy('test', 'dick.txt', 'tests/test.txt'));
     $this->assertTrue($azure->unlink('test', 'dick.txt'));
 }