Get File for Appwrite Storage

    0

    8

    Khalid Khan

    Appwrite companion cookbook

    The code above fetches a file from the storage backend and saves it to the given bucket for appwrite. If the file does not exist it will be created.

    Shortcut: appwrite.getfile

    let promise = sdk.storage.getFile('[BUCKET_ID]', '[FILE_ID]');
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.