appwrite/docs/examples/1.6.x/server-php/examples/storage/get-file.md
2024-07-03 17:25:40 +02:00

401 B

setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint ->setProject('<YOUR_PROJECT_ID>') // Your project ID ->setSession(''); // The user session to authenticate with $storage = new Storage($client); $result = $storage->getFile( bucketId: '', fileId: '' );