appwrite/app/sdks/php/docs/examples/storage/get-file.md

15 lines
209 B
Markdown
Raw Normal View History

2020-01-30 20:58:49 +00:00
<?php
use Appwrite\Client;
use Appwrite\Services\Storage;
$client = new Client();
$client
->setProject('')
->setKey('')
;
$storage = new Storage($client);
$result = $storage->getFile('[FILE_ID]');