Files · {slug} · PiCloud
← back to {app?.name ?? slug}

Files

Browse and delete stored blobs by collection. Uploads happen from scripts via files::collection(c).create(…).

{ e.preventDefault(); void loadFiles(); }} >
{#if error}
{error}
{/if} {#if activeCollection} {#if files.length === 0 && !loading}

No files in collection {activeCollection}.

{:else} {#each files as f (f.id)} {/each}
Name Content type Size Created ID
{f.name} {f.content_type} {fmtSize(f.size)} {fmtTime(f.created_at)} {f.id}
{#if nextCursor} {/if} {/if} {/if}
{#if fileToRemove} (fileToRemove = null)} >

Delete {fileToRemove.name} ({fmtSize(fileToRemove.size)}) from collection {fileToRemove.collection}? This removes both the metadata row and the bytes on disk and cannot be undone.

{#if removing}

Deleting…

{/if}
{/if}