save()}>

By default PocketBase uses the local file system to store uploaded files.

If you have limited disk space, you could optionally connect to a S3 compatible storage.

{#if isLoading}
{:else} {#if originalFormSettings.s3?.enabled != formSettings.s3.enabled}
If you have existing uploaded files, you'll have to migrate them manually from the {originalFormSettings.s3?.enabled ? "S3 storage" : "local file system"} to the {formSettings.s3.enabled ? "S3 storage" : "local file system"}.
There are numerous command line tools that can help you, such as: rclone , s5cmd , etc.
{/if} {#if formSettings.s3.enabled}
{/if}
{#if formSettings.s3?.enabled && !hasChanges && !isSaving} {#if isTesting} {:else if testS3Error}
Failed to establish S3 connection
{:else}
S3 connected successfully
{/if} {/if} {#if hasChanges} {/if}
{/if}